Searched refs:old_hwi (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-iocost.c | 1672 static u32 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm, in hweight_after_donation() argument 1694 ioc->vtime_err -= div64_u64(excess * old_hwi, WEIGHT_ONE); in hweight_after_donation() 2161 u32 old_hwi; in ioc_timer_fn() local 2163 current_hweight(iocg, NULL, &old_hwi); in ioc_timer_fn() 2164 ioc->vtime_err -= div64_u64(excess * old_hwi, in ioc_timer_fn() 2239 u32 hwa, old_hwi, hwm, new_hwi; in ioc_timer_fn() local 2245 current_hweight(iocg, &hwa, &old_hwi); in ioc_timer_fn() 2247 new_hwi = hweight_after_donation(iocg, old_hwi, hwm, in ioc_timer_fn() 2416 u32 __maybe_unused old_inuse = iocg->inuse, __maybe_unused old_hwi; in adjust_inuse_and_calc_cost() local 2422 old_hwi = hwi; in adjust_inuse_and_calc_cost() [all …]
|