Home
last modified time | relevance | path

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

/block/
Dblk-iocost.c2070 u64 dur, usage_pct, nr_cycles; in ioc_forgive_debts() local
2097 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()
Dbfq-iosched.c1019 u64 dur; in bfq_wr_duration() local
1024 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()