Home
last modified time | relevance | path

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

/Linux-v4.19/fs/
Daio.c103 unsigned req_batch; member
750 ctx->req_batch = (ctx->nr_events - 1) / (num_possible_cpus() * 4); in ioctx_alloc()
751 if (ctx->req_batch < 1) in ioctx_alloc()
752 ctx->req_batch = 1; in ioctx_alloc()
896 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()
897 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()
898 atomic_add(ctx->req_batch, &ctx->reqs_available); in put_reqs_available()
916 if (avail < ctx->req_batch) in get_reqs_available()
921 avail, avail - ctx->req_batch); in get_reqs_available()
924 kcpu->reqs_available += ctx->req_batch; in get_reqs_available()