Lines Matching refs:sg
9264 struct sched_group *sg) in asym_smt_can_pull_tasks() argument
9271 sg_is_smt = sg->flags & SD_SHARE_CPUCAPACITY; in asym_smt_can_pull_tasks()
9290 return sched_asym_prefer(dst_cpu, sg->asym_prefer_cpu); in asym_smt_can_pull_tasks()
9301 return sched_asym_prefer(dst_cpu, sg->asym_prefer_cpu); in asym_smt_can_pull_tasks()
9312 return sched_asym_prefer(dst_cpu, sg->asym_prefer_cpu); in asym_smt_can_pull_tasks()
9448 struct sched_group *sg, in update_sd_pick_busiest() argument
9465 (!capacity_greater(capacity_of(env->dst_cpu), sg->sgc->max_capacity) || in update_sd_pick_busiest()
9496 if (sched_asym_prefer(sg->asym_prefer_cpu, sds->busiest->asym_prefer_cpu)) in update_sd_pick_busiest()
9549 (capacity_greater(sg->sgc->min_capacity, capacity_of(env->dst_cpu)))) in update_sd_pick_busiest()
9997 struct sched_group *sg = env->sd->groups; in update_sd_lb_stats() local
10007 local_group = cpumask_test_cpu(env->dst_cpu, sched_group_span(sg)); in update_sd_lb_stats()
10009 sds->local = sg; in update_sd_lb_stats()
10013 time_after_eq(jiffies, sg->sgc->next_update)) in update_sd_lb_stats()
10017 update_sg_lb_stats(env, sds, sg, sgs, &sg_status); in update_sd_lb_stats()
10023 if (update_sd_pick_busiest(env, sds, sg, sgs)) { in update_sd_lb_stats()
10024 sds->busiest = sg; in update_sd_lb_stats()
10034 sg = sg->next; in update_sd_lb_stats()
10035 } while (sg != env->sd->groups); in update_sd_lb_stats()
10607 struct sched_group *sg = env->sd->groups; in should_we_balance() local
10631 for_each_cpu_and(cpu, group_balance_mask(sg), env->cpus) { in should_we_balance()
10640 return group_balance_cpu(sg) == env->dst_cpu; in should_we_balance()