Home
last modified time | relevance | path

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

/Linux-v5.4/block/
Dblk-throttle.c883 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; in tg_with_in_iops_limit() local
889 jiffy_elapsed_rnd = roundup(jiffy_elapsed + 1, tg->td->throtl_slice); in tg_with_in_iops_limit()
898 tmp = (u64)tg_iops_limit(tg, rw) * jiffy_elapsed_rnd; in tg_with_in_iops_limit()
913 jiffy_wait = jiffy_elapsed_rnd - jiffy_elapsed; in tg_with_in_iops_limit()
925 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; in tg_with_in_bps_limit() local
928 jiffy_elapsed = jiffy_elapsed_rnd = jiffies - tg->slice_start[rw]; in tg_with_in_bps_limit()
932 jiffy_elapsed_rnd = tg->td->throtl_slice; in tg_with_in_bps_limit()
934 jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, tg->td->throtl_slice); in tg_with_in_bps_limit()
936 tmp = tg_bps_limit(tg, rw) * jiffy_elapsed_rnd; in tg_with_in_bps_limit()
957 jiffy_wait = jiffy_wait + (jiffy_elapsed_rnd - jiffy_elapsed); in tg_with_in_bps_limit()