Searched refs:elapsed (Results 1 – 1 of 1) sorted by relevance
1084 unsigned long elapsed, in wb_update_write_bandwidth() argument1104 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() argument1209 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() local1361 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 …]