Lines Matching refs:mq_hctx

357 	rq->mq_hctx = hctx;
567 if (blk_mq_get_hctx_type(opf) != rq->mq_hctx->type)
711 struct blk_mq_hw_ctx *hctx = rq->mq_hctx;
716 rq->mq_hctx = NULL;
1112 if (nr_tags == TAG_COMP_BATCH || cur_hctx != rq->mq_hctx) {
1116 cur_hctx = rq->mq_hctx;
1207 if ((rq->mq_hctx->nr_ctx == 1 &&
1265 rq->mq_hctx->tags->rqs[rq->tag] = rq;
1272 WRITE_ONCE(rq->bio->bi_cookie, rq->mq_hctx->queue_num);
1329 struct blk_mq_hw_ctx *hctx = rq->mq_hctx;
1362 if (!rq->mq_hctx)
1364 if (rq->mq_hctx->type != HCTX_TYPE_POLL)
1373 blk_hctx_poll(rq->q, rq->mq_hctx, NULL, 0);
1390 struct blk_mq_hw_ctx *hctx = rq->mq_hctx;
1752 struct sbitmap_queue *bt = &rq->mq_hctx->tags->bitmap_tags;
1753 unsigned int tag_offset = rq->mq_hctx->tags->nr_reserved_tags;
1756 blk_mq_tag_busy(rq->mq_hctx);
1758 if (blk_mq_tag_is_reserved(rq->mq_hctx->sched_tags, rq->internal_tag)) {
1759 bt = &rq->mq_hctx->tags->breserved_tags;
1762 if (!hctx_may_queue(rq->mq_hctx, bt))
1771 blk_mq_inc_active_requests(rq->mq_hctx);
1829 if (blk_mq_tag_is_reserved(rq->mq_hctx->sched_tags, rq->internal_tag))
1931 struct blk_mq_hw_ctx *hctx = rq->mq_hctx;
2021 WARN_ON_ONCE(hctx != rq->mq_hctx);
2434 struct blk_mq_hw_ctx *hctx = rq->mq_hctx;
2485 struct blk_mq_hw_ctx *hctx = rq->mq_hctx;
2653 struct blk_mq_hw_ctx *hctx = rq->mq_hctx;
2675 if (hctx != rq->mq_hctx) {
2680 hctx = rq->mq_hctx;
2726 this_hctx = rq->mq_hctx;
2729 } else if (this_hctx != rq->mq_hctx || this_ctx != rq->mq_ctx ||
2891 if (type != rq->mq_hctx->type &&
2892 (type != HCTX_TYPE_READ || rq->mq_hctx->type != HCTX_TYPE_DEFAULT))
3017 hctx = rq->mq_hctx;
3472 if (rq->mq_hctx != iter_data->hctx)
4873 ret = blk_hctx_poll(q, rq->mq_hctx, iob, poll_flags);