Home
last modified time | relevance | path

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

/freebsd/sys/net/
H A Dmp_ring.c40 uint16_t pidx_head; member
61 if (s.cidx == s.pidx_head) in space_available()
63 else if (s.cidx > s.pidx_head) in space_available()
64 return (s.cidx - s.pidx_head - 1); in space_available()
66 return (x - s.pidx_head + s.cidx); in space_available()
85 else if (abdicate && s.pidx_tail != s.pidx_head) in state_to_flags()
342 ns.pidx_head = increment_idx(r, os.pidx_head, n); in ifmp_ring_enqueue()
344 pidx_start = os.pidx_head; in ifmp_ring_enqueue()
345 pidx_stop = ns.pidx_head; in ifmp_ring_enqueue()
416 ns.pidx_head = increment_idx(r, os.pidx_head, n); in ifmp_ring_enqueue()
[all …]
/freebsd/sys/dev/cxgbe/
H A Dt4_mp_ring.c64 uint16_t pidx_head; member
93 if (s.cidx == s.pidx_head) in space_available()
95 else if (s.cidx > s.pidx_head) in space_available()
96 return (s.cidx - s.pidx_head - 1); in space_available()
98 return (x - s.pidx_head + s.cidx); in space_available()
201 if (ns.pidx_head != ns.pidx_tail) in drain_ring()
384 ns.pidx_head = increment_idx(r, os.pidx_head, n); in mp_ring_enqueue()
387 if (os.pidx_head == os.pidx_tail) { in mp_ring_enqueue()
404 pidx_start = os.pidx_head; in mp_ring_enqueue()
405 pidx_stop = ns.pidx_head; in mp_ring_enqueue()
[all …]