Searched refs:numa_distance (Results 1 – 3 of 3) sorted by relevance
25 static u8 *numa_distance; variable262 if (!numa_distance) in numa_free_distance()266 sizeof(numa_distance[0]); in numa_free_distance()268 memblock_free(__pa(numa_distance), size); in numa_free_distance()270 numa_distance = NULL; in numa_free_distance()282 size = nr_node_ids * nr_node_ids * sizeof(numa_distance[0]); in numa_alloc_distance()290 numa_distance = __va(phys); in numa_alloc_distance()296 numa_distance[i * numa_distance_cnt + j] = i == j ? in numa_alloc_distance()318 if (!numa_distance) { in numa_set_distance()337 numa_distance[from * numa_distance_cnt + to] = distance; in numa_set_distance()[all …]
32 static u8 *numa_distance; variable354 size_t size = numa_distance_cnt * numa_distance_cnt * sizeof(numa_distance[0]); in numa_reset_distance()358 memblock_free(__pa(numa_distance), size); in numa_reset_distance()360 numa_distance = NULL; /* enable table creation */ in numa_reset_distance()377 size = cnt * cnt * sizeof(numa_distance[0]); in numa_alloc_distance()384 numa_distance = (void *)1LU; in numa_alloc_distance()389 numa_distance = __va(phys); in numa_alloc_distance()395 numa_distance[i * cnt + j] = i == j ? in numa_alloc_distance()423 if (!numa_distance && numa_alloc_distance() < 0) in numa_set_distance()440 numa_distance[from * numa_distance_cnt + to] = distance; in numa_set_distance()[all …]
681 int numa_distance = 0; in cpu_attach_domain() local714 numa_distance += !!(tmp->flags & SD_NUMA); in cpu_attach_domain()