Searched refs:dur (Results 1 – 2 of 2) sorted by relevance
2024 u64 dur, usage_pct, nr_cycles; in ioc_forgive_debts() local2051 dur = now->now - ioc->dfgv_period_at; in ioc_forgive_debts()2052 usage_pct = div64_u64(100 * ioc->dfgv_usage_us_sum, dur); in ioc_forgive_debts()2072 nr_cycles = dur + ioc->dfgv_period_rem; in ioc_forgive_debts()
978 u64 dur; in bfq_wr_duration() local983 dur = bfqd->rate_dur_prod; in bfq_wr_duration()984 do_div(dur, bfqd->peak_rate); in bfq_wr_duration()1006 return clamp_val(dur, msecs_to_jiffies(3000), msecs_to_jiffies(25000)); in bfq_wr_duration()