Searched refs:old_hwi (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/block/ |
H A D | blk-iocost.c | 1688 static u32 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm, in hweight_after_donation() argument 1710 ioc->vtime_err -= div64_u64(excess * old_hwi, WEIGHT_ONE); in hweight_after_donation() 2177 u32 old_hwi; in ioc_timer_fn() local 2179 current_hweight(iocg, NULL, &old_hwi); in ioc_timer_fn() 2180 ioc->vtime_err -= div64_u64(excess * old_hwi, in ioc_timer_fn() 2255 u32 hwa, old_hwi, hwm, new_hwi; in ioc_timer_fn() local 2261 current_hweight(iocg, &hwa, &old_hwi); in ioc_timer_fn() 2263 new_hwi = hweight_after_donation(iocg, old_hwi, hwm, in ioc_timer_fn() 2432 u32 __maybe_unused old_inuse = iocg->inuse, __maybe_unused old_hwi; in adjust_inuse_and_calc_cost() local 2439 old_hwi in adjust_inuse_and_calc_cost() [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-iocost.c | 1739 static u32 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm, in hweight_after_donation() argument 1761 ioc->vtime_err -= div64_u64(excess * old_hwi, WEIGHT_ONE); in hweight_after_donation() 2209 u32 old_hwi; in ioc_check_iocgs() local 2211 current_hweight(iocg, NULL, &old_hwi); in ioc_check_iocgs() 2212 ioc->vtime_err -= div64_u64(excess * old_hwi, in ioc_check_iocgs() 2307 u32 hwa, old_hwi, hwm, new_hwi, usage; in ioc_timer_fn() local 2333 current_hweight(iocg, &hwa, &old_hwi); in ioc_timer_fn() 2335 new_hwi = hweight_after_donation(iocg, old_hwi, hwm, in ioc_timer_fn() 2461 u32 __maybe_unused old_inuse = iocg->inuse, __maybe_unused old_hwi; in adjust_inuse_and_calc_cost() local 2468 old_hwi in adjust_inuse_and_calc_cost() [all...] |
Completed in 9 milliseconds