Home
last modified time | relevance | path

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

/linux/kernel/sched/
H A Dfair.c4898 long tg_weight, load, shares; in __calc_smp_shares() local
4902 tg_weight = atomic_long_read(&tg->load_avg); in __calc_smp_shares()
4905 tg_weight -= cfs_rq->tg_load_avg_contrib; in __calc_smp_shares()
4906 tg_weight += load; in __calc_smp_shares()
4909 if (tg_weight) in __calc_smp_shares()
4910 shares /= tg_weight; in __calc_smp_shares()
H A Dcore.c9815 static unsigned long tg_weight(struct task_group *tg) in tg_weight() function
9841 return tg_weight(css_tg(css)); in cpu_shares_read_u64()
10426 return sched_weight_to_cgroup(tg_weight(css_tg(css))); in cpu_weight_read_u64()
10449 unsigned long weight = tg_weight(css_tg(css)); in cpu_weight_nice_read_s64()