Lines Matching defs:child
65 if ((meta_flags & SDF_SHARED_CHILD) && sd->child && !(sd->child->flags & flag)) {
66 printk(KERN_ERR "ERROR: flag %s set here but not in child\n", sd_flag_debug[idx].name);
106 if (group == sd->groups && sd->child && !cpumask_equal(sched_domain_span(sd->child), sched_group_span(group))) {
107 printk(KERN_ERR "ERROR: domain->groups does not match domain->child\n");
727 parent->parent->child = tmp;
748 sd->child = NULL;
828 * When we iterate a domain in child domain chunks some nodes can be
837 * - the first group of each domain is its child domain; this
839 * - the only uncovered node is 2, who's child domain is 1-3.
848 * (child) domain tree.
893 * isn't complete yet, however since each group represents a (child) domain we
914 if (!sibling->child) {
919 if (!cpumask_equal(sg_span, sched_domain_span(sibling->child))) {
946 if (sd->child) {
947 cpumask_copy(sg_span, sched_domain_span(sd->child));
987 * The proper descendant would be the one whose child won't span out
990 while (sibling->child && !cpumask_subset(sched_domain_span(sibling->child), sched_domain_span(sd))) {
991 sibling = sibling->child;
999 while (sibling->child && cpumask_equal(sched_domain_span(sibling->child), sched_domain_span(sibling))) {
1000 sibling = sibling->child;
1041 * Usually we build sched_group by sibling's child sched_domain
1043 * to build sched_group by sibling's proper descendant's child
1044 * domain because sibling's child sched_domain will span out of
1071 if (sibling->child && !cpumask_subset(sched_domain_span(sibling->child), span)) {
1122 * The sched_domains are per-CPU and have a two way link (parent & child) and
1147 * topology levels, while sched_group moves you sideways through it, at child
1172 * [*] in other words, the first group of each domain is its child domain.
1178 struct sched_domain *child = sd->child;
1182 if (child) {
1183 cpu = cpumask_first(sched_domain_span(child));
1199 if (child) {
1200 cpumask_copy(sched_group_span(sg), sched_domain_span(child));
1448 struct sched_domain *child, int dflags, int cpu)
1489 .child = child,
1503 if ((sd->flags & SD_ASYM_CPUCAPACITY) && sd->child) {
1504 sd->child->flags &= ~SD_PREFER_SIBLING;
1985 struct sched_domain_attr *attr, struct sched_domain *child, int dflags,
1988 struct sched_domain *sd = sd_init(tl, cpu_map, child, dflags, cpu);
1990 if (child) {
1991 sd->level = child->level + 1;
1993 child->parent = sd;
1995 if (!cpumask_subset(sched_domain_span(child), sched_domain_span(sd))) {
1998 pr_err(" the %s domain not a subset of the %s domain\n", child->name, sd->name);
2000 /* Fixup, ensure @sd has at least @child CPUs. */
2001 cpumask_or(sched_domain_span(sd), sched_domain_span(sd), sched_domain_span(child));