Lines Matching refs:tl

1080 sd_init(struct sched_domain_topology_level *tl,  in sd_init()  argument
1084 struct sd_data *sdd = &tl->data; in sd_init()
1092 sched_domains_curr_level = tl->numa_level; in sd_init()
1095 sd_weight = cpumask_weight(tl->mask(cpu)); in sd_init()
1097 if (tl->sd_flags) in sd_init()
1098 sd_flags = (*tl->sd_flags)(); in sd_init()
1137 .name = tl->name, in sd_init()
1141 cpumask_and(sched_domain_span(sd), cpu_map, tl->mask(cpu)); in sd_init()
1173 if (sched_domains_numa_distance[tl->numa_level] > RECLAIM_DISTANCE) { in sd_init()
1219 #define for_each_sd_topology(tl) \ argument
1220 for (tl = sched_domain_topology; tl->mask; tl++)
1222 void set_sched_topology(struct sched_domain_topology_level *tl) in set_sched_topology() argument
1227 sched_domain_topology = tl; in set_sched_topology()
1328 struct sched_domain_topology_level *tl; in sched_init_numa() local
1434 tl = kzalloc((i + level + 1) * in sched_init_numa()
1436 if (!tl) in sched_init_numa()
1443 tl[i] = sched_domain_topology[i]; in sched_init_numa()
1448 tl[i++] = (struct sched_domain_topology_level){ in sched_init_numa()
1458 tl[i] = (struct sched_domain_topology_level){ in sched_init_numa()
1467 sched_domain_topology = tl; in sched_init_numa()
1502 struct sched_domain_topology_level *tl; in __sdt_alloc() local
1505 for_each_sd_topology(tl) { in __sdt_alloc()
1506 struct sd_data *sdd = &tl->data; in __sdt_alloc()
1571 struct sched_domain_topology_level *tl; in __sdt_free() local
1574 for_each_sd_topology(tl) { in __sdt_free()
1575 struct sd_data *sdd = &tl->data; in __sdt_free()
1605 static struct sched_domain *build_sched_domain(struct sched_domain_topology_level *tl, in build_sched_domain() argument
1609 struct sched_domain *sd = sd_init(tl, cpu_map, child, cpu); in build_sched_domain()
1654 struct sched_domain_topology_level *tl; in build_sched_domains() local
1657 for_each_sd_topology(tl) { in build_sched_domains()
1658 sd = build_sched_domain(tl, cpu_map, attr, sd, i); in build_sched_domains()
1659 if (tl == sched_domain_topology) in build_sched_domains()
1661 if (tl->flags & SDTL_OVERLAP) in build_sched_domains()