Home
last modified time | relevance | path

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

/freebsd-14.2/sys/net/
H A Dmp_ring.c41 uint16_t pidx_head; member
62 if (s.cidx == s.pidx_head) in space_available()
64 else if (s.cidx > s.pidx_head) in space_available()
65 return (s.cidx - s.pidx_head - 1); in space_available()
67 return (x - s.pidx_head + s.cidx); in space_available()
343 ns.pidx_head = increment_idx(r, os.pidx_head, n); in ifmp_ring_enqueue()
345 pidx_start = os.pidx_head; in ifmp_ring_enqueue()
346 pidx_stop = ns.pidx_head; in ifmp_ring_enqueue()
417 ns.pidx_head = increment_idx(r, os.pidx_head, n); in ifmp_ring_enqueue()
424 pidx_start = os.pidx_head; in ifmp_ring_enqueue()
[all …]
/freebsd-14.2/sys/dev/cxgbe/
H A Dt4_mp_ring.c65 uint16_t pidx_head; member
94 if (s.cidx == s.pidx_head) in space_available()
96 else if (s.cidx > s.pidx_head) in space_available()
97 return (s.cidx - s.pidx_head - 1); in space_available()
99 return (x - s.pidx_head + s.cidx); in space_available()
202 if (ns.pidx_head != ns.pidx_tail) in drain_ring()
385 ns.pidx_head = increment_idx(r, os.pidx_head, n); in mp_ring_enqueue()
388 if (os.pidx_head == os.pidx_tail) { in mp_ring_enqueue()
405 pidx_start = os.pidx_head; in mp_ring_enqueue()
406 pidx_stop = ns.pidx_head; in mp_ring_enqueue()
[all …]