Lines Matching full:excess
1748 * function also throws away @iocg's excess budget.
1755 s64 excess, delta, target, new_hwi; in hweight_after_donation() local
1766 /* throw away excess above target */ in hweight_after_donation()
1767 excess = now->vnow - vtime - ioc->margins.target; in hweight_after_donation()
1768 if (excess > 0) { in hweight_after_donation()
1769 atomic64_add(excess, &iocg->vtime); in hweight_after_donation()
1770 atomic64_add(excess, &iocg->done_vtime); in hweight_after_donation()
1771 vtime += excess; in hweight_after_donation()
1772 ioc->vtime_err -= div64_u64(excess * old_hwi, WEIGHT_ONE); in hweight_after_donation()
2212 s64 excess; in ioc_check_iocgs() local
2220 excess = now->vnow - vtime - ioc->margins.target; in ioc_check_iocgs()
2221 if (excess > 0) { in ioc_check_iocgs()
2225 ioc->vtime_err -= div64_u64(excess * old_hwi, in ioc_check_iocgs()