Home
last modified time | relevance | path

Searched refs:eq (Results 1 – 5 of 5) sorted by relevance

/block/
Delevator.c134 struct elevator_queue *eq; in elevator_alloc() local
136 eq = kzalloc_node(sizeof(*eq), GFP_KERNEL, q->node); in elevator_alloc()
137 if (unlikely(!eq)) in elevator_alloc()
141 eq->type = e; in elevator_alloc()
142 kobject_init(&eq->kobj, &elv_ktype); in elevator_alloc()
143 mutex_init(&eq->sysfs_lock); in elevator_alloc()
144 hash_init(eq->hash); in elevator_alloc()
146 return eq; in elevator_alloc()
766 struct elevator_queue *eq = q->elevator; in elv_iosched_show() local
777 cur = eq->type; in elv_iosched_show()
Dblk-mq-sched.c447 struct elevator_queue *eq; in blk_mq_init_sched() local
483 eq = q->elevator; in blk_mq_init_sched()
485 blk_mq_exit_sched(q, eq); in blk_mq_init_sched()
486 kobject_put(&eq->kobj); in blk_mq_init_sched()
Dkyber-iosched.c408 struct elevator_queue *eq; in kyber_init_sched() local
410 eq = elevator_alloc(q, e); in kyber_init_sched()
411 if (!eq) in kyber_init_sched()
416 kobject_put(&eq->kobj); in kyber_init_sched()
424 eq->elevator_data = kqd; in kyber_init_sched()
425 q->elevator = eq; in kyber_init_sched()
Dmq-deadline.c708 struct elevator_queue *eq; in dd_init_sched() local
712 eq = elevator_alloc(q, e); in dd_init_sched()
713 if (!eq) in dd_init_sched()
720 eq->elevator_data = dd; in dd_init_sched()
744 q->elevator = eq; in dd_init_sched()
748 kobject_put(&eq->kobj); in dd_init_sched()
Dbfq-iosched.c7195 struct elevator_queue *eq; in bfq_init_queue() local
7199 eq = elevator_alloc(q, e); in bfq_init_queue()
7200 if (!eq) in bfq_init_queue()
7205 kobject_put(&eq->kobj); in bfq_init_queue()
7208 eq->elevator_data = bfqd; in bfq_init_queue()
7211 q->elevator = eq; in bfq_init_queue()
7358 set_bit(ELEVATOR_FLAG_DISABLE_WBT, &eq->flags); in bfq_init_queue()
7366 kobject_put(&eq->kobj); in bfq_init_queue()