Searched refs:kcpu (Results 1 – 1 of 1) sorted by relevance
915 struct kioctx_cpu *kcpu; in put_reqs_available() local919 kcpu = this_cpu_ptr(ctx->cpu); in put_reqs_available()920 kcpu->reqs_available += nr; in put_reqs_available()922 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()923 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()932 struct kioctx_cpu *kcpu; in __get_reqs_available() local937 kcpu = this_cpu_ptr(ctx->cpu); in __get_reqs_available()938 if (!kcpu->reqs_available) { in __get_reqs_available()950 kcpu->reqs_available += ctx->req_batch; in __get_reqs_available()954 kcpu->reqs_available--; in __get_reqs_available()