Searched refs:tg_weight (Results 1 – 1 of 1) sorted by relevance
2323 long tg_weight; in calc_tg_weight() local2330 tg_weight = atomic_long_read(&tg->load_avg); in calc_tg_weight()2331 tg_weight -= cfs_rq->tg_load_contrib; in calc_tg_weight()2332 tg_weight += cfs_rq->load.weight; in calc_tg_weight()2334 return tg_weight; in calc_tg_weight()2339 long tg_weight, load, shares; in calc_cfs_shares() local2341 tg_weight = calc_tg_weight(tg, cfs_rq); in calc_cfs_shares()2345 if (tg_weight) in calc_cfs_shares()2346 shares /= tg_weight; in calc_cfs_shares()