Lines Matching refs:ctx_map
44 for (i = 0; i < hctx->ctx_map.size; i++) in blk_mq_hctx_has_pending()
45 if (hctx->ctx_map.map[i].word) in blk_mq_hctx_has_pending()
54 return &hctx->ctx_map.map[ctx->index_hw / hctx->ctx_map.bits_per_word]; in get_bm()
58 ((ctx)->index_hw & ((hctx)->ctx_map.bits_per_word - 1))
736 for (i = 0; i < hctx->ctx_map.size; i++) { in flush_busy_ctxs()
737 struct blk_align_bitmap *bm = &hctx->ctx_map.map[i]; in flush_busy_ctxs()
744 off = i * hctx->ctx_map.bits_per_word; in flush_busy_ctxs()
1622 blk_mq_free_bitmap(&hctx->ctx_map); in blk_mq_exit_hctx()
1682 if (blk_mq_alloc_bitmap(&hctx->ctx_map, node)) in blk_mq_init_hctx()
1709 blk_mq_free_bitmap(&hctx->ctx_map); in blk_mq_init_hctx()
1800 struct blk_mq_ctxmap *map = &hctx->ctx_map; in blk_mq_map_swqueue()