• Home
  • Raw
  • Download

Lines Matching refs:WEIGHT_ONE

234 	WEIGHT_ONE		= 1 << 16,  enumerator
712 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost()
720 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost()
1179 hwa = hwi = WEIGHT_ONE; in current_hweight()
1215 u32 hwm = WEIGHT_ONE; in current_hweight_max()
1756 ioc->vtime_err -= div64_u64(excess * old_hwi, WEIGHT_ONE); in hweight_after_donation()
1775 delta = div64_s64(WEIGHT_ONE * (now->vnow - vtime), in hweight_after_donation()
1777 target = WEIGHT_ONE * MARGIN_TARGET_PCT / 100; in hweight_after_donation()
1778 new_hwi = div64_s64(WEIGHT_ONE * usage, WEIGHT_ONE - target + delta); in hweight_after_donation()
1868 if (after_sum >= WEIGHT_ONE) { in transfer_surpluses()
1873 u32 over_delta = after_sum - (WEIGHT_ONE - 1); in transfer_surpluses()
1970 (WEIGHT_ONE - root_iocg->hweight_after_donation) * WEIGHT_ONE, in transfer_surpluses()
1971 WEIGHT_ONE - min_t(u32, root_iocg->hweight_donating, WEIGHT_ONE - 1)); in transfer_surpluses()
1985 iocg->child_active_sum * (WEIGHT_ONE - iocg->hweight_donating), in transfer_surpluses()
1986 WEIGHT_ONE - iocg->hweight_after_donation); in transfer_surpluses()
1995 WEIGHT_ONE) + iocg->hweight_after_donation; in transfer_surpluses()
2208 WEIGHT_ONE); in ioc_check_iocgs()
2318 DIV64_U64_ROUND_UP(usage_us * WEIGHT_ONE, in ioc_timer_fn()
2320 1, WEIGHT_ONE); in ioc_timer_fn()
2938 iocc->dfl_weight = CGROUP_WEIGHT_DFL * WEIGHT_ONE; in ioc_cpd_alloc()
2984 iocg->hweight_active = WEIGHT_ONE; in ioc_pd_init()
2985 iocg->hweight_inuse = WEIGHT_ONE; in ioc_pd_init()
3063 seq_printf(sf, "%s %u\n", dname, iocg->cfg_weight / WEIGHT_ONE); in ioc_weight_prfill()
3073 seq_printf(sf, "default %u\n", iocc->dfl_weight / WEIGHT_ONE); in ioc_weight_show()
3100 iocc->dfl_weight = v * WEIGHT_ONE; in ioc_weight_write()
3132 iocg->cfg_weight = v * WEIGHT_ONE; in ioc_weight_write()