shares 212 kernel/sched/autogroup.c unsigned long shares; shares 233 kernel/sched/autogroup.c shares = scale_load(sched_prio_to_weight[idx]); shares 236 kernel/sched/autogroup.c err = sched_group_set_shares(ag->tg, shares); shares 6631 kernel/sched/core.c root_task_group.shares = ROOT_TASK_GROUP_LOAD; shares 7368 kernel/sched/core.c return (u64) scale_load_down(tg->shares); shares 7743 kernel/sched/core.c u64 weight = scale_load_down(tg->shares); shares 7769 kernel/sched/core.c unsigned long weight = scale_load_down(css_tg(css)->shares); shares 2996 kernel/sched/fair.c long tg_weight, tg_shares, load, shares; shares 2999 kernel/sched/fair.c tg_shares = READ_ONCE(tg->shares); shares 3009 kernel/sched/fair.c shares = (tg_shares * load); shares 3011 kernel/sched/fair.c shares /= tg_weight; shares 3025 kernel/sched/fair.c return clamp_t(long, shares, MIN_SHARES, tg_shares); shares 3055 kernel/sched/fair.c static long calc_group_runnable(struct cfs_rq *cfs_rq, long shares) shares 3065 kernel/sched/fair.c runnable *= shares; shares 3069 kernel/sched/fair.c return clamp_t(long, runnable, MIN_SHARES, shares); shares 3082 kernel/sched/fair.c long shares, runnable; shares 3091 kernel/sched/fair.c runnable = shares = READ_ONCE(gcfs_rq->tg->shares); shares 3093 kernel/sched/fair.c if (likely(se->load.weight == shares)) shares 3096 kernel/sched/fair.c shares = calc_group_shares(gcfs_rq); shares 3097 kernel/sched/fair.c runnable = calc_group_runnable(gcfs_rq, shares); shares 3100 kernel/sched/fair.c reweight_entity(cfs_rq_of(se), se, shares, runnable); shares 10291 kernel/sched/fair.c tg->shares = NICE_0_LOAD; shares 10395 kernel/sched/fair.c int sched_group_set_shares(struct task_group *tg, unsigned long shares) shares 10405 kernel/sched/fair.c shares = clamp(shares, scale_load(MIN_SHARES), scale_load(MAX_SHARES)); shares 10408 kernel/sched/fair.c if (tg->shares == shares) shares 10411 kernel/sched/fair.c tg->shares = shares; shares 369 kernel/sched/sched.h unsigned long shares; shares 478 kernel/sched/sched.h extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);