Lines Matching refs:tl

6172 sd_init(struct sched_domain_topology_level *tl, int cpu)  in sd_init()  argument
6174 struct sched_domain *sd = *per_cpu_ptr(tl->data.sd, cpu); in sd_init()
6181 sched_domains_curr_level = tl->numa_level; in sd_init()
6184 sd_weight = cpumask_weight(tl->mask(cpu)); in sd_init()
6186 if (tl->sd_flags) in sd_init()
6187 sd_flags = (*tl->sd_flags)(); in sd_init()
6225 .name = tl->name, in sd_init()
6250 if (sched_domains_numa_distance[tl->numa_level] > RECLAIM_DISTANCE) { in sd_init()
6264 sd->private = &tl->data; in sd_init()
6285 #define for_each_sd_topology(tl) \ argument
6286 for (tl = sched_domain_topology; tl->mask; tl++)
6288 void set_sched_topology(struct sched_domain_topology_level *tl) in set_sched_topology() argument
6290 sched_domain_topology = tl; in set_sched_topology()
6389 struct sched_domain_topology_level *tl; in sched_init_numa() local
6495 tl = kzalloc((i + level + 1) * in sched_init_numa()
6497 if (!tl) in sched_init_numa()
6504 tl[i] = sched_domain_topology[i]; in sched_init_numa()
6510 tl[i] = (struct sched_domain_topology_level){ in sched_init_numa()
6519 sched_domain_topology = tl; in sched_init_numa()
6589 struct sched_domain_topology_level *tl; in __sdt_alloc() local
6592 for_each_sd_topology(tl) { in __sdt_alloc()
6593 struct sd_data *sdd = &tl->data; in __sdt_alloc()
6642 struct sched_domain_topology_level *tl; in __sdt_free() local
6645 for_each_sd_topology(tl) { in __sdt_free()
6646 struct sd_data *sdd = &tl->data; in __sdt_free()
6672 struct sched_domain *build_sched_domain(struct sched_domain_topology_level *tl, in build_sched_domain() argument
6676 struct sched_domain *sd = sd_init(tl, cpu); in build_sched_domain()
6680 cpumask_and(sched_domain_span(sd), cpu_map, tl->mask(cpu)); in build_sched_domain()
6724 struct sched_domain_topology_level *tl; in build_sched_domains() local
6727 for_each_sd_topology(tl) { in build_sched_domains()
6728 sd = build_sched_domain(tl, cpu_map, attr, sd, i); in build_sched_domains()
6729 if (tl == sched_domain_topology) in build_sched_domains()
6731 if (tl->flags & SDTL_OVERLAP || sched_feat(FORCE_SD_OVERLAP)) in build_sched_domains()