Searched refs:prod_head (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/sys/sys/
H A Dbuf_ring.h65 uint32_t prod_head, prod_next, cons_tail; local
82 prod_head = br->br_prod_head;
83 prod_next = (prod_head + 1) & br->br_prod_mask;
88 if (prod_head == br->br_prod_head &&
96 } while (!atomic_cmpset_acq_int(&br->br_prod_head, prod_head, prod_next));
98 if (br->br_ring[prod_head] != NULL)
101 br->br_ring[prod_head] = buf;
108 while (br->br_prod_tail != prod_head)
185 * br->br_ring[prod_head] = buf;
/freebsd-12-stable/tools/tools/netmap/
H A Dnmreplay.c555 uint64_t prod_head; /* cached copy */ member in struct:_qs
769 q->prod_head = q->prod_tail = 0;

Completed in 65 milliseconds