Lines Matching defs:cfqd
103 struct cfq_data *cfqd; member
627 #define cfq_log_cfqq(cfqd, cfqq, fmt, args...) do { \ argument
637 #define cfq_log_cfqg(cfqd, cfqg, fmt, args...) do { \ argument
760 #define cfq_log_cfqq(cfqd, cfqq, fmt, args...) \ argument
765 #define cfq_log_cfqg(cfqd, cfqg, fmt, args...) do {} while (0) argument
780 #define cfq_log(cfqd, fmt, args...) \ argument
793 static inline bool cfq_io_thinktime_big(struct cfq_data *cfqd, in cfq_io_thinktime_big()
806 static inline bool iops_mode(struct cfq_data *cfqd) in iops_mode()
841 struct cfq_data *cfqd, in cfq_group_busy_queues_wl()
852 static inline int cfqg_busy_async_queues(struct cfq_data *cfqd, in cfqg_busy_async_queues()
870 static inline struct cfq_io_cq *cfq_cic_lookup(struct cfq_data *cfqd, in cfq_cic_lookup()
907 static inline void cfq_schedule_dispatch(struct cfq_data *cfqd) in cfq_schedule_dispatch()
920 static inline int cfq_prio_slice(struct cfq_data *cfqd, bool sync, in cfq_prio_slice()
931 cfq_prio_to_slice(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_prio_to_slice()
994 static inline unsigned cfq_group_get_avg_queues(struct cfq_data *cfqd, in cfq_group_get_avg_queues()
1010 cfq_group_slice(struct cfq_data *cfqd, struct cfq_group *cfqg) in cfq_group_slice()
1016 cfq_scaled_cfqq_slice(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_scaled_cfqq_slice()
1046 cfq_set_prio_slice(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_set_prio_slice()
1077 cfq_choose_req(struct cfq_data *cfqd, struct request *rq1, struct request *rq2, sector_t last) in cfq_choose_req()
1208 cfq_find_next_rq(struct cfq_data *cfqd, struct cfq_queue *cfqq, in cfq_find_next_rq()
1231 static unsigned long cfq_slice_offset(struct cfq_data *cfqd, in cfq_slice_offset()
1350 cfq_group_notify_queue_add(struct cfq_data *cfqd, struct cfq_group *cfqg) in cfq_group_notify_queue_add()
1408 cfq_group_notify_queue_del(struct cfq_data *cfqd, struct cfq_group *cfqg) in cfq_group_notify_queue_del()
1457 static void cfq_group_served(struct cfq_data *cfqd, struct cfq_group *cfqg, in cfq_group_served()
1607 static struct cfq_group *cfq_lookup_create_cfqg(struct cfq_data *cfqd, in cfq_lookup_create_cfqg()
2004 static struct cfq_group *cfq_lookup_create_cfqg(struct cfq_data *cfqd, in cfq_lookup_create_cfqg()
2022 static void cfq_service_tree_add(struct cfq_data *cfqd, struct cfq_queue *cfqq, in cfq_service_tree_add()
2101 cfq_prio_tree_lookup(struct cfq_data *cfqd, struct rb_root *root, in cfq_prio_tree_lookup()
2136 static void cfq_prio_tree_add(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_prio_tree_add()
2164 static void cfq_resort_rr_list(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_resort_rr_list()
2179 static void cfq_add_cfqq_rr(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_add_cfqq_rr()
2195 static void cfq_del_cfqq_rr(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_del_cfqq_rr()
2246 struct cfq_data *cfqd = cfqq->cfqd; in cfq_add_rq_rb() local
2282 cfq_find_rq_fmerge(struct cfq_data *cfqd, struct bio *bio) in cfq_find_rq_fmerge()
2301 struct cfq_data *cfqd = q->elevator->elevator_data; in cfq_activate_request() local
2312 struct cfq_data *cfqd = q->elevator->elevator_data; in cfq_deactivate_request() local
2341 struct cfq_data *cfqd = q->elevator->elevator_data; in cfq_merge() local
2374 struct cfq_data *cfqd = q->elevator->elevator_data; in cfq_merged_requests() local
2405 struct cfq_data *cfqd = q->elevator->elevator_data; in cfq_allow_merge() local
2427 static inline void cfq_del_timer(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_del_timer()
2433 static void __cfq_set_active_queue(struct cfq_data *cfqd, in __cfq_set_active_queue()
2463 __cfq_slice_expired(struct cfq_data *cfqd, struct cfq_queue *cfqq, in __cfq_slice_expired()
2510 static inline void cfq_slice_expired(struct cfq_data *cfqd, bool timed_out) in cfq_slice_expired()
2522 static struct cfq_queue *cfq_get_next_queue(struct cfq_data *cfqd) in cfq_get_next_queue()
2538 static struct cfq_queue *cfq_get_next_queue_forced(struct cfq_data *cfqd) in cfq_get_next_queue_forced()
2561 static struct cfq_queue *cfq_set_active_queue(struct cfq_data *cfqd, in cfq_set_active_queue()
2571 static inline sector_t cfq_dist_from_last(struct cfq_data *cfqd, in cfq_dist_from_last()
2580 static inline int cfq_rq_close(struct cfq_data *cfqd, struct cfq_queue *cfqq, in cfq_rq_close()
2586 static struct cfq_queue *cfqq_close(struct cfq_data *cfqd, in cfqq_close()
2637 static struct cfq_queue *cfq_close_cooperator(struct cfq_data *cfqd, in cfq_close_cooperator()
2689 static bool cfq_should_idle(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_should_idle()
2720 static void cfq_arm_slice_timer(struct cfq_data *cfqd) in cfq_arm_slice_timer()
2795 struct cfq_data *cfqd = q->elevator->elevator_data; in cfq_dispatch_insert() local
2835 cfq_prio_to_maxrq(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_prio_to_maxrq()
2899 static enum wl_type_t cfq_choose_wl_type(struct cfq_data *cfqd, in cfq_choose_wl_type()
2923 choose_wl_class_and_type(struct cfq_data *cfqd, struct cfq_group *cfqg) in choose_wl_class_and_type()
3005 static struct cfq_group *cfq_get_next_cfqg(struct cfq_data *cfqd) in cfq_get_next_cfqg()
3017 static void cfq_choose_cfqg(struct cfq_data *cfqd) in cfq_choose_cfqg()
3038 static struct cfq_queue *cfq_select_queue(struct cfq_data *cfqd) in cfq_select_queue()
3169 static int cfq_forced_dispatch(struct cfq_data *cfqd) in cfq_forced_dispatch()
3187 static inline bool cfq_slice_used_soon(struct cfq_data *cfqd, in cfq_slice_used_soon()
3200 static bool cfq_may_dispatch(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_may_dispatch()
3289 static bool cfq_dispatch_request(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_dispatch_request()
3326 struct cfq_data *cfqd = q->elevator->elevator_data; in cfq_dispatch_requests() local
3372 struct cfq_data *cfqd = cfqq->cfqd; in cfq_put_queue() local
3417 static void cfq_exit_cfqq(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_exit_cfqq()
3439 struct cfq_data *cfqd = cic_to_cfqd(cic); in cfq_exit_icq() local
3497 struct cfq_data *cfqd = cic_to_cfqd(cic); in check_ioprio_changed() local
3525 static void cfq_init_cfqq(struct cfq_data *cfqd, struct cfq_queue *cfqq, in cfq_init_cfqq()
3548 struct cfq_data *cfqd = cic_to_cfqd(cic); in check_blkcg_changed() local
3581 cfq_find_alloc_queue(struct cfq_data *cfqd, bool is_sync, struct cfq_io_cq *cic, in cfq_find_alloc_queue()
3643 cfq_async_queue_prio(struct cfq_data *cfqd, int ioprio_class, int ioprio) in cfq_async_queue_prio()
3661 cfq_get_queue(struct cfq_data *cfqd, bool is_sync, struct cfq_io_cq *cic, in cfq_get_queue()
3706 cfq_update_io_thinktime(struct cfq_data *cfqd, struct cfq_queue *cfqq, in cfq_update_io_thinktime()
3720 cfq_update_io_seektime(struct cfq_data *cfqd, struct cfq_queue *cfqq, in cfq_update_io_seektime()
3744 cfq_update_idle_window(struct cfq_data *cfqd, struct cfq_queue *cfqq, in cfq_update_idle_window()
3787 cfq_should_preempt(struct cfq_data *cfqd, struct cfq_queue *new_cfqq, in cfq_should_preempt()
3862 static void cfq_preempt_queue(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_preempt_queue()
3893 cfq_rq_enqueued(struct cfq_data *cfqd, struct cfq_queue *cfqq, in cfq_rq_enqueued()
3944 struct cfq_data *cfqd = q->elevator->elevator_data; in cfq_insert_request() local
3962 static void cfq_update_hw_tag(struct cfq_data *cfqd) in cfq_update_hw_tag()
3995 static bool cfq_should_wait_busy(struct cfq_data *cfqd, struct cfq_queue *cfqq) in cfq_should_wait_busy()
4035 struct cfq_data *cfqd = cfqq->cfqd; in cfq_completed_request() local
4132 struct cfq_data *cfqd = q->elevator->elevator_data; in cfq_may_queue() local
4180 cfq_merge_cfqqs(struct cfq_data *cfqd, struct cfq_io_cq *cic, in cfq_merge_cfqqs()
4218 struct cfq_data *cfqd = q->elevator->elevator_data; in cfq_set_request() local
4268 struct cfq_data *cfqd = in cfq_kick_queue() local
4282 struct cfq_data *cfqd = (struct cfq_data *) data; in cfq_idle_slice_timer() local
4333 static void cfq_shutdown_timer_wq(struct cfq_data *cfqd) in cfq_shutdown_timer_wq()
4339 static void cfq_put_async_queues(struct cfq_data *cfqd) in cfq_put_async_queues()
4356 struct cfq_data *cfqd = e->elevator_data; in cfq_exit_queue() local
4382 struct cfq_data *cfqd; in cfq_init_queue() local