Lines Matching refs:bfq_data
419 struct bfq_data *bic_to_bfqd(struct bfq_io_cq *bic) in bic_to_bfqd()
440 static struct bfq_io_cq *bfq_bic_lookup(struct bfq_data *bfqd, in bfq_bic_lookup()
462 void bfq_schedule_dispatch(struct bfq_data *bfqd) in bfq_schedule_dispatch()
479 static struct request *bfq_choose_req(struct bfq_data *bfqd, in bfq_choose_req()
577 struct bfq_data *bfqd = data->q->elevator->elevator_data; in bfq_limit_depth()
591 bfq_rq_pos_tree_lookup(struct bfq_data *bfqd, struct rb_root *root, in bfq_rq_pos_tree_lookup()
647 bfq_pos_tree_add_move(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_pos_tree_add_move()
717 static bool bfq_asymmetric_scenario(struct bfq_data *bfqd, in bfq_asymmetric_scenario()
762 void bfq_weights_tree_add(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_weights_tree_add()
836 void __bfq_weights_tree_remove(struct bfq_data *bfqd, in __bfq_weights_tree_remove()
859 void bfq_weights_tree_remove(struct bfq_data *bfqd, in bfq_weights_tree_remove()
930 static struct request *bfq_find_next_rq(struct bfq_data *bfqd, in bfq_find_next_rq()
979 static void bfq_updated_next_req(struct bfq_data *bfqd, in bfq_updated_next_req()
1008 static unsigned int bfq_wr_duration(struct bfq_data *bfqd) in bfq_wr_duration()
1043 struct bfq_data *bfqd) in switch_back_to_interactive_wr()
1051 bfq_bfqq_resume_state(struct bfq_queue *bfqq, struct bfq_data *bfqd, in bfq_bfqq_resume_state()
1121 static void bfq_reset_burst_list(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_reset_burst_list()
1144 static void bfq_add_to_burst(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_add_to_burst()
1296 static void bfq_handle_burst(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_handle_burst()
1374 static int bfq_max_budget(struct bfq_data *bfqd) in bfq_max_budget()
1386 static int bfq_min_budget(struct bfq_data *bfqd) in bfq_min_budget()
1498 static bool bfq_bfqq_update_budg_for_activation(struct bfq_data *bfqd, in bfq_bfqq_update_budg_for_activation()
1567 static void bfq_update_bfqq_wr_on_rq_arrival(struct bfq_data *bfqd, in bfq_update_bfqq_wr_on_rq_arrival()
1664 static bool bfq_bfqq_idle_for_long_time(struct bfq_data *bfqd, in bfq_bfqq_idle_for_long_time()
1705 static void bfq_bfqq_handle_idle_busy_switch(struct bfq_data *bfqd, in bfq_bfqq_handle_idle_busy_switch()
1871 static void bfq_reset_inject_limit(struct bfq_data *bfqd, in bfq_reset_inject_limit()
2019 static void bfq_check_waker(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_check_waker()
2077 struct bfq_data *bfqd = bfqq->bfqd; in bfq_add_request()
2225 static struct request *bfq_find_rq_fmerge(struct bfq_data *bfqd, in bfq_find_rq_fmerge()
2249 struct bfq_data *bfqd = q->elevator->elevator_data;
2256 struct bfq_data *bfqd = q->elevator->elevator_data;
2266 struct bfq_data *bfqd = bfqq->bfqd; in bfq_remove_request()
2326 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_bio_merge()
2358 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_request_merge()
2384 struct bfq_data *bfqd; in bfq_request_merged()
2505 void bfq_end_wr_async_queues(struct bfq_data *bfqd, in bfq_end_wr_async_queues()
2518 static void bfq_end_wr(struct bfq_data *bfqd) in bfq_end_wr()
2548 static struct bfq_queue *bfqq_find_close(struct bfq_data *bfqd, in bfqq_find_close()
2590 static struct bfq_queue *bfq_find_close_cooperator(struct bfq_data *bfqd, in bfq_find_close_cooperator()
2698 static bool idling_boosts_thr_without_issues(struct bfq_data *bfqd,
2722 bfq_setup_cooperator(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_setup_cooperator()
2926 void bfq_release_process_ref(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_release_process_ref()
2949 bfq_merge_bfqqs(struct bfq_data *bfqd, struct bfq_io_cq *bic, in bfq_merge_bfqqs()
3050 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_allow_bio_merge()
3107 static void bfq_set_budget_timeout(struct bfq_data *bfqd, in bfq_set_budget_timeout()
3123 static void __bfq_set_in_service_queue(struct bfq_data *bfqd, in __bfq_set_in_service_queue()
3180 static struct bfq_queue *bfq_set_in_service_queue(struct bfq_data *bfqd) in bfq_set_in_service_queue()
3188 static void bfq_arm_slice_timer(struct bfq_data *bfqd) in bfq_arm_slice_timer()
3232 static unsigned long bfq_calc_max_budget(struct bfq_data *bfqd) in bfq_calc_max_budget()
3243 static void update_thr_responsiveness_params(struct bfq_data *bfqd) in update_thr_responsiveness_params()
3252 static void bfq_reset_rate_computation(struct bfq_data *bfqd, in bfq_reset_rate_computation()
3270 static void bfq_update_rate_reset(struct bfq_data *bfqd, struct request *rq) in bfq_update_rate_reset()
3411 static void bfq_update_peak_rate(struct bfq_data *bfqd, struct request *rq) in bfq_update_peak_rate()
3696 static bool idling_needed_for_service_guarantees(struct bfq_data *bfqd, in idling_needed_for_service_guarantees()
3714 static bool __bfq_bfqq_expire(struct bfq_data *bfqd, struct bfq_queue *bfqq, in __bfq_bfqq_expire()
3782 static void __bfq_bfqq_recalc_budget(struct bfq_data *bfqd, in __bfq_bfqq_recalc_budget()
3974 static bool bfq_bfqq_is_slow(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_bfqq_is_slow()
4124 static unsigned long bfq_bfqq_softrt_next_start(struct bfq_data *bfqd, in bfq_bfqq_softrt_next_start()
4160 void bfq_bfqq_expire(struct bfq_data *bfqd, in bfq_bfqq_expire()
4312 static bool idling_boosts_thr_without_issues(struct bfq_data *bfqd, in idling_boosts_thr_without_issues()
4414 struct bfq_data *bfqd = bfqq->bfqd; in bfq_better_to_idle()
4476 bfq_choose_bfqq_for_injection(struct bfq_data *bfqd) in bfq_choose_bfqq_for_injection()
4568 static struct bfq_queue *bfq_select_queue(struct bfq_data *bfqd) in bfq_select_queue()
4792 static void bfq_update_wr_data(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_update_wr_data()
4860 static struct request *bfq_dispatch_rq_from_bfqq(struct bfq_data *bfqd, in bfq_dispatch_rq_from_bfqq()
4909 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_has_work()
4921 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in __bfq_dispatch_request()
5061 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_dispatch_request()
5195 static void bfq_exit_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_exit_bfqq()
5212 struct bfq_data *bfqd; in bfq_exit_icq_bfqq()
5233 struct bfq_data *bfqd = bic->stable_merge_bfqq->bfqd; in bfq_exit_icq()
5263 struct bfq_data *bfqd = bfqq->bfqd; in bfq_set_next_ioprio_data()
5308 static struct bfq_queue *bfq_get_queue(struct bfq_data *bfqd,
5315 struct bfq_data *bfqd = bic_to_bfqd(bic); in bfq_check_ioprio_change()
5340 static void bfq_init_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_init_bfqq()
5406 static struct bfq_queue **bfq_async_queue_prio(struct bfq_data *bfqd, in bfq_async_queue_prio()
5426 bfq_do_early_stable_merge(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_do_early_stable_merge()
5498 static struct bfq_queue *bfq_do_or_sched_stable_merge(struct bfq_data *bfqd, in bfq_do_or_sched_stable_merge()
5571 static struct bfq_queue *bfq_get_queue(struct bfq_data *bfqd, in bfq_get_queue()
5640 static void bfq_update_io_thinktime(struct bfq_data *bfqd, in bfq_update_io_thinktime()
5663 bfq_update_io_seektime(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_update_io_seektime()
5693 static void bfq_update_has_short_ttime(struct bfq_data *bfqd, in bfq_update_has_short_ttime()
5825 static void bfq_rq_enqueued(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_rq_enqueued()
5882 static bool __bfq_insert_request(struct bfq_data *bfqd, struct request *rq) in __bfq_insert_request()
5971 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_insert_request()
6081 static void bfq_update_hw_tag(struct bfq_data *bfqd) in bfq_update_hw_tag()
6122 static void bfq_completed_request(struct bfq_queue *bfqq, struct bfq_data *bfqd) in bfq_completed_request()
6363 static void bfq_update_inject_limit(struct bfq_data *bfqd, in bfq_update_inject_limit()
6429 struct bfq_data *bfqd; in bfq_finish_requeue_request()
6505 static struct bfq_queue *bfq_get_bfqq_handle_split(struct bfq_data *bfqd, in bfq_get_bfqq_handle_split()
6611 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_init_rq()
6731 bfq_idle_slice_timer_body(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_idle_slice_timer_body()
6783 struct bfq_data *bfqd = container_of(timer, struct bfq_data, in bfq_idle_slice_timer()
6801 static void __bfq_put_async_bfqq(struct bfq_data *bfqd, in __bfq_put_async_bfqq()
6823 void bfq_put_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg) in bfq_put_async_queues()
6838 static unsigned int bfq_update_depths(struct bfq_data *bfqd, in bfq_update_depths()
6883 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_depth_updated()
6899 struct bfq_data *bfqd = e->elevator_data; in bfq_exit_queue()
6927 struct bfq_data *bfqd) in bfq_init_root_group()
6944 struct bfq_data *bfqd; in bfq_init_queue()
7104 struct bfq_data *bfqd = e->elevator_data; \
7126 struct bfq_data *bfqd = e->elevator_data; \
7138 struct bfq_data *bfqd = e->elevator_data; \
7170 struct bfq_data *bfqd = e->elevator_data; \
7191 struct bfq_data *bfqd = e->elevator_data; in bfq_max_budget_store()
7219 struct bfq_data *bfqd = e->elevator_data; in bfq_timeout_sync_store()
7242 struct bfq_data *bfqd = e->elevator_data; in bfq_strict_guarantees_store()
7264 struct bfq_data *bfqd = e->elevator_data; in bfq_low_latency_store()