Lines Matching refs:type
65 if (e->type->ops.allow_merge) in elv_iosched_allow_bio_merge()
66 return e->type->ops.allow_merge(q, rq, bio); in elv_iosched_allow_bio_merge()
173 eq->type = e; in elevator_alloc()
187 elevator_put(e->type); in elevator_release()
194 if (e->type->ops.exit_sched) in __elevator_exit()
343 if (e->type->ops.request_merge) in elv_merge()
344 return e->type->ops.request_merge(q, req, bio); in elv_merge()
391 enum elv_merge type) in elv_merged_request() argument
395 if (e->type->ops.request_merged) in elv_merged_request()
396 e->type->ops.request_merged(q, rq, type); in elv_merged_request()
398 if (type == ELEVATOR_BACK_MERGE) in elv_merged_request()
409 if (e->type->ops.requests_merged) in elv_merge_requests()
410 e->type->ops.requests_merged(q, rq, next); in elv_merge_requests()
420 if (e->type->ops.next_request) in elv_latter_request()
421 return e->type->ops.next_request(q, rq); in elv_latter_request()
430 if (e->type->ops.former_request) in elv_former_request()
431 return e->type->ops.former_request(q, rq); in elv_former_request()
450 error = e->type ? entry->show(e, page) : -ENOENT; in elv_attr_show()
468 error = e->type ? entry->store(e, page, length) : -ENOENT; in elv_attr_store()
495 struct elv_fs_entry *attr = e->type->elevator_attrs; in elv_register_queue()
754 elevator_match(q->elevator->type, elevator_name, 0)) { in __elevator_change()
790 elv = e->type; in elv_iosched_show()