Home
last modified time | relevance | path

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

/mm/
Dpage-writeback.c1084 unsigned long elapsed, in wb_update_write_bandwidth() argument
1104 if (unlikely(elapsed > period)) { in wb_update_write_bandwidth()
1105 do_div(bw, elapsed); in wb_update_write_bandwidth()
1109 bw += (u64)wb->write_bandwidth * (period - elapsed); in wb_update_write_bandwidth()
1189 unsigned long elapsed) in wb_update_dirty_ratelimit() argument
1209 dirty_rate = (dirtied - wb->dirtied_stamp) * HZ / elapsed; in wb_update_dirty_ratelimit()
1352 unsigned long elapsed = now - wb->bw_time_stamp; in __wb_update_bandwidth() local
1361 if (elapsed < BANDWIDTH_INTERVAL) in __wb_update_bandwidth()
1371 if (elapsed > HZ && time_before(wb->bw_time_stamp, start_time)) in __wb_update_bandwidth()
1376 wb_update_dirty_ratelimit(gdtc, dirtied, elapsed); in __wb_update_bandwidth()
[all …]