Home
last modified time | relevance | path

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

/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dbuf_ring.h48 volatile uint32_t br_prod_tail; member
76 buf, i, br->br_prod_tail, br->br_cons_tail); in buf_ring_enqueue()
106 while (br->br_prod_tail != prod_head) in buf_ring_enqueue()
108 atomic_store_rel_int(&br->br_prod_tail, prod_next); in buf_ring_enqueue()
128 if (cons_head == br->br_prod_tail) { in buf_ring_dequeue_mc()
197 prod_tail = atomic_load_acq_32(&br->br_prod_tail); in buf_ring_dequeue_sc()
241 prod_tail = br->br_prod_tail; in buf_ring_advance_sc()
272 KASSERT_FREEBSD(br->br_cons_head != br->br_prod_tail, in buf_ring_putback_sc()
296 if (br->br_cons_head == br->br_prod_tail) in buf_ring_peek()
317 if (br->br_cons_head == br->br_prod_tail) in buf_ring_peek_clear_sc()
[all …]
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_subr_bufring.c57 br->br_prod_tail = br->br_cons_tail = 0; in buf_ring_alloc()