Home
last modified time | relevance | path

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

/Linux-v4.19/fs/
Daio.c889 struct kioctx_cpu *kcpu; in put_reqs_available() local
893 kcpu = this_cpu_ptr(ctx->cpu); in put_reqs_available()
894 kcpu->reqs_available += nr; in put_reqs_available()
896 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()
897 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()
906 struct kioctx_cpu *kcpu; in get_reqs_available() local
911 kcpu = this_cpu_ptr(ctx->cpu); in get_reqs_available()
912 if (!kcpu->reqs_available) { in get_reqs_available()
924 kcpu->reqs_available += ctx->req_batch; in get_reqs_available()
928 kcpu->reqs_available--; in get_reqs_available()