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
3694 static int mtip_submit_request(struct blk_mq_hw_ctx *hctx, struct request *rq) in mtip_submit_request() argument
3696 struct driver_data *dd = hctx->queue->queuedata; in mtip_submit_request()
3727 nents = blk_rq_map_sg(hctx->queue, rq, cmd->sg); in mtip_submit_request()
3730 mtip_hw_submit_io(dd, rq, cmd, nents, hctx); in mtip_submit_request()
3734 static bool mtip_check_unal_depth(struct blk_mq_hw_ctx *hctx, in mtip_check_unal_depth() argument
3737 struct driver_data *dd = hctx->queue->queuedata; in mtip_check_unal_depth()
3758 static int mtip_queue_rq(struct blk_mq_hw_ctx *hctx, in mtip_queue_rq() argument
3764 if (unlikely(mtip_check_unal_depth(hctx, rq))) in mtip_queue_rq()
3769 ret = mtip_submit_request(hctx, rq); in mtip_queue_rq()