Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A Dbfq-iosched.c3439 bfqd->peak_rate_samples = 1; in bfq_reset_rate_computation()
3444 bfqd->peak_rate_samples = 0; /* full re-init on next disp. */ in bfq_reset_rate_computation()
3448 bfqd->peak_rate_samples, bfqd->sequential_samples, in bfq_reset_rate_computation()
3464 if (bfqd->peak_rate_samples < BFQ_RATE_MIN_SAMPLES || in bfq_update_rate_reset()
3491 if ((bfqd->sequential_samples < (3 * bfqd->peak_rate_samples)>>2 && in bfq_update_rate_reset()
3519 weight = (9 * bfqd->sequential_samples) / bfqd->peak_rate_samples; in bfq_update_rate_reset()
3597 if (bfqd->peak_rate_samples == 0) { /* first dispatch */ in bfq_update_peak_rate()
3599 bfqd->peak_rate_samples); in bfq_update_peak_rate()
3621 bfqd->peak_rate_samples++; in bfq_update_peak_rate()
3631 if (likely(bfqd->peak_rate_samples % 32)) in bfq_update_peak_rate()
H A Dbfq-iosched.h671 int peak_rate_samples; member