Searched refs:WEIGHT_ONE (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/cgroup/ |
H A D | iocost_monitor.py | 48 WEIGHT_ONE = prog['WEIGHT_ONE'].value_() variable 146 self.weight = iocg.weight.value_() / WEIGHT_ONE 147 self.active = iocg.active.value_() / WEIGHT_ONE 148 self.inuse = iocg.inuse.value_() / WEIGHT_ONE 149 self.hwa_pct = iocg.hweight_active.value_() * 100 / WEIGHT_ONE 150 self.hwi_pct = iocg.hweight_inuse.value_() * 100 / WEIGHT_ONE
|
/kernel/linux/linux-6.6/tools/cgroup/ |
H A D | iocost_monitor.py | 48 WEIGHT_ONE = prog['WEIGHT_ONE'].value_() variable 149 self.weight = iocg.weight.value_() / WEIGHT_ONE 150 self.active = iocg.active.value_() / WEIGHT_ONE 151 self.inuse = iocg.inuse.value_() / WEIGHT_ONE 152 self.hwa_pct = iocg.hweight_active.value_() * 100 / WEIGHT_ONE 153 self.hwi_pct = iocg.hweight_inuse.value_() * 100 / WEIGHT_ONE
|
/kernel/linux/linux-5.10/block/ |
H A D | blk-iocost.c | 71 * upto 1 (WEIGHT_ONE). 234 WEIGHT_ONE = 1 << 16, enumerator 714 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost() 722 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost() 1133 hwa = hwi = WEIGHT_ONE; in current_hweight() 1169 u32 hwm = WEIGHT_ONE; in current_hweight_max() 1710 ioc->vtime_err -= div64_u64(excess * old_hwi, WEIGHT_ONE); in hweight_after_donation() 1729 delta = div64_s64(WEIGHT_ONE * (now->vnow - vtime), in hweight_after_donation() 1731 target = WEIGHT_ONE * MARGIN_TARGET_PCT / 100; in hweight_after_donation() 1732 new_hwi = div64_s64(WEIGHT_ONE * usag in hweight_after_donation() [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-iocost.c | 71 * upto 1 (WEIGHT_ONE). 234 WEIGHT_ONE = 1 << 16, enumerator 706 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost() 714 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost() 1190 hwa = hwi = WEIGHT_ONE; in current_hweight() 1226 u32 hwm = WEIGHT_ONE; in current_hweight_max() 1761 ioc->vtime_err -= div64_u64(excess * old_hwi, WEIGHT_ONE); in hweight_after_donation() 1780 delta = div64_s64(WEIGHT_ONE * (now->vnow - vtime), in hweight_after_donation() 1782 target = WEIGHT_ONE * MARGIN_TARGET_PCT / 100; in hweight_after_donation() 1783 new_hwi = div64_s64(WEIGHT_ONE * usag in hweight_after_donation() [all...] |
Completed in 19 milliseconds