Lines Matching defs:usage
129 * device on its own. Let's say A's usage amounts to 100ms worth of IO
139 * A's weight will be lowered so that it hovers above the actual usage and
297 /* halve debts if avg usage over 100ms is under 50% */
1740 u32 usage, struct ioc_now *now)
1767 * consume the usage determined above, we want to determine new_hwi so
1770 * We need to execute usage worth of IOs while spending the sum of the
1774 * usage = (1 - MARGIN_TARGET + delta) * new_hwi
1778 * new_hwi = usage / (1 - MARGIN_TARGET + delta)
1783 new_hwi = div64_s64(WEIGHT_ONE * usage, WEIGHT_ONE - target + delta);
2100 * average usage and reset the period counters.
2264 * below needs updated usage stat. Let's bring stat up-to-date.
2268 /* calc usage and see whether some weights need to be moved around */
2296 * Determine absolute usage factoring in in-flight IOs to avoid
2307 u32 hwa, old_hwi, hwm, new_hwi, usage;
2318 /* convert to hweight based usage ratio */
2324 usage = clamp_t(u32,
2336 usage, &now);
3052 seq_printf(s, " cost.usage=%llu", iocg->last_stat.usage_us);