Home
last modified time | relevance | path

Searched refs:this_bw (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_calendar.c173 u64 reg, offset, this_bw; in sparx5_config_auto_calendar() local
179 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()
/linux/kernel/sched/
H A Ddeadline.c218 WARN_ON_ONCE(dl_rq->running_bw > dl_rq->this_bw); in __add_running_bw()
240 u64 old = dl_rq->this_bw; in __add_rq_bw()
243 dl_rq->this_bw += dl_bw; in __add_rq_bw()
244 WARN_ON_ONCE(dl_rq->this_bw < old); /* overflow */ in __add_rq_bw()
250 u64 old = dl_rq->this_bw; in __sub_rq_bw()
253 dl_rq->this_bw -= dl_bw; in __sub_rq_bw()
254 WARN_ON_ONCE(dl_rq->this_bw > old); /* underflow */ in __sub_rq_bw()
255 if (dl_rq->this_bw > old) in __sub_rq_bw()
256 dl_rq->this_bw = 0; in __sub_rq_bw()
257 WARN_ON_ONCE(dl_rq->running_bw > dl_rq->this_bw); in __sub_rq_bw()
[all …]
H A Dsched.h903 u64 this_bw; member
/linux/mm/
H A Dpage-writeback.c167 unsigned long this_bw = READ_ONCE(wb->avg_write_bandwidth); in wb_min_max_ratio() local
176 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()
/linux/fs/
H A Dfs-writeback.c1018 unsigned long this_bw = wb->avg_write_bandwidth; in wb_split_bdi_pages() local
1029 if (!tot_bw || this_bw >= tot_bw) in wb_split_bdi_pages()
1032 return DIV_ROUND_UP_ULL((u64)nr_pages * this_bw, tot_bw); in wb_split_bdi_pages()