Lines Matching refs:idlest_sgs
10048 struct sg_lb_stats *idlest_sgs, in update_pick_idlest() argument
10052 if (sgs->group_type < idlest_sgs->group_type) in update_pick_idlest()
10055 if (sgs->group_type > idlest_sgs->group_type) in update_pick_idlest()
10067 if (idlest_sgs->avg_load <= sgs->avg_load) in update_pick_idlest()
10085 if (idlest_sgs->idle_cpus > sgs->idle_cpus) in update_pick_idlest()
10089 if (idlest_sgs->idle_cpus == sgs->idle_cpus && in update_pick_idlest()
10090 idlest_sgs->group_util <= sgs->group_util) in update_pick_idlest()
10112 struct sg_lb_stats idlest_sgs = { in find_idlest_group() local
10141 if (!local_group && update_pick_idlest(idlest, &idlest_sgs, group, sgs)) { in find_idlest_group()
10143 idlest_sgs = *sgs; in find_idlest_group()
10161 if (local_sgs.group_type < idlest_sgs.group_type) in find_idlest_group()
10168 if (local_sgs.group_type > idlest_sgs.group_type) in find_idlest_group()
10189 ((idlest_sgs.avg_load + imbalance) >= local_sgs.avg_load)) in find_idlest_group()
10196 if (idlest_sgs.avg_load >= (local_sgs.avg_load + imbalance)) in find_idlest_group()
10199 if (100 * local_sgs.avg_load <= sd->imbalance_pct * idlest_sgs.avg_load) in find_idlest_group()
10248 imbalance = abs(local_sgs.idle_cpus - idlest_sgs.idle_cpus); in find_idlest_group()
10263 if (local_sgs.idle_cpus >= idlest_sgs.idle_cpus) in find_idlest_group()