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
782 ctx->req_batch = (ctx->nr_events - 1) / (num_possible_cpus() * 4); in ioctx_alloc()
783 if (ctx->req_batch < 1) in ioctx_alloc()
784 ctx->req_batch = 1; in ioctx_alloc()
928 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()
929 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()
930 atomic_add(ctx->req_batch, &ctx->reqs_available); in put_reqs_available()
948 if (avail < ctx->req_batch) in __get_reqs_available()
953 avail, avail - ctx->req_batch); in __get_reqs_available()
956 kcpu->reqs_available += ctx->req_batch; in __get_reqs_available()