Lines Matching refs:tl
1315 sd_init(struct sched_domain_topology_level *tl, in sd_init() argument
1319 struct sd_data *sdd = &tl->data; in sd_init()
1327 sched_domains_curr_level = tl->numa_level; in sd_init()
1330 sd_weight = cpumask_weight(tl->mask(cpu)); in sd_init()
1332 if (tl->sd_flags) in sd_init()
1333 sd_flags = (*tl->sd_flags)(); in sd_init()
1369 .name = tl->name, in sd_init()
1373 cpumask_and(sched_domain_span(sd), cpu_map, tl->mask(cpu)); in sd_init()
1406 if (sched_domains_numa_distance[tl->numa_level] > node_reclaim_distance) { in sd_init()
1449 #define for_each_sd_topology(tl) \ argument
1450 for (tl = sched_domain_topology; tl->mask; tl++)
1452 void set_sched_topology(struct sched_domain_topology_level *tl) in set_sched_topology() argument
1457 sched_domain_topology = tl; in set_sched_topology()
1558 struct sched_domain_topology_level *tl; in sched_init_numa() local
1664 tl = kzalloc((i + level + 1) * in sched_init_numa()
1666 if (!tl) in sched_init_numa()
1673 tl[i] = sched_domain_topology[i]; in sched_init_numa()
1678 tl[i++] = (struct sched_domain_topology_level){ in sched_init_numa()
1688 tl[i] = (struct sched_domain_topology_level){ in sched_init_numa()
1697 sched_domain_topology = tl; in sched_init_numa()
1752 struct sched_domain_topology_level *tl; in __sdt_alloc() local
1755 for_each_sd_topology(tl) { in __sdt_alloc()
1756 struct sd_data *sdd = &tl->data; in __sdt_alloc()
1821 struct sched_domain_topology_level *tl; in __sdt_free() local
1824 for_each_sd_topology(tl) { in __sdt_free()
1825 struct sd_data *sdd = &tl->data; in __sdt_free()
1855 static struct sched_domain *build_sched_domain(struct sched_domain_topology_level *tl, in build_sched_domain() argument
1859 struct sched_domain *sd = sd_init(tl, cpu_map, child, dflags, cpu); in build_sched_domain()
1894 struct sched_domain_topology_level *tl, *asym_tl = NULL; in asym_cpu_capacity_level() local
1919 for_each_sd_topology(tl) { in asym_cpu_capacity_level()
1923 for_each_cpu_and(j, tl->mask(i), cpu_map) { in asym_cpu_capacity_level()
1933 asym_tl = tl; in asym_cpu_capacity_level()
1970 struct sched_domain_topology_level *tl; in build_sched_domains() local
1973 for_each_sd_topology(tl) { in build_sched_domains()
1976 if (tl == tl_asym) { in build_sched_domains()
1981 sd = build_sched_domain(tl, cpu_map, attr, sd, dflags, i); in build_sched_domains()
1983 if (tl == sched_domain_topology) in build_sched_domains()
1985 if (tl->flags & SDTL_OVERLAP) in build_sched_domains()