Lines Matching defs:this_hctx
2760 struct blk_mq_hw_ctx *this_hctx = NULL;
2771 if (!this_hctx) {
2772 this_hctx = rq->mq_hctx;
2775 } else if (this_hctx != rq->mq_hctx || this_ctx != rq->mq_ctx ||
2785 trace_block_unplug(this_hctx->queue, depth, !from_sched);
2787 percpu_ref_get(&this_hctx->queue->q_usage_counter);
2790 spin_lock(&this_hctx->lock);
2791 list_splice_tail_init(&list, &this_hctx->dispatch);
2792 spin_unlock(&this_hctx->lock);
2793 blk_mq_run_hw_queue(this_hctx, from_sched);
2794 } else if (this_hctx->queue->elevator) {
2795 this_hctx->queue->elevator->type->ops.insert_requests(this_hctx,
2797 blk_mq_run_hw_queue(this_hctx, from_sched);
2799 blk_mq_insert_requests(this_hctx, this_ctx, &list, from_sched);
2801 percpu_ref_put(&this_hctx->queue->q_usage_counter);