Lines Matching refs:elevator
390 struct elevator_queue *e = data->q->elevator; in blk_mq_rq_ctx_init()
453 if (q->elevator) { in __blk_mq_alloc_requests()
466 struct elevator_mq_ops *ops = &q->elevator->type->ops; in __blk_mq_alloc_requests()
661 if (q->elevator) in blk_mq_alloc_request_hctx()
695 q->elevator->type->ops.finish_request(rq); in blk_mq_finish_request()
2515 } else if (q->elevator) { in blk_mq_insert_request()
2521 q->elevator->type->ops.insert_requests(hctx, &list, flags); in blk_mq_insert_request()
2744 } else if (this_hctx->queue->elevator) { in blk_mq_dispatch_plug_list()
2745 this_hctx->queue->elevator->type->ops.insert_requests(this_hctx, in blk_mq_dispatch_plug_list()
4689 if (q->elevator && q->elevator->type->ops.depth_updated) in blk_mq_update_nr_requests()
4690 q->elevator->type->ops.depth_updated(hctx); in blk_mq_update_nr_requests()
4695 if (q->elevator) in blk_mq_update_nr_requests()
4735 if (!q->elevator) { in blk_mq_elv_switch_none()
4742 qe->type = q->elevator->type; in blk_mq_elv_switch_none()