Lines Matching refs:sibling
895 struct sched_domain *sibling; in build_balance_mask() local
901 sibling = *per_cpu_ptr(sdd->sd, i); in build_balance_mask()
908 if (!sibling->child) in build_balance_mask()
912 if (!cpumask_equal(sg_span, sched_domain_span(sibling->child))) in build_balance_mask()
980 find_descended_sibling(struct sched_domain *sd, struct sched_domain *sibling) in find_descended_sibling() argument
986 while (sibling->child && in find_descended_sibling()
987 !cpumask_subset(sched_domain_span(sibling->child), in find_descended_sibling()
989 sibling = sibling->child; in find_descended_sibling()
996 while (sibling->child && in find_descended_sibling()
997 cpumask_equal(sched_domain_span(sibling->child), in find_descended_sibling()
998 sched_domain_span(sibling))) in find_descended_sibling()
999 sibling = sibling->child; in find_descended_sibling()
1001 return sibling; in find_descended_sibling()
1011 struct sched_domain *sibling; in build_overlap_sched_groups() local
1022 sibling = *per_cpu_ptr(sdd->sd, i); in build_overlap_sched_groups()
1034 if (!cpumask_test_cpu(i, sched_domain_span(sibling))) in build_overlap_sched_groups()
1068 if (sibling->child && in build_overlap_sched_groups()
1069 !cpumask_subset(sched_domain_span(sibling->child), span)) in build_overlap_sched_groups()
1070 sibling = find_descended_sibling(sd, sibling); in build_overlap_sched_groups()
1072 sg = build_group_from_child_sched_domain(sibling, cpu); in build_overlap_sched_groups()
1079 init_overlap_sched_group(sibling, sg); in build_overlap_sched_groups()