Lines Matching refs:numa_distance
25 static u8 *numa_distance; variable
262 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()
347 return numa_distance[from * numa_distance_cnt + to]; in __node_distance()