Home
last modified time | relevance | path

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

/block/
Dkyber-iosched.c624 u64 divisor; in add_latency_sample() local
627 divisor = max_t(u64, target >> KYBER_LATENCY_SHIFT, 1); in add_latency_sample()
628 bucket = min_t(unsigned int, div64_u64(latency - 1, divisor), in add_latency_sample()
Dbfq-iosched.c3305 u32 rate, weight, divisor; in bfq_update_rate_reset() local
3384 divisor = 10 - weight; in bfq_update_rate_reset()
3391 bfqd->peak_rate *= divisor-1; in bfq_update_rate_reset()
3392 bfqd->peak_rate /= divisor; in bfq_update_rate_reset()
3393 rate /= divisor; /* smoothing constant alpha = 1/divisor */ in bfq_update_rate_reset()