Lines Matching refs:hctx
197 struct blk_mq_hw_ctx *hctx = dd->queue->queue_hw_ctx[0]; in mtip_rq_from_tag() local
199 return blk_mq_tag_to_rq(hctx->tags, tag); in mtip_rq_from_tag()
2380 struct blk_mq_hw_ctx *hctx) in mtip_hw_submit_io() argument
3700 static int mtip_submit_request(struct blk_mq_hw_ctx *hctx, struct request *rq) in mtip_submit_request() argument
3702 struct driver_data *dd = hctx->queue->queuedata; in mtip_submit_request()
3733 nents = blk_rq_map_sg(hctx->queue, rq, cmd->sg); in mtip_submit_request()
3736 mtip_hw_submit_io(dd, rq, cmd, nents, hctx); in mtip_submit_request()
3740 static bool mtip_check_unal_depth(struct blk_mq_hw_ctx *hctx, in mtip_check_unal_depth() argument
3743 struct driver_data *dd = hctx->queue->queuedata; in mtip_check_unal_depth()
3764 static int mtip_queue_rq(struct blk_mq_hw_ctx *hctx, struct request *rq, in mtip_queue_rq() argument
3769 if (unlikely(mtip_check_unal_depth(hctx, rq))) in mtip_queue_rq()
3774 ret = mtip_submit_request(hctx, rq); in mtip_queue_rq()