Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dbuf_ring.h54 uint32_t br_prod_head; member
87 i != atomic_load_32(&br->br_prod_head); i++) in buf_ring_enqueue()
105 prod_head = atomic_load_acq_32(&br->br_prod_head); in buf_ring_enqueue()
110 if (prod_head == atomic_load_32(&br->br_prod_head) && in buf_ring_enqueue()
118 } while (!atomic_cmpset_32(&br->br_prod_head, prod_head, prod_next)); in buf_ring_enqueue()
337 return (atomic_load_32(&br->br_prod_head) == in buf_ring_full()
379 br->br_prod_head = br->br_cons_head = 0; in buf_ring_alloc()
/freebsd/tests/sys/sys/
H A Dbuf_ring_test.c128 br->br_prod_head = br->br_cons_head = br->br_prod_tail = in ATF_TC_BODY()
149 ATF_REQUIRE(br->br_prod_head == 1); in ATF_TC_BODY()
/freebsd/sys/kern/
H A Dsubr_bufring.c52 br->br_prod_head = br->br_cons_head = 0; in buf_ring_alloc()