Searched refs:jiffy_wait (Results 1 – 1 of 1) sorted by relevance
829 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; in tg_within_iops_limit() local850 jiffy_wait = jiffy_elapsed_rnd - jiffy_elapsed; in tg_within_iops_limit()853 *wait = jiffy_wait; in tg_within_iops_limit()862 unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd; in tg_within_bps_limit() local889 jiffy_wait = div64_u64(extra_bytes * HZ, bps_limit); in tg_within_bps_limit()891 if (!jiffy_wait) in tg_within_bps_limit()892 jiffy_wait = 1; in tg_within_bps_limit()898 jiffy_wait = jiffy_wait + (jiffy_elapsed_rnd - jiffy_elapsed); in tg_within_bps_limit()900 *wait = jiffy_wait; in tg_within_bps_limit()