Searched refs:scale_load (Results 1 – 4 of 4) sorted by relevance
256 shares = scale_load(sched_prio_to_weight[idx]); in proc_sched_autogroup_set_nice()
146 # define scale_load(w) ((w) << SCHED_FIXEDPOINT_SHIFT) macro156 # define scale_load(w) (w) macro
1312 lw.weight = scale_load(WEIGHT_IDLEPRIO); in set_load_weight()1315 lw.weight = scale_load(sched_prio_to_weight[prio]); in set_load_weight()10835 return sched_group_set_shares(css_tg(css), scale_load(shareval)); in cpu_shares_write_u64()11372 return sched_group_set_shares(css_tg(css), scale_load(weight)); in cpu_weight_write_u64()11406 return sched_group_set_shares(css_tg(css), scale_load(weight)); in cpu_weight_nice_write_s64()
4016 * E.g. on 64-bit for a group with tg->shares of scale_load(15)=15*1024 in calc_group_shares() 4018 * to be 15*1024*1/8=1920 instead of scale_load(MIN_SHARES)=2*1024. In in calc_group_shares() 12990 shares = clamp(shares, scale_load(MIN_SHARES), scale_load(MAX_SHARES)); in __sched_group_set_shares() 13093 __sched_group_set_shares(tg, scale_load(WEIGHT_IDLEPRIO)); in sched_group_set_idle()