Lines Matching defs:pidx_head
64 uint16_t pidx_head;
93 if (s.cidx == s.pidx_head)
95 else if (s.cidx > s.pidx_head)
96 return (s.cidx - s.pidx_head - 1);
98 return (x - s.pidx_head + s.cidx);
201 if (ns.pidx_head != ns.pidx_tail)
383 ns.pidx_head = increment_idx(r, os.pidx_head, n);
386 if (os.pidx_head == os.pidx_tail) {
403 pidx_start = os.pidx_head;
404 pidx_stop = ns.pidx_head;
510 ns.pidx_head = increment_idx(r, os.pidx_head, n);
518 pidx_start = os.pidx_head;
519 pidx_stop = ns.pidx_head;
603 if (s.pidx_head == s.pidx_tail && s.pidx_tail == s.cidx &&