Searched refs:eq (Results 1 – 5 of 5) sorted by relevance
167 struct elevator_queue *eq; in elevator_alloc() local169 eq = kzalloc_node(sizeof(*eq), GFP_KERNEL, q->node); in elevator_alloc()170 if (unlikely(!eq)) in elevator_alloc()173 eq->type = e; in elevator_alloc()174 kobject_init(&eq->kobj, &elv_ktype); in elevator_alloc()175 mutex_init(&eq->sysfs_lock); in elevator_alloc()176 hash_init(eq->hash); in elevator_alloc()178 return eq; in elevator_alloc()
572 struct elevator_queue *eq; in blk_mq_init_sched() local606 eq = q->elevator; in blk_mq_init_sched()608 blk_mq_exit_sched(q, eq); in blk_mq_init_sched()609 kobject_put(&eq->kobj); in blk_mq_init_sched()
419 struct elevator_queue *eq; in kyber_init_sched() local421 eq = elevator_alloc(q, e); in kyber_init_sched()422 if (!eq) in kyber_init_sched()427 kobject_put(&eq->kobj); in kyber_init_sched()433 eq->elevator_data = kqd; in kyber_init_sched()434 q->elevator = eq; in kyber_init_sched()
591 struct elevator_queue *eq; in dd_init_sched() local601 eq = elevator_alloc(q, e); in dd_init_sched()602 if (!eq) in dd_init_sched()609 eq->elevator_data = dd; in dd_init_sched()642 q->elevator = eq; in dd_init_sched()652 kobject_put(&eq->kobj); in dd_init_sched()
6450 struct elevator_queue *eq; in bfq_init_queue() local6452 eq = elevator_alloc(q, e); in bfq_init_queue()6453 if (!eq) in bfq_init_queue()6458 kobject_put(&eq->kobj); in bfq_init_queue()6461 eq->elevator_data = bfqd; in bfq_init_queue()6464 q->elevator = eq; in bfq_init_queue()6575 kobject_put(&eq->kobj); in bfq_init_queue()