Searched refs:elapsed (Results 1 – 1 of 1) sorted by relevance
1085 unsigned long elapsed, in wb_update_write_bandwidth() argument1105 if (unlikely(elapsed > period)) { in wb_update_write_bandwidth()1106 do_div(bw, elapsed); in wb_update_write_bandwidth()1110 bw += (u64)wb->write_bandwidth * (period - elapsed); in wb_update_write_bandwidth()1190 unsigned long elapsed) in wb_update_dirty_ratelimit() argument1210 dirty_rate = (dirtied - wb->dirtied_stamp) * HZ / elapsed; in wb_update_dirty_ratelimit()1353 unsigned long elapsed = now - wb->bw_time_stamp; in __wb_update_bandwidth() local1362 if (elapsed < BANDWIDTH_INTERVAL) in __wb_update_bandwidth()1372 if (elapsed > HZ && time_before(wb->bw_time_stamp, start_time)) in __wb_update_bandwidth()1377 wb_update_dirty_ratelimit(gdtc, dirtied, elapsed); in __wb_update_bandwidth()[all …]