Lines Matching refs:ctx_map
45 for (i = 0; i < hctx->ctx_map.size; i++) in blk_mq_hctx_has_pending()
46 if (hctx->ctx_map.map[i].word) in blk_mq_hctx_has_pending()
55 return &hctx->ctx_map.map[ctx->index_hw / hctx->ctx_map.bits_per_word]; in get_bm()
59 ((ctx)->index_hw & ((hctx)->ctx_map.bits_per_word - 1))
693 for (i = 0; i < hctx->ctx_map.size; i++) { in flush_busy_ctxs()
694 struct blk_align_bitmap *bm = &hctx->ctx_map.map[i]; in flush_busy_ctxs()
701 off = i * hctx->ctx_map.bits_per_word; in flush_busy_ctxs()
1650 blk_mq_free_bitmap(&hctx->ctx_map); in blk_mq_exit_hctx()
1710 if (blk_mq_alloc_bitmap(&hctx->ctx_map, node)) in blk_mq_init_hctx()
1737 blk_mq_free_bitmap(&hctx->ctx_map); in blk_mq_init_hctx()
1836 struct blk_mq_ctxmap *map = &hctx->ctx_map; in blk_mq_map_swqueue()