Lines Matching refs:tl

6429 sd_init(struct sched_domain_topology_level *tl, int cpu)  in sd_init()  argument
6431 struct sched_domain *sd = *per_cpu_ptr(tl->data.sd, cpu); in sd_init()
6438 sched_domains_curr_level = tl->numa_level; in sd_init()
6441 sd_weight = cpumask_weight(tl->mask(cpu)); in sd_init()
6443 if (tl->sd_flags) in sd_init()
6444 sd_flags = (*tl->sd_flags)(); in sd_init()
6482 .name = tl->name, in sd_init()
6507 if (sched_domains_numa_distance[tl->numa_level] > RECLAIM_DISTANCE) { in sd_init()
6521 sd->private = &tl->data; in sd_init()
6543 #define for_each_sd_topology(tl) \ argument
6544 for (tl = sched_domain_topology; tl->mask; tl++)
6546 void set_sched_topology(struct sched_domain_topology_level *tl) in set_sched_topology() argument
6548 sched_domain_topology = tl; in set_sched_topology()
6649 struct sched_domain_topology_level *tl; in sched_init_numa() local
6755 tl = kzalloc((i + level + 1) * in sched_init_numa()
6757 if (!tl) in sched_init_numa()
6764 tl[i] = sched_domain_topology[i]; in sched_init_numa()
6770 tl[i] = (struct sched_domain_topology_level){ in sched_init_numa()
6779 sched_domain_topology = tl; in sched_init_numa()
6849 struct sched_domain_topology_level *tl; in __sdt_alloc() local
6852 for_each_sd_topology(tl) { in __sdt_alloc()
6853 struct sd_data *sdd = &tl->data; in __sdt_alloc()
6902 struct sched_domain_topology_level *tl; in __sdt_free() local
6905 for_each_sd_topology(tl) { in __sdt_free()
6906 struct sd_data *sdd = &tl->data; in __sdt_free()
6932 struct sched_domain *build_sched_domain(struct sched_domain_topology_level *tl, in build_sched_domain() argument
6936 struct sched_domain *sd = sd_init(tl, cpu); in build_sched_domain()
6940 cpumask_and(sched_domain_span(sd), cpu_map, tl->mask(cpu)); in build_sched_domain()
6984 struct sched_domain_topology_level *tl; in build_sched_domains() local
6987 for_each_sd_topology(tl) { in build_sched_domains()
6988 sd = build_sched_domain(tl, cpu_map, attr, sd, i); in build_sched_domains()
6989 if (tl == sched_domain_topology) in build_sched_domains()
6991 if (tl->flags & SDTL_OVERLAP || sched_feat(FORCE_SD_OVERLAP)) in build_sched_domains()