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

/freebsd-12-stable/sys/net/
H A Dmp_ring.c43 uint16_t pidx_head; member in struct:ring_state::__anon15903
64 if (s.cidx == s.pidx_head)
66 else if (s.cidx > s.pidx_head)
67 return (s.cidx - s.pidx_head - 1);
69 return (x - s.pidx_head + s.cidx);
88 else if (abdicate && s.pidx_tail != s.pidx_head)
347 ns.pidx_head = increment_idx(r, os.pidx_head, n);
349 pidx_start = os.pidx_head;
350 pidx_stop = ns.pidx_head;
[all...]
/freebsd-12-stable/sys/dev/cxgbe/
H A Dt4_mp_ring.c67 uint16_t pidx_head; member in struct:ring_state::__anon12755
96 if (s.cidx == s.pidx_head)
98 else if (s.cidx > s.pidx_head)
99 return (s.cidx - s.pidx_head - 1);
101 return (x - s.pidx_head + s.cidx);
204 if (ns.pidx_head != ns.pidx_tail)
387 ns.pidx_head = increment_idx(r, os.pidx_head, n);
390 if (os.pidx_head == os.pidx_tail) {
407 pidx_start = os.pidx_head;
[all...]

Completed in 97 milliseconds