Home
last modified time | relevance | path

Searched refs:req_batch (Results 1 – 1 of 1) sorted by relevance

/fs/
Daio.c111 unsigned req_batch; member
765 ctx->req_batch = (ctx->nr_events - 1) / (num_possible_cpus() * 4); in ioctx_alloc()
766 if (ctx->req_batch < 1) in ioctx_alloc()
767 ctx->req_batch = 1; in ioctx_alloc()
911 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()
912 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()
913 atomic_add(ctx->req_batch, &ctx->reqs_available); in put_reqs_available()
931 if (avail < ctx->req_batch) in __get_reqs_available()
936 avail, avail - ctx->req_batch); in __get_reqs_available()
939 kcpu->reqs_available += ctx->req_batch; in __get_reqs_available()