Home
last modified time | relevance | path

Searched refs:tg_weight (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/sched/
H A Dfair.c5050 long tg_weight, load, shares; in __calc_smp_shares() local
5054 tg_weight = atomic_long_read(&tg->load_avg); in __calc_smp_shares()
5057 tg_weight -= cfs_rq->tg_load_avg_contrib; in __calc_smp_shares()
5058 tg_weight += load; in __calc_smp_shares()
5061 if (tg_weight) in __calc_smp_shares()
5062 shares /= tg_weight; in __calc_smp_shares()
H A Dcore.c9776 static unsigned long tg_weight(struct task_group *tg) in tg_weight() function
9802 return tg_weight(css_tg(css)); in cpu_shares_read_u64()
10387 return sched_weight_to_cgroup(tg_weight(css_tg(css))); in cpu_weight_read_u64()
10410 unsigned long weight = tg_weight(css_tg(css)); in cpu_weight_nice_read_s64()