Searched refs:nr_ctx (Results 1 – 5 of 5) sorted by relevance
398 unsigned short nr_ctx; member1034 for ((i) = 0; (i) < (hctx)->nr_ctx && \
1319 if ((rq->mq_hctx->nr_ctx == 1 && in blk_mq_complete_request_remote()3724 if (!hctx->nr_ctx || blk_mq_hctx_has_online_cpu(hctx, cpu)) in blk_mq_hctx_notify_offline()4057 hctx->nr_ctx = 0; in blk_mq_alloc_hctx()4171 hctx->nr_ctx = 0; in blk_mq_map_swqueue()4214 ctx->index_hw[hctx->type] = hctx->nr_ctx; in blk_mq_map_swqueue()4215 hctx->ctxs[hctx->nr_ctx++] = ctx; in blk_mq_map_swqueue()4221 BUG_ON(!hctx->nr_ctx); in blk_mq_map_swqueue()4236 if (!hctx->nr_ctx) { in blk_mq_map_swqueue()4256 sbitmap_resize(&hctx->ctx_map, hctx->nr_ctx); in blk_mq_map_swqueue()
259 return hctx->nr_ctx && hctx->tags; in blk_mq_hw_queue_mapped()
199 if (++idx == hctx->nr_ctx) in blk_mq_next_ctx()
666 int err, nr_ctx = 0; in get_security_context() local678 nr_ctx = 1; in get_security_context()693 header->nr_secctx = nr_ctx; in get_security_context()696 if (nr_ctx) { in get_security_context()710 if (nr_ctx) in get_security_context()