Lines Matching refs:numa_distance
24 static u8 *numa_distance; variable
259 if (!numa_distance) in numa_free_distance()
263 sizeof(numa_distance[0]); in numa_free_distance()
265 memblock_free(numa_distance, size); in numa_free_distance()
267 numa_distance = NULL; in numa_free_distance()
278 size = nr_node_ids * nr_node_ids * sizeof(numa_distance[0]); in numa_alloc_distance()
279 numa_distance = memblock_alloc(size, PAGE_SIZE); in numa_alloc_distance()
280 if (WARN_ON(!numa_distance)) in numa_alloc_distance()
288 numa_distance[i * numa_distance_cnt + j] = i == j ? in numa_alloc_distance()
310 if (!numa_distance) { in numa_set_distance()
329 numa_distance[from * numa_distance_cnt + to] = distance; in numa_set_distance()
339 return numa_distance[from * numa_distance_cnt + to]; in __node_distance()