Searched refs:tg_weight (Results 1 – 2 of 2) sorted by relevance
3887 long tg_weight, tg_shares, load, shares; in calc_group_shares() local3894 tg_weight = atomic_long_read(&tg->load_avg); in calc_group_shares()3897 tg_weight -= cfs_rq->tg_load_avg_contrib; in calc_group_shares()3898 tg_weight += load; in calc_group_shares()3901 if (tg_weight) in calc_group_shares()3902 shares /= tg_weight; in calc_group_shares()
9402 static unsigned long tg_weight(struct task_group *tg) in tg_weight() function9428 return tg_weight(css_tg(css)); in cpu_shares_read_u64()10010 return sched_weight_to_cgroup(tg_weight(css_tg(css))); in cpu_weight_read_u64()10033 unsigned long weight = tg_weight(css_tg(css)); in cpu_weight_nice_read_s64()