Home
last modified time | relevance | path

Searched refs:WEIGHT_ONE (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/tools/cgroup/
H A Diocost_monitor.py48 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
/linux-6.15/block/
H A Dblk-iocost.c234 WEIGHT_ONE = 1 << 16, enumerator
1197 hwa = hwi = WEIGHT_ONE; in current_hweight()
1233 u32 hwm = WEIGHT_ONE; in current_hweight_max()
1794 new_hwi = div64_s64(WEIGHT_ONE * usage, WEIGHT_ONE - target + delta); in hweight_after_donation()
1884 if (after_sum >= WEIGHT_ONE) { in transfer_surpluses()
1986 (WEIGHT_ONE - root_iocg->hweight_after_donation) * WEIGHT_ONE, in transfer_surpluses()
1987 WEIGHT_ONE - min_t(u32, root_iocg->hweight_donating, WEIGHT_ONE - 1)); in transfer_surpluses()
2226 WEIGHT_ONE); in ioc_check_iocgs()
2340 1, WEIGHT_ONE); in ioc_timer_fn()
3002 iocg->hweight_active = WEIGHT_ONE; in ioc_pd_init()
[all …]