Lines Matching refs:pidx_head
43 uint16_t pidx_head;
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)
345 ns.pidx_head = increment_idx(r, os.pidx_head, n);
347 pidx_start = os.pidx_head;
348 pidx_stop = ns.pidx_head;
419 ns.pidx_head = increment_idx(r, os.pidx_head, n);
426 pidx_start = os.pidx_head;
427 pidx_stop = ns.pidx_head;
484 os.pidx_head != os.pidx_tail || // Require work to be available
531 if (s.pidx_head == s.pidx_tail && s.pidx_tail == s.cidx &&
544 if (s.pidx_head == s.pidx_tail && s.flags == STALLED)