Searched refs:this_bw (Results 1 – 6 of 6) sorted by relevance
173 u64 reg, offset, this_bw; in sparx5_config_auto_calendar() local179 this_bw = sparx5_cal_speed_to_value(spd); in sparx5_config_auto_calendar()181 used_port_bw += this_bw; in sparx5_config_auto_calendar()184 this_bw = this_bw / 2; in sparx5_config_auto_calendar()185 total_bw += this_bw; in sparx5_config_auto_calendar()
227 WARN_ON_ONCE(dl_rq->running_bw > dl_rq->this_bw); in __add_running_bw()249 u64 old = dl_rq->this_bw; in __add_rq_bw()252 dl_rq->this_bw += dl_bw; in __add_rq_bw()253 WARN_ON_ONCE(dl_rq->this_bw < old); /* overflow */ in __add_rq_bw()259 u64 old = dl_rq->this_bw; in __sub_rq_bw()262 dl_rq->this_bw -= dl_bw; in __sub_rq_bw()263 WARN_ON_ONCE(dl_rq->this_bw > old); /* underflow */ in __sub_rq_bw()264 if (dl_rq->this_bw > old) in __sub_rq_bw()265 dl_rq->this_bw = 0; in __sub_rq_bw()266 WARN_ON_ONCE(dl_rq->running_bw > dl_rq->this_bw); in __sub_rq_bw()[all …]
903 u64 this_bw; member
167 unsigned long this_bw = READ_ONCE(wb->avg_write_bandwidth); in wb_min_max_ratio() local176 if (this_bw < tot_bw) { in wb_min_max_ratio()178 min *= this_bw; in wb_min_max_ratio()182 max *= this_bw; in wb_min_max_ratio()
1007 unsigned long this_bw = wb->avg_write_bandwidth; in wb_split_bdi_pages() local1018 if (!tot_bw || this_bw >= tot_bw) in wb_split_bdi_pages()1021 return DIV_ROUND_UP_ULL((u64)nr_pages * this_bw, tot_bw); in wb_split_bdi_pages()
204 - Total bandwidth (this_bw): this is the sum of all tasks "belonging" to the