Searched refs:WEIGHT_ONE (Results 1 – 2 of 2) sorted by relevance
48 WEIGHT_ONE = prog['WEIGHT_ONE'].value_() variable146 self.weight = iocg.weight.value_() / WEIGHT_ONE147 self.active = iocg.active.value_() / WEIGHT_ONE148 self.inuse = iocg.inuse.value_() / WEIGHT_ONE149 self.hwa_pct = iocg.hweight_active.value_() * 100 / WEIGHT_ONE150 self.hwi_pct = iocg.hweight_inuse.value_() * 100 / WEIGHT_ONE
234 WEIGHT_ONE = 1 << 16, enumerator703 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost()711 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost()1165 hwa = hwi = WEIGHT_ONE; in current_hweight()1201 u32 hwm = WEIGHT_ONE; in current_hweight_max()1729 ioc->vtime_err -= div64_u64(excess * old_hwi, WEIGHT_ONE); in hweight_after_donation()1748 delta = div64_s64(WEIGHT_ONE * (now->vnow - vtime), in hweight_after_donation()1750 target = WEIGHT_ONE * MARGIN_TARGET_PCT / 100; in hweight_after_donation()1751 new_hwi = div64_s64(WEIGHT_ONE * usage, WEIGHT_ONE - target + delta); in hweight_after_donation()1841 if (after_sum >= WEIGHT_ONE) { in transfer_surpluses()[all …]