Lines Matching refs:req_batch
109 unsigned req_batch;
754 * expected: additionally, we move req_batch slots to/from percpu
800 ctx->req_batch = (ctx->nr_events - 1) / (num_possible_cpus() * 4);
801 if (ctx->req_batch < 1)
802 ctx->req_batch = 1;
946 while (kcpu->reqs_available >= ctx->req_batch * 2) {
947 kcpu->reqs_available -= ctx->req_batch;
948 atomic_add(ctx->req_batch, &ctx->reqs_available);
966 if (avail < ctx->req_batch)
969 &avail, avail - ctx->req_batch));
971 kcpu->reqs_available += ctx->req_batch;