Searched refs:nr_ctx (Results 1 – 4 of 4) sorted by relevance
43 unsigned int nr_ctx; member253 for ((i) = 0; (i) < (hctx)->nr_ctx && \
123 return hctx->nr_ctx && hctx->tags; in blk_mq_hw_queue_mapped()
346 if (!hctx->nr_ctx || !(hctx->flags & BLK_MQ_F_SYSFS_UP)) in blk_mq_unregister_hctx()361 if (!hctx->nr_ctx || !(hctx->flags & BLK_MQ_F_SYSFS_UP)) in blk_mq_register_hctx()
1685 hctx->nr_ctx = 0; in blk_mq_init_hctx()1782 hctx->nr_ctx = 0; in blk_mq_map_swqueue()1795 ctx->index_hw = hctx->nr_ctx; in blk_mq_map_swqueue()1796 hctx->ctxs[hctx->nr_ctx++] = ctx; in blk_mq_map_swqueue()1806 if (!hctx->nr_ctx) { in blk_mq_map_swqueue()1826 map->size = DIV_ROUND_UP(hctx->nr_ctx, map->bits_per_word); in blk_mq_map_swqueue()