Lines Matching refs:bfq_data
378 struct bfq_data *bic_to_bfqd(struct bfq_io_cq *bic) in bic_to_bfqd()
399 static struct bfq_io_cq *bfq_bic_lookup(struct bfq_data *bfqd, in bfq_bic_lookup()
421 void bfq_schedule_dispatch(struct bfq_data *bfqd) in bfq_schedule_dispatch()
439 static struct request *bfq_choose_req(struct bfq_data *bfqd, in bfq_choose_req()
537 struct bfq_data *bfqd = data->q->elevator->elevator_data; in bfq_limit_depth()
551 bfq_rq_pos_tree_lookup(struct bfq_data *bfqd, struct rb_root *root, in bfq_rq_pos_tree_lookup()
607 bfq_pos_tree_add_move(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_pos_tree_add_move()
673 static bool bfq_asymmetric_scenario(struct bfq_data *bfqd, in bfq_asymmetric_scenario()
718 void bfq_weights_tree_add(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_weights_tree_add()
792 void __bfq_weights_tree_remove(struct bfq_data *bfqd, in __bfq_weights_tree_remove()
815 void bfq_weights_tree_remove(struct bfq_data *bfqd, in bfq_weights_tree_remove()
886 static struct request *bfq_find_next_rq(struct bfq_data *bfqd, in bfq_find_next_rq()
935 static void bfq_updated_next_req(struct bfq_data *bfqd, in bfq_updated_next_req()
964 static unsigned int bfq_wr_duration(struct bfq_data *bfqd) in bfq_wr_duration()
999 struct bfq_data *bfqd) in switch_back_to_interactive_wr()
1007 bfq_bfqq_resume_state(struct bfq_queue *bfqq, struct bfq_data *bfqd, in bfq_bfqq_resume_state()
1064 static void bfq_reset_burst_list(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_reset_burst_list()
1087 static void bfq_add_to_burst(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_add_to_burst()
1239 static void bfq_handle_burst(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_handle_burst()
1317 static int bfq_max_budget(struct bfq_data *bfqd) in bfq_max_budget()
1329 static int bfq_min_budget(struct bfq_data *bfqd) in bfq_min_budget()
1441 static bool bfq_bfqq_update_budg_for_activation(struct bfq_data *bfqd, in bfq_bfqq_update_budg_for_activation()
1510 static void bfq_update_bfqq_wr_on_rq_arrival(struct bfq_data *bfqd, in bfq_update_bfqq_wr_on_rq_arrival()
1607 static bool bfq_bfqq_idle_for_long_time(struct bfq_data *bfqd, in bfq_bfqq_idle_for_long_time()
1646 static void bfq_bfqq_handle_idle_busy_switch(struct bfq_data *bfqd, in bfq_bfqq_handle_idle_busy_switch()
1794 static void bfq_reset_inject_limit(struct bfq_data *bfqd, in bfq_reset_inject_limit()
1863 struct bfq_data *bfqd = bfqq->bfqd; in bfq_add_request()
2111 static struct request *bfq_find_rq_fmerge(struct bfq_data *bfqd, in bfq_find_rq_fmerge()
2135 struct bfq_data *bfqd = q->elevator->elevator_data;
2142 struct bfq_data *bfqd = q->elevator->elevator_data;
2152 struct bfq_data *bfqd = bfqq->bfqd; in bfq_remove_request()
2213 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_bio_merge()
2245 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_request_merge()
2268 struct bfq_data *bfqd; in bfq_request_merged()
2363 void bfq_end_wr_async_queues(struct bfq_data *bfqd, in bfq_end_wr_async_queues()
2376 static void bfq_end_wr(struct bfq_data *bfqd) in bfq_end_wr()
2406 static struct bfq_queue *bfqq_find_close(struct bfq_data *bfqd, in bfqq_find_close()
2448 static struct bfq_queue *bfq_find_close_cooperator(struct bfq_data *bfqd, in bfq_find_close_cooperator()
2577 bfq_setup_cooperator(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_setup_cooperator()
2718 void bfq_release_process_ref(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_release_process_ref()
2739 bfq_merge_bfqqs(struct bfq_data *bfqd, struct bfq_io_cq *bic, in bfq_merge_bfqqs()
2814 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_allow_bio_merge()
2871 static void bfq_set_budget_timeout(struct bfq_data *bfqd, in bfq_set_budget_timeout()
2887 static void __bfq_set_in_service_queue(struct bfq_data *bfqd, in __bfq_set_in_service_queue()
2943 static struct bfq_queue *bfq_set_in_service_queue(struct bfq_data *bfqd) in bfq_set_in_service_queue()
2951 static void bfq_arm_slice_timer(struct bfq_data *bfqd) in bfq_arm_slice_timer()
2995 static unsigned long bfq_calc_max_budget(struct bfq_data *bfqd) in bfq_calc_max_budget()
3006 static void update_thr_responsiveness_params(struct bfq_data *bfqd) in update_thr_responsiveness_params()
3015 static void bfq_reset_rate_computation(struct bfq_data *bfqd, in bfq_reset_rate_computation()
3033 static void bfq_update_rate_reset(struct bfq_data *bfqd, struct request *rq) in bfq_update_rate_reset()
3174 static void bfq_update_peak_rate(struct bfq_data *bfqd, struct request *rq) in bfq_update_peak_rate()
3444 static bool idling_needed_for_service_guarantees(struct bfq_data *bfqd, in idling_needed_for_service_guarantees()
3455 static bool __bfq_bfqq_expire(struct bfq_data *bfqd, struct bfq_queue *bfqq, in __bfq_bfqq_expire()
3523 static void __bfq_bfqq_recalc_budget(struct bfq_data *bfqd, in __bfq_bfqq_recalc_budget()
3715 static bool bfq_bfqq_is_slow(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_bfqq_is_slow()
3865 static unsigned long bfq_bfqq_softrt_next_start(struct bfq_data *bfqd, in bfq_bfqq_softrt_next_start()
3901 void bfq_bfqq_expire(struct bfq_data *bfqd, in bfq_bfqq_expire()
4072 static bool idling_boosts_thr_without_issues(struct bfq_data *bfqd, in idling_boosts_thr_without_issues()
4170 struct bfq_data *bfqd = bfqq->bfqd; in bfq_better_to_idle()
4228 bfq_choose_bfqq_for_injection(struct bfq_data *bfqd) in bfq_choose_bfqq_for_injection()
4320 static struct bfq_queue *bfq_select_queue(struct bfq_data *bfqd) in bfq_select_queue()
4522 static void bfq_update_wr_data(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_update_wr_data()
4578 static struct request *bfq_dispatch_rq_from_bfqq(struct bfq_data *bfqd, in bfq_dispatch_rq_from_bfqq()
4627 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_has_work()
4639 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in __bfq_dispatch_request()
4779 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_dispatch_request()
4912 static void bfq_exit_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_exit_bfqq()
4929 struct bfq_data *bfqd; in bfq_exit_icq_bfqq()
4962 struct bfq_data *bfqd = bfqq->bfqd; in bfq_set_next_ioprio_data()
5004 static struct bfq_queue *bfq_get_queue(struct bfq_data *bfqd,
5010 struct bfq_data *bfqd = bic_to_bfqd(bic); in bfq_check_ioprio_change()
5035 static void bfq_init_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_init_bfqq()
5095 static struct bfq_queue **bfq_async_queue_prio(struct bfq_data *bfqd, in bfq_async_queue_prio()
5114 static struct bfq_queue *bfq_get_queue(struct bfq_data *bfqd, in bfq_get_queue()
5179 static void bfq_update_io_thinktime(struct bfq_data *bfqd, in bfq_update_io_thinktime()
5194 bfq_update_io_seektime(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_update_io_seektime()
5206 static void bfq_update_has_short_ttime(struct bfq_data *bfqd, in bfq_update_has_short_ttime()
5337 static void bfq_rq_enqueued(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_rq_enqueued()
5394 static bool __bfq_insert_request(struct bfq_data *bfqd, struct request *rq) in __bfq_insert_request()
5482 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_insert_request()
5545 static void bfq_update_hw_tag(struct bfq_data *bfqd) in bfq_update_hw_tag()
5586 static void bfq_completed_request(struct bfq_queue *bfqq, struct bfq_data *bfqd) in bfq_completed_request()
5815 static void bfq_update_inject_limit(struct bfq_data *bfqd, in bfq_update_inject_limit()
5881 struct bfq_data *bfqd; in bfq_finish_requeue_request()
5990 static struct bfq_queue *bfq_get_bfqq_handle_split(struct bfq_data *bfqd, in bfq_get_bfqq_handle_split()
6096 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_init_rq()
6203 struct bfq_data *bfqd = bfqq->bfqd; in bfq_idle_slice_timer_body()
6246 struct bfq_data *bfqd = container_of(timer, struct bfq_data, in bfq_idle_slice_timer()
6264 static void __bfq_put_async_bfqq(struct bfq_data *bfqd, in __bfq_put_async_bfqq()
6286 void bfq_put_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg) in bfq_put_async_queues()
6301 static unsigned int bfq_update_depths(struct bfq_data *bfqd, in bfq_update_depths()
6346 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_depth_updated()
6362 struct bfq_data *bfqd = e->elevator_data; in bfq_exit_queue()
6390 struct bfq_data *bfqd) in bfq_init_root_group()
6407 struct bfq_data *bfqd; in bfq_init_queue()
6569 struct bfq_data *bfqd = e->elevator_data; \
6591 struct bfq_data *bfqd = e->elevator_data; \
6603 struct bfq_data *bfqd = e->elevator_data; \
6635 struct bfq_data *bfqd = e->elevator_data; \
6656 struct bfq_data *bfqd = e->elevator_data; in bfq_max_budget_store()
6684 struct bfq_data *bfqd = e->elevator_data; in bfq_timeout_sync_store()
6707 struct bfq_data *bfqd = e->elevator_data; in bfq_strict_guarantees_store()
6729 struct bfq_data *bfqd = e->elevator_data; in bfq_low_latency_store()