Lines Matching refs:req_batch
110 unsigned req_batch;
735 * expected: additionally, we move req_batch slots to/from percpu
781 ctx->req_batch = (ctx->nr_events - 1) / (num_possible_cpus() * 4);
782 if (ctx->req_batch < 1)
783 ctx->req_batch = 1;
927 while (kcpu->reqs_available >= ctx->req_batch * 2) {
928 kcpu->reqs_available -= ctx->req_batch;
929 atomic_add(ctx->req_batch, &ctx->reqs_available);
947 if (avail < ctx->req_batch)
952 avail, avail - ctx->req_batch);
955 kcpu->reqs_available += ctx->req_batch;