Searched refs:tg_weight (Results 1 – 1 of 1) sorted by relevance
2364 long tg_weight; in calc_tg_weight() local2371 tg_weight = atomic_long_read(&tg->load_avg); in calc_tg_weight()2372 tg_weight -= cfs_rq->tg_load_avg_contrib; in calc_tg_weight()2373 tg_weight += cfs_rq->load.weight; in calc_tg_weight()2375 return tg_weight; in calc_tg_weight()2380 long tg_weight, load, shares; in calc_cfs_shares() local2382 tg_weight = calc_tg_weight(tg, cfs_rq); in calc_cfs_shares()2386 if (tg_weight) in calc_cfs_shares()2387 shares /= tg_weight; in calc_cfs_shares()