Searched refs:this_bw (Results 1 – 4 of 4) sorted by relevance
221 WARN_ON_ONCE(dl_rq->running_bw > dl_rq->this_bw); in __add_running_bw()243 u64 old = dl_rq->this_bw; in __add_rq_bw()246 dl_rq->this_bw += dl_bw; in __add_rq_bw()247 WARN_ON_ONCE(dl_rq->this_bw < old); /* overflow */ in __add_rq_bw()253 u64 old = dl_rq->this_bw; in __sub_rq_bw()256 dl_rq->this_bw -= dl_bw; in __sub_rq_bw()257 WARN_ON_ONCE(dl_rq->this_bw > old); /* underflow */ in __sub_rq_bw()258 if (dl_rq->this_bw > old) in __sub_rq_bw()259 dl_rq->this_bw = 0; in __sub_rq_bw()260 WARN_ON_ONCE(dl_rq->running_bw > dl_rq->this_bw); in __sub_rq_bw()[all …]
915 u64 this_bw; member
159 unsigned long this_bw = READ_ONCE(wb->avg_write_bandwidth); in wb_min_max_ratio() local168 if (this_bw < tot_bw) { in wb_min_max_ratio()170 min *= this_bw; in wb_min_max_ratio()174 max *= this_bw; in wb_min_max_ratio()
1020 unsigned long this_bw = wb->avg_write_bandwidth; in wb_split_bdi_pages() local1031 if (!tot_bw || this_bw >= tot_bw) in wb_split_bdi_pages()1034 return DIV_ROUND_UP_ULL((u64)nr_pages * this_bw, tot_bw); in wb_split_bdi_pages()