Searched refs:kcpu (Results 1 – 1 of 1) sorted by relevance
916 struct kioctx_cpu *kcpu; in put_reqs_available() local920 kcpu = this_cpu_ptr(ctx->cpu); in put_reqs_available()921 kcpu->reqs_available += nr; in put_reqs_available()923 while (kcpu->reqs_available >= ctx->req_batch * 2) { in put_reqs_available()924 kcpu->reqs_available -= ctx->req_batch; in put_reqs_available()933 struct kioctx_cpu *kcpu; in __get_reqs_available() local938 kcpu = this_cpu_ptr(ctx->cpu); in __get_reqs_available()939 if (!kcpu->reqs_available) { in __get_reqs_available()951 kcpu->reqs_available += ctx->req_batch; in __get_reqs_available()955 kcpu->reqs_available--; in __get_reqs_available()