Lines Matching refs:pidx_head
67 uint16_t pidx_head;
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;
408 pidx_stop = ns.pidx_head;
527 if (s.pidx_head == s.pidx_tail && s.pidx_tail == s.cidx &&