Searched refs:new_hwi (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/block/ |
H A D | blk-iocost.c | 1693 s64 excess, delta, target, new_hwi; in hweight_after_donation() local 1716 * consume the usage determined above, we want to determine new_hwi so in hweight_after_donation() 1723 * usage = (1 - MARGIN_TARGET + delta) * new_hwi in hweight_after_donation() 1725 * Therefore, the new_hwi is: in hweight_after_donation() 1727 * new_hwi = usage / (1 - MARGIN_TARGET + delta) in hweight_after_donation() 1732 new_hwi = div64_s64(WEIGHT_ONE * usage, WEIGHT_ONE - target + delta); in hweight_after_donation() 1734 return clamp_t(s64, new_hwi, 1, hwm); in hweight_after_donation() 2255 u32 hwa, old_hwi, hwm, new_hwi; in ioc_timer_fn() local 2263 new_hwi = hweight_after_donation(iocg, old_hwi, hwm, in ioc_timer_fn() 2272 if (new_hwi < hw in ioc_timer_fn() [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-iocost.c | 1744 s64 excess, delta, target, new_hwi; in hweight_after_donation() local 1767 * consume the usage determined above, we want to determine new_hwi so in hweight_after_donation() 1774 * usage = (1 - MARGIN_TARGET + delta) * new_hwi in hweight_after_donation() 1776 * Therefore, the new_hwi is: in hweight_after_donation() 1778 * new_hwi = usage / (1 - MARGIN_TARGET + delta) in hweight_after_donation() 1783 new_hwi = div64_s64(WEIGHT_ONE * usage, WEIGHT_ONE - target + delta); in hweight_after_donation() 1785 return clamp_t(s64, new_hwi, 1, hwm); in hweight_after_donation() 2307 u32 hwa, old_hwi, hwm, new_hwi, usage; in ioc_timer_fn() local 2335 new_hwi = hweight_after_donation(iocg, old_hwi, hwm, in ioc_timer_fn() 2344 if (new_hwi < hw in ioc_timer_fn() [all...] |
Completed in 9 milliseconds