Searched refs:br_prod_head (Results 1 – 2 of 2) sorted by relevance
43 volatile uint32_t br_prod_head; member74 for (i = br->br_cons_head; i != br->br_prod_head; in buf_ring_enqueue()82 prod_head = br->br_prod_head; in buf_ring_enqueue()88 if (prod_head == br->br_prod_head && in buf_ring_enqueue()96 } while (!atomic_cmpset_acq_int(&br->br_prod_head, prod_head, prod_next)); in buf_ring_enqueue()348 return (((br->br_prod_head + 1) & br->br_prod_mask) == br->br_cons_tail); in buf_ring_full()
55 br->br_prod_head = br->br_cons_head = 0; in buf_ring_alloc()