Home
last modified time | relevance | path

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

/Linux-v5.10/block/
Dblk-throttle.c892 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; in tg_with_in_iops_limit() local
904 jiffy_elapsed_rnd = roundup(jiffy_elapsed + 1, tg->td->throtl_slice); in tg_with_in_iops_limit()
913 tmp = (u64)iops_limit * jiffy_elapsed_rnd; in tg_with_in_iops_limit()
928 jiffy_wait = jiffy_elapsed_rnd - jiffy_elapsed; in tg_with_in_iops_limit()
940 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; in tg_with_in_bps_limit() local
949 jiffy_elapsed = jiffy_elapsed_rnd = jiffies - tg->slice_start[rw]; in tg_with_in_bps_limit()
953 jiffy_elapsed_rnd = tg->td->throtl_slice; in tg_with_in_bps_limit()
955 jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, tg->td->throtl_slice); in tg_with_in_bps_limit()
957 tmp = bps_limit * jiffy_elapsed_rnd; in tg_with_in_bps_limit()
978 jiffy_wait = jiffy_wait + (jiffy_elapsed_rnd - jiffy_elapsed); in tg_with_in_bps_limit()