Lines Matching refs:pidx_head
41 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()
86 else if (abdicate && s.pidx_tail != s.pidx_head) in state_to_flags()
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()
425 pidx_stop = ns.pidx_head; in ifmp_ring_enqueue()
482 os.pidx_head != os.pidx_tail || // Require work to be available in ifmp_ring_check_drainage()
529 if (s.pidx_head == s.pidx_tail && s.pidx_tail == s.cidx && in ifmp_ring_is_idle()
542 if (s.pidx_head == s.pidx_tail && s.flags == STALLED) in ifmp_ring_is_stalled()