Searched refs:kcpu (Results 1 – 1 of 1) sorted by relevance
921 struct kioctx_cpu *kcpu; in put_reqs_available() local925 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() local943 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()