Lines Matching refs:busy_level
435 int busy_level; /* saturation history */ member
2040 if (ioc->busy_level > 0) in ioc_forgive_debts()
2316 prev_busy_level = ioc->busy_level; in ioc_timer_fn()
2321 ioc->busy_level = max(ioc->busy_level, 0); in ioc_timer_fn()
2322 ioc->busy_level++; in ioc_timer_fn()
2332 ioc->busy_level = min(ioc->busy_level, 0); in ioc_timer_fn()
2339 ioc->busy_level--; in ioc_timer_fn()
2347 ioc->busy_level = 0; in ioc_timer_fn()
2351 ioc->busy_level = 0; in ioc_timer_fn()
2354 ioc->busy_level = clamp(ioc->busy_level, -1000, 1000); in ioc_timer_fn()
2356 if (ioc->busy_level > 0 || (ioc->busy_level < 0 && !nr_lagging)) { in ioc_timer_fn()
2378 int idx = min_t(int, abs(ioc->busy_level), in ioc_timer_fn()
2382 if (ioc->busy_level > 0) in ioc_timer_fn()
2396 } else if (ioc->busy_level != prev_busy_level || nr_lagging) { in ioc_timer_fn()
2416 ioc->busy_level = 0; in ioc_timer_fn()