Lines Matching refs: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% */
1689 u32 usage, struct ioc_now *now)
1716 * consume the usage determined above, we want to determine new_hwi so
1719 * We need to execute usage worth of IOs while spending the sum of the
1723 * usage = (1 - MARGIN_TARGET + delta) * new_hwi
1727 * new_hwi = usage / (1 - MARGIN_TARGET + delta)
1732 new_hwi = div64_s64(WEIGHT_ONE * usage, WEIGHT_ONE - target + delta);
2049 * average usage and reset the period counters.
2194 * below needs updated usage stat. Let's bring stat up-to-date.
2198 /* calc usage and see whether some weights need to be moved around */
2201 u32 usage, hw_active, hw_inuse;
2226 * Determine absolute usage factoring in in-flight IOs to avoid
2239 /* convert to hweight based usage ratio */
2245 usage = clamp_t(u32,
2264 usage, &now);
3020 pos += scnprintf(buf + pos, size - pos, " cost.usage=%llu",