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