Home
last modified time | relevance | path

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

/linux-6.12.1/fs/
Daio.c87 unsigned reqs_available; member
144 atomic_t reqs_available; member
796 atomic_set(&ctx->reqs_available, ctx->nr_events - 1); in ioctx_alloc()
941 kcpu->reqs_available += nr; in put_reqs_available()
943 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()
944 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()
945 atomic_add(ctx->req_batch, &ctx->reqs_available); in put_reqs_available()
959 if (!kcpu->reqs_available) { in __get_reqs_available()
960 int avail = atomic_read(&ctx->reqs_available); in __get_reqs_available()
965 } while (!atomic_try_cmpxchg(&ctx->reqs_available, in __get_reqs_available()
[all …]