Lines Matching refs:bfq_data
379 struct bfq_data *bic_to_bfqd(struct bfq_io_cq *bic) in bic_to_bfqd()
400 static struct bfq_io_cq *bfq_bic_lookup(struct bfq_data *bfqd, in bfq_bic_lookup()
422 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()
677 static bool bfq_asymmetric_scenario(struct bfq_data *bfqd, in bfq_asymmetric_scenario()
722 void bfq_weights_tree_add(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_weights_tree_add()
796 void __bfq_weights_tree_remove(struct bfq_data *bfqd, in __bfq_weights_tree_remove()
819 void bfq_weights_tree_remove(struct bfq_data *bfqd, in bfq_weights_tree_remove()
890 static struct request *bfq_find_next_rq(struct bfq_data *bfqd, in bfq_find_next_rq()
939 static void bfq_updated_next_req(struct bfq_data *bfqd, in bfq_updated_next_req()
968 static unsigned int bfq_wr_duration(struct bfq_data *bfqd) in bfq_wr_duration()
1003 struct bfq_data *bfqd) in switch_back_to_interactive_wr()
1011 bfq_bfqq_resume_state(struct bfq_queue *bfqq, struct bfq_data *bfqd, in bfq_bfqq_resume_state()
1068 static void bfq_reset_burst_list(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_reset_burst_list()
1091 static void bfq_add_to_burst(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_add_to_burst()
1243 static void bfq_handle_burst(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_handle_burst()
1321 static int bfq_max_budget(struct bfq_data *bfqd) in bfq_max_budget()
1333 static int bfq_min_budget(struct bfq_data *bfqd) in bfq_min_budget()
1445 static bool bfq_bfqq_update_budg_for_activation(struct bfq_data *bfqd, in bfq_bfqq_update_budg_for_activation()
1514 static void bfq_update_bfqq_wr_on_rq_arrival(struct bfq_data *bfqd, in bfq_update_bfqq_wr_on_rq_arrival()
1611 static bool bfq_bfqq_idle_for_long_time(struct bfq_data *bfqd, in bfq_bfqq_idle_for_long_time()
1650 static void bfq_bfqq_handle_idle_busy_switch(struct bfq_data *bfqd, in bfq_bfqq_handle_idle_busy_switch()
1798 static void bfq_reset_inject_limit(struct bfq_data *bfqd, in bfq_reset_inject_limit()
1867 struct bfq_data *bfqd = bfqq->bfqd; in bfq_add_request()
2115 static struct request *bfq_find_rq_fmerge(struct bfq_data *bfqd, in bfq_find_rq_fmerge()
2139 struct bfq_data *bfqd = q->elevator->elevator_data;
2146 struct bfq_data *bfqd = q->elevator->elevator_data;
2156 struct bfq_data *bfqd = bfqq->bfqd; in bfq_remove_request()
2217 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_bio_merge()
2249 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_request_merge()
2272 struct bfq_data *bfqd; in bfq_request_merged()
2367 void bfq_end_wr_async_queues(struct bfq_data *bfqd, in bfq_end_wr_async_queues()
2380 static void bfq_end_wr(struct bfq_data *bfqd) in bfq_end_wr()
2410 static struct bfq_queue *bfqq_find_close(struct bfq_data *bfqd, in bfqq_find_close()
2452 static struct bfq_queue *bfq_find_close_cooperator(struct bfq_data *bfqd, in bfq_find_close_cooperator()
2581 bfq_setup_cooperator(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_setup_cooperator()
2720 void bfq_release_process_ref(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_release_process_ref()
2741 bfq_merge_bfqqs(struct bfq_data *bfqd, struct bfq_io_cq *bic, in bfq_merge_bfqqs()
2816 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_allow_bio_merge()
2873 static void bfq_set_budget_timeout(struct bfq_data *bfqd, in bfq_set_budget_timeout()
2889 static void __bfq_set_in_service_queue(struct bfq_data *bfqd, in __bfq_set_in_service_queue()
2945 static struct bfq_queue *bfq_set_in_service_queue(struct bfq_data *bfqd) in bfq_set_in_service_queue()
2953 static void bfq_arm_slice_timer(struct bfq_data *bfqd) in bfq_arm_slice_timer()
2997 static unsigned long bfq_calc_max_budget(struct bfq_data *bfqd) in bfq_calc_max_budget()
3008 static void update_thr_responsiveness_params(struct bfq_data *bfqd) in update_thr_responsiveness_params()
3017 static void bfq_reset_rate_computation(struct bfq_data *bfqd, in bfq_reset_rate_computation()
3035 static void bfq_update_rate_reset(struct bfq_data *bfqd, struct request *rq) in bfq_update_rate_reset()
3176 static void bfq_update_peak_rate(struct bfq_data *bfqd, struct request *rq) in bfq_update_peak_rate()
3446 static bool idling_needed_for_service_guarantees(struct bfq_data *bfqd, in idling_needed_for_service_guarantees()
3461 static bool __bfq_bfqq_expire(struct bfq_data *bfqd, struct bfq_queue *bfqq, in __bfq_bfqq_expire()
3529 static void __bfq_bfqq_recalc_budget(struct bfq_data *bfqd, in __bfq_bfqq_recalc_budget()
3721 static bool bfq_bfqq_is_slow(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_bfqq_is_slow()
3871 static unsigned long bfq_bfqq_softrt_next_start(struct bfq_data *bfqd, in bfq_bfqq_softrt_next_start()
3907 void bfq_bfqq_expire(struct bfq_data *bfqd, in bfq_bfqq_expire()
4078 static bool idling_boosts_thr_without_issues(struct bfq_data *bfqd, in idling_boosts_thr_without_issues()
4180 struct bfq_data *bfqd = bfqq->bfqd; in bfq_better_to_idle()
4242 bfq_choose_bfqq_for_injection(struct bfq_data *bfqd) in bfq_choose_bfqq_for_injection()
4334 static struct bfq_queue *bfq_select_queue(struct bfq_data *bfqd) in bfq_select_queue()
4536 static void bfq_update_wr_data(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_update_wr_data()
4592 static struct request *bfq_dispatch_rq_from_bfqq(struct bfq_data *bfqd, in bfq_dispatch_rq_from_bfqq()
4641 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_has_work()
4656 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in __bfq_dispatch_request()
4796 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_dispatch_request()
4925 static void bfq_exit_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_exit_bfqq()
4942 struct bfq_data *bfqd; in bfq_exit_icq_bfqq()
4975 struct bfq_data *bfqd = bfqq->bfqd; in bfq_set_next_ioprio_data()
5018 static struct bfq_queue *bfq_get_queue(struct bfq_data *bfqd,
5024 struct bfq_data *bfqd = bic_to_bfqd(bic); in bfq_check_ioprio_change()
5049 static void bfq_init_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_init_bfqq()
5109 static struct bfq_queue **bfq_async_queue_prio(struct bfq_data *bfqd, in bfq_async_queue_prio()
5128 static struct bfq_queue *bfq_get_queue(struct bfq_data *bfqd, in bfq_get_queue()
5193 static void bfq_update_io_thinktime(struct bfq_data *bfqd, in bfq_update_io_thinktime()
5208 bfq_update_io_seektime(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_update_io_seektime()
5220 static void bfq_update_has_short_ttime(struct bfq_data *bfqd, in bfq_update_has_short_ttime()
5351 static void bfq_rq_enqueued(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_rq_enqueued()
5408 static bool __bfq_insert_request(struct bfq_data *bfqd, struct request *rq) in __bfq_insert_request()
5496 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_insert_request()
5564 static void bfq_update_hw_tag(struct bfq_data *bfqd) in bfq_update_hw_tag()
5605 static void bfq_completed_request(struct bfq_queue *bfqq, struct bfq_data *bfqd) in bfq_completed_request()
5834 static void bfq_update_inject_limit(struct bfq_data *bfqd, in bfq_update_inject_limit()
5900 struct bfq_data *bfqd; in bfq_finish_requeue_request()
6000 static struct bfq_queue *bfq_get_bfqq_handle_split(struct bfq_data *bfqd, in bfq_get_bfqq_handle_split()
6106 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_init_rq()
6212 bfq_idle_slice_timer_body(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_idle_slice_timer_body()
6264 struct bfq_data *bfqd = container_of(timer, struct bfq_data, in bfq_idle_slice_timer()
6282 static void __bfq_put_async_bfqq(struct bfq_data *bfqd, in __bfq_put_async_bfqq()
6304 void bfq_put_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg) in bfq_put_async_queues()
6319 static unsigned int bfq_update_depths(struct bfq_data *bfqd, in bfq_update_depths()
6364 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_depth_updated()
6380 struct bfq_data *bfqd = e->elevator_data; in bfq_exit_queue()
6408 struct bfq_data *bfqd) in bfq_init_root_group()
6425 struct bfq_data *bfqd; in bfq_init_queue()
6587 struct bfq_data *bfqd = e->elevator_data; \
6609 struct bfq_data *bfqd = e->elevator_data; \
6621 struct bfq_data *bfqd = e->elevator_data; \
6653 struct bfq_data *bfqd = e->elevator_data; \
6674 struct bfq_data *bfqd = e->elevator_data; in bfq_max_budget_store()
6702 struct bfq_data *bfqd = e->elevator_data; in bfq_timeout_sync_store()
6725 struct bfq_data *bfqd = e->elevator_data; in bfq_strict_guarantees_store()
6747 struct bfq_data *bfqd = e->elevator_data; in bfq_low_latency_store()