Searched refs:tg_weight (Results 1 – 2 of 2) sorted by relevance
5050 long tg_weight, load, shares; in __calc_smp_shares() local5054 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()
9776 static unsigned long tg_weight(struct task_group *tg) in tg_weight() function9802 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()