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

/linux-4.1.27/block/
H A Dblk-throttle.c816 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; tg_with_in_iops_limit() local
819 jiffy_elapsed = jiffy_elapsed_rnd = jiffies - tg->slice_start[rw]; tg_with_in_iops_limit()
823 jiffy_elapsed_rnd = throtl_slice; tg_with_in_iops_limit()
825 jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, throtl_slice); tg_with_in_iops_limit()
828 * jiffy_elapsed_rnd should not be a big value as minimum iops can be tg_with_in_iops_limit()
834 tmp = (u64)tg->iops[rw] * jiffy_elapsed_rnd; tg_with_in_iops_limit()
866 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; tg_with_in_bps_limit() local
868 jiffy_elapsed = jiffy_elapsed_rnd = jiffies - tg->slice_start[rw]; tg_with_in_bps_limit()
872 jiffy_elapsed_rnd = throtl_slice; tg_with_in_bps_limit()
874 jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, throtl_slice); tg_with_in_bps_limit()
876 tmp = tg->bps[rw] * jiffy_elapsed_rnd; tg_with_in_bps_limit()
897 jiffy_wait = jiffy_wait + (jiffy_elapsed_rnd - jiffy_elapsed); tg_with_in_bps_limit()

Completed in 45 milliseconds