Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
Daio.c109 unsigned req_batch; member
800 ctx->req_batch = (ctx->nr_events - 1) / (num_possible_cpus() * 4); in ioctx_alloc()
801 if (ctx->req_batch < 1) in ioctx_alloc()
802 ctx->req_batch = 1; in ioctx_alloc()
946 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()
947 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()
948 atomic_add(ctx->req_batch, &ctx->reqs_available); in put_reqs_available()
966 if (avail < ctx->req_batch) in __get_reqs_available()
969 &avail, avail - ctx->req_batch)); in __get_reqs_available()
971 kcpu->reqs_available += ctx->req_batch; in __get_reqs_available()