Searched refs:br_prod_head (Results 1 – 3 of 3) sorted by relevance
54 uint32_t br_prod_head; member87 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()
128 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()
52 br->br_prod_head = br->br_cons_head = 0; in buf_ring_alloc()