Searched refs:nr_ctx (Results 1 – 7 of 7) sorted by relevance
175 if (!hctx->nr_ctx) in blk_mq_unregister_hctx()190 if (!hctx->nr_ctx) in blk_mq_register_hctx()
475 khd->kcqs = kmalloc_array_node(hctx->nr_ctx, in kyber_init_hctx()481 for (i = 0; i < hctx->nr_ctx; i++) in kyber_init_hctx()485 if (sbitmap_init_node(&khd->kcq_map[i], hctx->nr_ctx, in kyber_init_hctx()
186 return hctx->nr_ctx && hctx->tags; in blk_mq_hw_queue_mapped()
1177 if (rq->mq_hctx->nr_ctx == 1 || in blk_mq_complete_request_remote()3667 hctx->nr_ctx = 0; in blk_mq_alloc_hctx()3787 hctx->nr_ctx = 0; in blk_mq_map_swqueue()3830 ctx->index_hw[hctx->type] = hctx->nr_ctx; in blk_mq_map_swqueue()3831 hctx->ctxs[hctx->nr_ctx++] = ctx; in blk_mq_map_swqueue()3837 BUG_ON(!hctx->nr_ctx); in blk_mq_map_swqueue()3850 if (!hctx->nr_ctx) { in blk_mq_map_swqueue()3870 sbitmap_resize(&hctx->ctx_map, hctx->nr_ctx); in blk_mq_map_swqueue()
204 if (++idx == hctx->nr_ctx) in blk_mq_next_ctx()
373 unsigned short nr_ctx; member945 for ((i) = 0; (i) < (hctx)->nr_ctx && \
475 int err, nr_ctx = 0; in get_security_context() local490 nr_ctx = 1; in get_security_context()503 header->nr_secctx = nr_ctx; in get_security_context()506 if (nr_ctx) { in get_security_context()