Searched refs:hctxs (Results 1 – 2 of 2) sorted by relevance
27 struct blk_mq_hw_ctx *hctxs[HCTX_MAX_TYPES]; member112 return ctx->hctxs[blk_mq_get_hctx_type(opf)]; in blk_mq_map_queue()
2405 struct blk_mq_hw_ctx *hctx = ctx->hctxs[HCTX_TYPE_DEFAULT]; in blk_mq_get_sq_hctx()4216 ctx->hctxs[j] = blk_mq_map_queue_type(q, in blk_mq_map_swqueue()4234 ctx->hctxs[j] = hctx; in blk_mq_map_swqueue()4256 ctx->hctxs[j] = blk_mq_map_queue_type(q, in blk_mq_map_swqueue()4573 struct blk_mq_hw_ctx **hctxs = q->queue_hw_ctx; in __blk_mq_realloc_hw_ctxs() local4583 if (hctxs) in __blk_mq_realloc_hw_ctxs()4584 memcpy(new_hctxs, hctxs, q->nr_hw_queues * in __blk_mq_realloc_hw_ctxs()4585 sizeof(*hctxs)); in __blk_mq_realloc_hw_ctxs()4591 kfree_rcu_mightsleep(hctxs); in __blk_mq_realloc_hw_ctxs()4592 hctxs = new_hctxs; in __blk_mq_realloc_hw_ctxs()[all …]