Lines Matching defs:pidx
109 uint16_t pidx = os.pidx_tail;
112 MPASS(cidx != pidx);
119 while (cidx != pidx) {
121 /* Items from cidx to pidx are available for consumption. */
122 n = r->drain(r, cidx, pidx);
146 * We update the cidx only if we've caught up with the pidx, the
150 if (cidx != pidx && pending < 64 && total < budget)
175 * associated with any pidx change that we notice here.
177 pidx = ns.pidx_tail;
304 * that the items are visible to any thread that sees the updated pidx.
341 * with the pidx that we read here.