Home
last modified time | relevance | path

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

/Linux-v6.6/fs/
Daio.c87 unsigned reqs_available; member
144 atomic_t reqs_available; member
792 atomic_set(&ctx->reqs_available, ctx->nr_events - 1); in ioctx_alloc()
937 kcpu->reqs_available += nr; in put_reqs_available()
939 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()
940 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()
941 atomic_add(ctx->req_batch, &ctx->reqs_available); in put_reqs_available()
955 if (!kcpu->reqs_available) { in __get_reqs_available()
956 int avail = atomic_read(&ctx->reqs_available); in __get_reqs_available()
961 } while (!atomic_try_cmpxchg(&ctx->reqs_available, in __get_reqs_available()
[all …]