Home
last modified time | relevance | path

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

/fs/
Daio.c904 struct kioctx_cpu *kcpu; in put_reqs_available() local
908 kcpu = this_cpu_ptr(ctx->cpu); in put_reqs_available()
909 kcpu->reqs_available += nr; in put_reqs_available()
911 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()
912 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()
921 struct kioctx_cpu *kcpu; in __get_reqs_available() local
926 kcpu = this_cpu_ptr(ctx->cpu); in __get_reqs_available()
927 if (!kcpu->reqs_available) { in __get_reqs_available()
939 kcpu->reqs_available += ctx->req_batch; in __get_reqs_available()
943 kcpu->reqs_available--; in __get_reqs_available()