Lines Matching refs:bfqq_data
410 struct bfq_iocq_bfqq_data *bfqq_data = &bic->bfqq_data[actuator_idx]; in bic_set_bfqq() local
421 if (bfqq && bfqq_data->stable_merge_bfqq == bfqq) { in bic_set_bfqq()
430 bfq_put_stable_ref(bfqq_data->stable_merge_bfqq); in bic_set_bfqq()
432 bfqq_data->stable_merge_bfqq = NULL; in bic_set_bfqq()
1139 struct bfq_iocq_bfqq_data *bfqq_data = &bic->bfqq_data[a_idx]; in bfq_bfqq_resume_state() local
1141 if (bfqq_data->saved_has_short_ttime) in bfq_bfqq_resume_state()
1146 if (bfqq_data->saved_IO_bound) in bfq_bfqq_resume_state()
1151 bfqq->last_serv_time_ns = bfqq_data->saved_last_serv_time_ns; in bfq_bfqq_resume_state()
1152 bfqq->inject_limit = bfqq_data->saved_inject_limit; in bfq_bfqq_resume_state()
1153 bfqq->decrease_time_jif = bfqq_data->saved_decrease_time_jif; in bfq_bfqq_resume_state()
1155 bfqq->entity.new_weight = bfqq_data->saved_weight; in bfq_bfqq_resume_state()
1156 bfqq->ttime = bfqq_data->saved_ttime; in bfq_bfqq_resume_state()
1157 bfqq->io_start_time = bfqq_data->saved_io_start_time; in bfq_bfqq_resume_state()
1158 bfqq->tot_idle_time = bfqq_data->saved_tot_idle_time; in bfq_bfqq_resume_state()
1164 bfqq->wr_coeff = bfqq_data->saved_wr_coeff; in bfq_bfqq_resume_state()
1166 bfqq->service_from_wr = bfqq_data->saved_service_from_wr; in bfq_bfqq_resume_state()
1168 bfqq_data->saved_wr_start_at_switch_to_srt; in bfq_bfqq_resume_state()
1169 bfqq->last_wr_start_finish = bfqq_data->saved_last_wr_start_finish; in bfq_bfqq_resume_state()
1170 bfqq->wr_cur_max_time = bfqq_data->saved_wr_cur_max_time; in bfq_bfqq_resume_state()
1837 bfqq->bic || RQ_BIC(rq)->bfqq_data[act_idx].stably_merged; in bfq_bfqq_handle_idle_busy_switch()
2854 struct bfq_iocq_bfqq_data *bfqq_data) in bfq_setup_stable_merge() argument
2860 bfqq_data->stable_merge_bfqq = NULL; in bfq_setup_stable_merge()
2868 bfqq_data->stably_merged = true; in bfq_setup_stable_merge()
2872 &new_bfqq->bic->bfqq_data[new_a_idx]; in bfq_setup_stable_merge()
2911 struct bfq_iocq_bfqq_data *bfqq_data = &bic->bfqq_data[a_idx]; in bfq_setup_cooperator() local
2937 if (bfq_bfqq_sync(bfqq) && bfqq_data->stable_merge_bfqq && in bfq_setup_cooperator()
2944 bfqq_data->stable_merge_bfqq; in bfq_setup_cooperator()
2948 bfqq_data); in bfq_setup_cooperator()
3044 struct bfq_iocq_bfqq_data *bfqq_data = &bic->bfqq_data[a_idx]; in bfq_bfqq_save_state() local
3054 bfqq_data->saved_last_serv_time_ns = bfqq->last_serv_time_ns; in bfq_bfqq_save_state()
3055 bfqq_data->saved_inject_limit = bfqq->inject_limit; in bfq_bfqq_save_state()
3056 bfqq_data->saved_decrease_time_jif = bfqq->decrease_time_jif; in bfq_bfqq_save_state()
3058 bfqq_data->saved_weight = bfqq->entity.orig_weight; in bfq_bfqq_save_state()
3059 bfqq_data->saved_ttime = bfqq->ttime; in bfq_bfqq_save_state()
3060 bfqq_data->saved_has_short_ttime = in bfq_bfqq_save_state()
3062 bfqq_data->saved_IO_bound = bfq_bfqq_IO_bound(bfqq); in bfq_bfqq_save_state()
3063 bfqq_data->saved_io_start_time = bfqq->io_start_time; in bfq_bfqq_save_state()
3064 bfqq_data->saved_tot_idle_time = bfqq->tot_idle_time; in bfq_bfqq_save_state()
3065 bfqq_data->saved_in_large_burst = bfq_bfqq_in_large_burst(bfqq); in bfq_bfqq_save_state()
3066 bfqq_data->was_in_burst_list = in bfq_bfqq_save_state()
3081 bfqq_data->saved_wr_coeff = bfqq->bfqd->bfq_wr_coeff; in bfq_bfqq_save_state()
3082 bfqq_data->saved_wr_start_at_switch_to_srt = in bfq_bfqq_save_state()
3084 bfqq_data->saved_wr_cur_max_time = in bfq_bfqq_save_state()
3086 bfqq_data->saved_last_wr_start_finish = jiffies; in bfq_bfqq_save_state()
3088 bfqq_data->saved_wr_coeff = bfqq->wr_coeff; in bfq_bfqq_save_state()
3089 bfqq_data->saved_wr_start_at_switch_to_srt = in bfq_bfqq_save_state()
3091 bfqq_data->saved_service_from_wr = in bfq_bfqq_save_state()
3093 bfqq_data->saved_last_wr_start_finish = in bfq_bfqq_save_state()
3095 bfqq_data->saved_wr_cur_max_time = bfqq->wr_cur_max_time; in bfq_bfqq_save_state()
5481 struct bfq_iocq_bfqq_data *bfqq_data = bic->bfqq_data; in bfq_exit_icq() local
5493 if (bfqq_data[act_idx].stable_merge_bfqq) in bfq_exit_icq()
5494 bfq_put_stable_ref(bfqq_data[act_idx].stable_merge_bfqq); in bfq_exit_icq()
5694 new_bfqq->bic->bfqq_data[a_idx].stably_merged = true; in bfq_do_early_stable_merge()
5695 bic->bfqq_data[a_idx].stably_merged = true; in bfq_do_early_stable_merge()
5823 bic->bfqq_data[last_bfqq_created->actuator_idx].stable_merge_bfqq = in bfq_do_or_sched_stable_merge()
6748 struct bfq_iocq_bfqq_data *bfqq_data = &bic->bfqq_data[act_idx]; in bfq_get_bfqq_handle_split() local
6762 if ((bfqq_data->was_in_burst_list && bfqd->large_burst) || in bfq_get_bfqq_handle_split()
6763 bfqq_data->saved_in_large_burst) in bfq_get_bfqq_handle_split()
6767 if (bfqq_data->was_in_burst_list) in bfq_get_bfqq_handle_split()
6908 !bic->bfqq_data[a_idx].stably_merged) { in bfq_init_rq()
6913 bic->bfqq_data[a_idx].saved_in_large_burst = in bfq_init_rq()