Searched refs:nr_levels (Results 1 – 1 of 1) sorted by relevance
1803 int nr_levels = 0; in sched_init_numa() local1834 nr_levels = bitmap_weight(distance_map, NR_DISTANCE_VALUES); in sched_init_numa()1836 distances = kcalloc(nr_levels, sizeof(int), GFP_KERNEL); in sched_init_numa()1842 for (i = 0, j = 0; i < nr_levels; i++, j++) { in sched_init_numa()1868 masks = kzalloc(sizeof(void *) * nr_levels, GFP_KERNEL); in sched_init_numa()1876 for (i = 0; i < nr_levels; i++) { in sched_init_numa()1906 tl = kzalloc((i + nr_levels + 1) * in sched_init_numa()1929 for (j = 1; j < nr_levels; i++, j++) { in sched_init_numa()1942 sched_domains_numa_levels = nr_levels; in sched_init_numa()1943 WRITE_ONCE(sched_max_numa_distance, sched_domains_numa_distance[nr_levels - 1]); in sched_init_numa()[all …]