Searched refs:dur (Results 1 – 2 of 2) sorted by relevance
2070 u64 dur, usage_pct, nr_cycles; in ioc_forgive_debts() local2097 dur = now->now - ioc->dfgv_period_at; in ioc_forgive_debts()2098 usage_pct = div64_u64(100 * ioc->dfgv_usage_us_sum, dur); in ioc_forgive_debts()2118 nr_cycles = dur + ioc->dfgv_period_rem; in ioc_forgive_debts()
1019 u64 dur; in bfq_wr_duration() local1024 dur = bfqd->rate_dur_prod; in bfq_wr_duration()1025 do_div(dur, bfqd->peak_rate); in bfq_wr_duration()1047 return clamp_val(dur, msecs_to_jiffies(3000), msecs_to_jiffies(25000)); in bfq_wr_duration()