Lines Matching refs:pidx
101 uint16_t pidx = os.pidx_tail;
104 MPASS(cidx != pidx);
111 while (cidx != pidx) {
112 /* Items from cidx to pidx are available for consumption. */
113 n = r->drain(r, cidx, pidx);
132 * We update the cidx only if we've caught up with the pidx, the
136 if (cidx != pidx && pending < 64 && total < budget)
158 * associated with any pidx change that we notice here.
160 pidx = ns.pidx_tail;
175 uint16_t pidx = os.pidx_tail;
178 MPASS(cidx != pidx);
185 while (cidx != pidx) {
186 /* Items from cidx to pidx are available for consumption. */
187 n = r->drain(r, cidx, pidx);
211 * We update the cidx only if we've caught up with the pidx, the
215 if (cidx != pidx && pending < 64 && total < budget)
241 * associated with any pidx change that we notice here.
243 pidx = ns.pidx_tail;
370 * 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.
504 * with the pidx that we read here.