Lines Matching refs:e
21 int blk_mq_init_sched(struct request_queue *q, struct elevator_type *e);
22 void blk_mq_exit_sched(struct request_queue *q, struct elevator_queue *e);
41 struct elevator_queue *e = q->elevator; in blk_mq_sched_allow_merge() local
43 if (e->type->ops.allow_merge) in blk_mq_sched_allow_merge()
44 return e->type->ops.allow_merge(q, rq, bio); in blk_mq_sched_allow_merge()
52 struct elevator_queue *e = rq->q->elevator; in blk_mq_sched_completed_request() local
54 if (e->type->ops.completed_request) in blk_mq_sched_completed_request()
55 e->type->ops.completed_request(rq, now); in blk_mq_sched_completed_request()
63 struct elevator_queue *e = q->elevator; in blk_mq_sched_requeue_request() local
65 if (e->type->ops.requeue_request) in blk_mq_sched_requeue_request()
66 e->type->ops.requeue_request(rq); in blk_mq_sched_requeue_request()
72 struct elevator_queue *e = hctx->queue->elevator; in blk_mq_sched_has_work() local
74 if (e && e->type->ops.has_work) in blk_mq_sched_has_work()
75 return e->type->ops.has_work(hctx); in blk_mq_sched_has_work()