Home
last modified time | relevance | path

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

/linux-4.4.14/block/
Dblk-throttle.c673 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; in tg_with_in_iops_limit() local
676 jiffy_elapsed = jiffy_elapsed_rnd = jiffies - tg->slice_start[rw]; in tg_with_in_iops_limit()
680 jiffy_elapsed_rnd = throtl_slice; in tg_with_in_iops_limit()
682 jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, throtl_slice); in tg_with_in_iops_limit()
691 tmp = (u64)tg->iops[rw] * jiffy_elapsed_rnd; in tg_with_in_iops_limit()
723 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; in tg_with_in_bps_limit() local
725 jiffy_elapsed = jiffy_elapsed_rnd = jiffies - tg->slice_start[rw]; in tg_with_in_bps_limit()
729 jiffy_elapsed_rnd = throtl_slice; in tg_with_in_bps_limit()
731 jiffy_elapsed_rnd = roundup(jiffy_elapsed_rnd, throtl_slice); in tg_with_in_bps_limit()
733 tmp = tg->bps[rw] * jiffy_elapsed_rnd; in tg_with_in_bps_limit()
[all …]