Lines Matching defs:numa_distance
32 static u8 *numa_distance;
354 size_t size = numa_distance_cnt * numa_distance_cnt * sizeof(numa_distance[0]);
356 /* numa_distance could be 1LU marking allocation failure, test cnt */
358 memblock_free(__pa(numa_distance), size);
360 numa_distance = NULL; /* enable table creation */
377 size = cnt * cnt * sizeof(numa_distance[0]);
384 numa_distance = (void *)1LU;
389 numa_distance = __va(phys);
395 numa_distance[i * cnt + j] = i == j ?
423 if (!numa_distance && numa_alloc_distance() < 0)
440 numa_distance[from * numa_distance_cnt + to] = distance;
447 return numa_distance[from * numa_distance_cnt + to];