Home
last modified time | relevance | path

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

/Linux-v5.15/block/
Dblk-throttle.c906 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; in tg_with_in_iops_limit() local
918 jiffy_elapsed_rnd = roundup(jiffy_elapsed + 1, tg->td->throtl_slice); in tg_with_in_iops_limit()
927 tmp = (u64)iops_limit * jiffy_elapsed_rnd; in tg_with_in_iops_limit()
942 jiffy_wait = jiffy_elapsed_rnd - jiffy_elapsed; in tg_with_in_iops_limit()
954 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; in tg_with_in_bps_limit() local
963 jiffy_elapsed = jiffy_elapsed_rnd = jiffies - tg->slice_start[rw]; in tg_with_in_bps_limit()
967 jiffy_elapsed_rnd = tg->td->throtl_slice; in tg_with_in_bps_limit()
969 jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, tg->td->throtl_slice); in tg_with_in_bps_limit()
971 tmp = bps_limit * jiffy_elapsed_rnd; in tg_with_in_bps_limit()
992 jiffy_wait = jiffy_wait + (jiffy_elapsed_rnd - jiffy_elapsed); in tg_with_in_bps_limit()