Home
last modified time | relevance | path

Searched refs:scale_load (Results 1 - 3 of 3) sorted by relevance

/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dcore.c918 load->weight = scale_load(WEIGHT_IDLEPRIO); in set_load_weight()
930 load->weight = scale_load(sched_prio_to_weight[prio]); in set_load_weight()
8944 return sched_group_set_shares(css_tg(css), scale_load(shareval)); in cpu_shares_write_u64()
9379 return sched_group_set_shares(css_tg(css), scale_load(weight)); in cpu_weight_write_u64()
9415 return sched_group_set_shares(css_tg(css), scale_load(weight)); in cpu_weight_nice_write_s64()
H A Dsched.h189 #define scale_load(w) ((w) << SCHED_FIXEDPOINT_SHIFT) macro
199 #define scale_load(w) (w) macro
206 * scale_load() and scale_load_down(w) to convert between them. The
209 * scale_load(sched_prio_to_weight[USER_PRIO(NICE_TO_PRIO(0))]) == NICE_0_LOAD
H A Dfair.c3237 unsigned long weight = scale_load(sched_prio_to_weight[prio]); in reweight_task()
3344 * E.g. on 64-bit for a group with tg->shares of scale_load(15)=15*1024 in calc_group_shares()
3346 * to be 15*1024*1/8=1920 instead of scale_load(MIN_SHARES)=2*1024. In in calc_group_shares()
11999 shares = clamp(shares, scale_load(MIN_SHARES), scale_load(MAX_SHARES)); in sched_group_set_shares()

Completed in 31 milliseconds