Lines Matching refs:distances
1714 int i, *distances; in find_numa_distance() local
1720 distances = rcu_dereference(sched_domains_numa_distance); in find_numa_distance()
1721 if (!distances) in find_numa_distance()
1724 if (distances[i] == distance) { in find_numa_distance()
1805 int *distances; in sched_init_numa() local
1836 distances = kcalloc(nr_levels, sizeof(int), GFP_KERNEL); in sched_init_numa()
1837 if (!distances) { in sched_init_numa()
1844 distances[i] = j; in sched_init_numa()
1846 rcu_assign_pointer(sched_domains_numa_distance, distances); in sched_init_numa()
1951 int nr_levels, *distances; in sched_reset_numa() local
1958 distances = sched_domains_numa_distance; in sched_reset_numa()
1962 if (distances || masks) { in sched_reset_numa()
1966 kfree(distances); in sched_reset_numa()