Home
last modified time | relevance | path

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

/fs/
Daio.c921 struct kioctx_cpu *kcpu; in put_reqs_available() local
925 kcpu = this_cpu_ptr(ctx->cpu); in put_reqs_available()
926 kcpu->reqs_available += nr; in put_reqs_available()
928 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()
929 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()
938 struct kioctx_cpu *kcpu; in __get_reqs_available() local
943 kcpu = this_cpu_ptr(ctx->cpu); in __get_reqs_available()
944 if (!kcpu->reqs_available) { in __get_reqs_available()
956 kcpu->reqs_available += ctx->req_batch; in __get_reqs_available()
960 kcpu->reqs_available--; in __get_reqs_available()