Home
last modified time | relevance | path

Searched refs:br_prod_head (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/sys/
H A Dbuf_ring.h43 volatile uint32_t br_prod_head; member
74 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()
/f-stack/freebsd/kern/
H A Dsubr_bufring.c55 br->br_prod_head = br->br_cons_head = 0; in buf_ring_alloc()