Lines Matching refs:bfq_data

419 struct bfq_data *bic_to_bfqd(struct bfq_io_cq *bic)  in bic_to_bfqd()
457 void bfq_schedule_dispatch(struct bfq_data *bfqd) in bfq_schedule_dispatch()
476 static struct request *bfq_choose_req(struct bfq_data *bfqd, in bfq_choose_req()
570 struct bfq_data *bfqd = bfqq->bfqd; in bfqq_request_over_limit()
673 struct bfq_data *bfqd = data->q->elevator->elevator_data; in bfq_limit_depth()
702 bfq_rq_pos_tree_lookup(struct bfq_data *bfqd, struct rb_root *root, in bfq_rq_pos_tree_lookup()
758 bfq_pos_tree_add_move(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_pos_tree_add_move()
828 static bool bfq_asymmetric_scenario(struct bfq_data *bfqd, in bfq_asymmetric_scenario()
873 void bfq_weights_tree_add(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_weights_tree_add()
947 void __bfq_weights_tree_remove(struct bfq_data *bfqd, in __bfq_weights_tree_remove()
970 void bfq_weights_tree_remove(struct bfq_data *bfqd, in bfq_weights_tree_remove()
1041 static struct request *bfq_find_next_rq(struct bfq_data *bfqd, in bfq_find_next_rq()
1090 static void bfq_updated_next_req(struct bfq_data *bfqd, in bfq_updated_next_req()
1119 static unsigned int bfq_wr_duration(struct bfq_data *bfqd) in bfq_wr_duration()
1154 struct bfq_data *bfqd) in switch_back_to_interactive_wr()
1162 bfq_bfqq_resume_state(struct bfq_queue *bfqq, struct bfq_data *bfqd, in bfq_bfqq_resume_state()
1233 static void bfq_reset_burst_list(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_reset_burst_list()
1256 static void bfq_add_to_burst(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_add_to_burst()
1408 static void bfq_handle_burst(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_handle_burst()
1486 static int bfq_max_budget(struct bfq_data *bfqd) in bfq_max_budget()
1498 static int bfq_min_budget(struct bfq_data *bfqd) in bfq_min_budget()
1610 static bool bfq_bfqq_update_budg_for_activation(struct bfq_data *bfqd, in bfq_bfqq_update_budg_for_activation()
1679 static void bfq_update_bfqq_wr_on_rq_arrival(struct bfq_data *bfqd, in bfq_update_bfqq_wr_on_rq_arrival()
1776 static bool bfq_bfqq_idle_for_long_time(struct bfq_data *bfqd, in bfq_bfqq_idle_for_long_time()
1817 static void bfq_bfqq_handle_idle_busy_switch(struct bfq_data *bfqd, in bfq_bfqq_handle_idle_busy_switch()
1983 static void bfq_reset_inject_limit(struct bfq_data *bfqd, in bfq_reset_inject_limit()
2130 static void bfq_check_waker(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_check_waker()
2203 struct bfq_data *bfqd = bfqq->bfqd; in bfq_add_request()
2355 static struct request *bfq_find_rq_fmerge(struct bfq_data *bfqd, in bfq_find_rq_fmerge()
2379 struct bfq_data *bfqd = q->elevator->elevator_data;
2386 struct bfq_data *bfqd = q->elevator->elevator_data;
2396 struct bfq_data *bfqd = bfqq->bfqd; in bfq_remove_request()
2460 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_bio_merge()
2499 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_request_merge()
2523 struct bfq_data *bfqd; in bfq_request_merged()
2644 void bfq_end_wr_async_queues(struct bfq_data *bfqd, in bfq_end_wr_async_queues()
2657 static void bfq_end_wr(struct bfq_data *bfqd) in bfq_end_wr()
2687 static struct bfq_queue *bfqq_find_close(struct bfq_data *bfqd, in bfqq_find_close()
2729 static struct bfq_queue *bfq_find_close_cooperator(struct bfq_data *bfqd, in bfq_find_close_cooperator()
2854 static bool idling_boosts_thr_without_issues(struct bfq_data *bfqd,
2878 bfq_setup_cooperator(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_setup_cooperator()
3086 void bfq_release_process_ref(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_release_process_ref()
3109 bfq_merge_bfqqs(struct bfq_data *bfqd, struct bfq_io_cq *bic, in bfq_merge_bfqqs()
3210 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_allow_bio_merge()
3267 static void bfq_set_budget_timeout(struct bfq_data *bfqd, in bfq_set_budget_timeout()
3283 static void __bfq_set_in_service_queue(struct bfq_data *bfqd, in __bfq_set_in_service_queue()
3340 static struct bfq_queue *bfq_set_in_service_queue(struct bfq_data *bfqd) in bfq_set_in_service_queue()
3348 static void bfq_arm_slice_timer(struct bfq_data *bfqd) in bfq_arm_slice_timer()
3392 static unsigned long bfq_calc_max_budget(struct bfq_data *bfqd) in bfq_calc_max_budget()
3403 static void update_thr_responsiveness_params(struct bfq_data *bfqd) in update_thr_responsiveness_params()
3412 static void bfq_reset_rate_computation(struct bfq_data *bfqd, in bfq_reset_rate_computation()
3430 static void bfq_update_rate_reset(struct bfq_data *bfqd, struct request *rq) in bfq_update_rate_reset()
3571 static void bfq_update_peak_rate(struct bfq_data *bfqd, struct request *rq) in bfq_update_peak_rate()
3856 static bool idling_needed_for_service_guarantees(struct bfq_data *bfqd, in idling_needed_for_service_guarantees()
3874 static bool __bfq_bfqq_expire(struct bfq_data *bfqd, struct bfq_queue *bfqq, in __bfq_bfqq_expire()
3942 static void __bfq_bfqq_recalc_budget(struct bfq_data *bfqd, in __bfq_bfqq_recalc_budget()
4134 static bool bfq_bfqq_is_slow(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_bfqq_is_slow()
4284 static unsigned long bfq_bfqq_softrt_next_start(struct bfq_data *bfqd, in bfq_bfqq_softrt_next_start()
4320 void bfq_bfqq_expire(struct bfq_data *bfqd, in bfq_bfqq_expire()
4472 static bool idling_boosts_thr_without_issues(struct bfq_data *bfqd, in idling_boosts_thr_without_issues()
4574 struct bfq_data *bfqd = bfqq->bfqd; in bfq_better_to_idle()
4636 bfq_choose_bfqq_for_injection(struct bfq_data *bfqd) in bfq_choose_bfqq_for_injection()
4728 static struct bfq_queue *bfq_select_queue(struct bfq_data *bfqd) in bfq_select_queue()
4952 static void bfq_update_wr_data(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_update_wr_data()
5020 static struct request *bfq_dispatch_rq_from_bfqq(struct bfq_data *bfqd, in bfq_dispatch_rq_from_bfqq()
5069 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_has_work()
5081 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in __bfq_dispatch_request()
5221 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_dispatch_request()
5354 static void bfq_exit_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_exit_bfqq()
5371 struct bfq_data *bfqd; in bfq_exit_icq_bfqq()
5392 struct bfq_data *bfqd = bic->stable_merge_bfqq->bfqd; in bfq_exit_icq()
5422 struct bfq_data *bfqd = bfqq->bfqd; in bfq_set_next_ioprio_data()
5467 static struct bfq_queue *bfq_get_queue(struct bfq_data *bfqd,
5474 struct bfq_data *bfqd = bic_to_bfqd(bic); in bfq_check_ioprio_change()
5499 static void bfq_init_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_init_bfqq()
5565 static struct bfq_queue **bfq_async_queue_prio(struct bfq_data *bfqd, in bfq_async_queue_prio()
5585 bfq_do_early_stable_merge(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_do_early_stable_merge()
5657 static struct bfq_queue *bfq_do_or_sched_stable_merge(struct bfq_data *bfqd, in bfq_do_or_sched_stable_merge()
5730 static struct bfq_queue *bfq_get_queue(struct bfq_data *bfqd, in bfq_get_queue()
5790 static void bfq_update_io_thinktime(struct bfq_data *bfqd, in bfq_update_io_thinktime()
5813 bfq_update_io_seektime(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_update_io_seektime()
5843 static void bfq_update_has_short_ttime(struct bfq_data *bfqd, in bfq_update_has_short_ttime()
5975 static void bfq_rq_enqueued(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_rq_enqueued()
6048 static bool __bfq_insert_request(struct bfq_data *bfqd, struct request *rq) in __bfq_insert_request()
6139 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_insert_request()
6204 static void bfq_update_hw_tag(struct bfq_data *bfqd) in bfq_update_hw_tag()
6245 static void bfq_completed_request(struct bfq_queue *bfqq, struct bfq_data *bfqd) in bfq_completed_request()
6479 static void bfq_update_inject_limit(struct bfq_data *bfqd, in bfq_update_inject_limit()
6545 struct bfq_data *bfqd; in bfq_finish_requeue_request()
6633 static struct bfq_queue *bfq_get_bfqq_handle_split(struct bfq_data *bfqd, in bfq_get_bfqq_handle_split()
6741 struct bfq_data *bfqd = q->elevator->elevator_data; in bfq_init_rq()
6862 bfq_idle_slice_timer_body(struct bfq_data *bfqd, struct bfq_queue *bfqq) in bfq_idle_slice_timer_body()
6914 struct bfq_data *bfqd = container_of(timer, struct bfq_data, in bfq_idle_slice_timer()
6932 static void __bfq_put_async_bfqq(struct bfq_data *bfqd, in __bfq_put_async_bfqq()
6954 void bfq_put_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg) in bfq_put_async_queues()
6969 static void bfq_update_depths(struct bfq_data *bfqd, struct sbitmap_queue *bt) in bfq_update_depths()
7008 struct bfq_data *bfqd = hctx->queue->elevator->elevator_data; in bfq_depth_updated()
7023 struct bfq_data *bfqd = e->elevator_data; in bfq_exit_queue()
7054 struct bfq_data *bfqd) in bfq_init_root_group()
7071 struct bfq_data *bfqd; in bfq_init_queue()
7236 struct bfq_data *bfqd = e->elevator_data; \
7258 struct bfq_data *bfqd = e->elevator_data; \
7270 struct bfq_data *bfqd = e->elevator_data; \
7302 struct bfq_data *bfqd = e->elevator_data; \
7323 struct bfq_data *bfqd = e->elevator_data; in bfq_max_budget_store()
7351 struct bfq_data *bfqd = e->elevator_data; in bfq_timeout_sync_store()
7374 struct bfq_data *bfqd = e->elevator_data; in bfq_strict_guarantees_store()
7396 struct bfq_data *bfqd = e->elevator_data; in bfq_low_latency_store()