Home
last modified time | relevance | path

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

/openbmc/linux/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
/openbmc/linux/block/
H A Dblk-iocost.c234 WEIGHT_ONE = 1 << 16, enumerator
1190 hwa = hwi = WEIGHT_ONE; in current_hweight()
1226 u32 hwm = WEIGHT_ONE; in current_hweight_max()
1787 new_hwi = div64_s64(WEIGHT_ONE * usage, WEIGHT_ONE - target + delta); in hweight_after_donation()
1877 if (after_sum >= WEIGHT_ONE) { in transfer_surpluses()
1979 (WEIGHT_ONE - root_iocg->hweight_after_donation) * WEIGHT_ONE, in transfer_surpluses()
1980 WEIGHT_ONE - min_t(u32, root_iocg->hweight_donating, WEIGHT_ONE - 1)); in transfer_surpluses()
2219 WEIGHT_ONE); in ioc_check_iocgs()
2333 1, WEIGHT_ONE); in ioc_timer_fn()
2996 iocg->hweight_active = WEIGHT_ONE; in ioc_pd_init()
[all …]