Lines Matching refs:pidx
107 uint16_t pidx = os.pidx_tail;
110 MPASS(cidx != pidx);
117 while (cidx != pidx) {
119 /* Items from cidx to pidx are available for consumption. */
120 n = r->drain(r, cidx, pidx);
139 * We update the cidx only if we've caught up with the pidx, the
143 if (cidx != pidx && pending < 64 && total < budget)
165 * associated with any pidx change that we notice here.
167 pidx = ns.pidx_tail;
182 uint16_t pidx = os.pidx_tail;
185 MPASS(cidx != pidx);
192 while (cidx != pidx) {
194 /* Items from cidx to pidx are available for consumption. */
195 n = r->drain(r, cidx, pidx);
218 * We update the cidx only if we've caught up with the pidx, the
222 if (cidx != pidx && pending < 64 && total < budget)
246 * associated with any pidx change that we notice here.
248 pidx = ns.pidx_tail;
375 * that the items are visible to any thread that sees the updated pidx.
449 * that the items are visible to any thread that sees the updated pidx.
492 * with the pidx that we read here.