Lines Matching refs:hctx
508 void blk_mq_stop_hw_queue(struct blk_mq_hw_ctx *hctx);
509 void blk_mq_start_hw_queue(struct blk_mq_hw_ctx *hctx);
512 void blk_mq_start_stopped_hw_queue(struct blk_mq_hw_ctx *hctx, bool async);
516 void blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, unsigned long msecs);
517 void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async);
574 #define queue_for_each_hw_ctx(q, hctx, i) \ argument
576 ({ hctx = (q)->queue_hw_ctx[i]; 1; }); (i)++)
578 #define hctx_for_each_ctx(hctx, ctx, i) \ argument
579 for ((i) = 0; (i) < (hctx)->nr_ctx && \
580 ({ ctx = (hctx)->ctxs[(i)]; 1; }); (i)++)
582 static inline blk_qc_t request_to_qc_t(struct blk_mq_hw_ctx *hctx, in request_to_qc_t() argument
586 return rq->tag | (hctx->queue_num << BLK_QC_T_SHIFT); in request_to_qc_t()
588 return rq->internal_tag | (hctx->queue_num << BLK_QC_T_SHIFT) | in request_to_qc_t()