Searched refs:numa_distance (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/x86/mm/
H A Dnuma.c36 static u8 *numa_distance; variable
338 size_t size = numa_distance_cnt * numa_distance_cnt * sizeof(numa_distance[0]); numa_reset_distance()
340 /* numa_distance could be 1LU marking allocation failure, test cnt */ numa_reset_distance()
342 memblock_free(__pa(numa_distance), size); numa_reset_distance()
344 numa_distance = NULL; /* enable table creation */ numa_reset_distance()
361 size = cnt * cnt * sizeof(numa_distance[0]); numa_alloc_distance()
368 numa_distance = (void *)1LU; numa_alloc_distance()
373 numa_distance = __va(phys); numa_alloc_distance()
379 numa_distance[i * cnt + j] = i == j ? numa_alloc_distance()
407 if (!numa_distance && numa_alloc_distance() < 0) numa_set_distance()
424 numa_distance[from * numa_distance_cnt + to] = distance; numa_set_distance()
431 return numa_distance[from * numa_distance_cnt + to]; __node_distance()

Completed in 91 milliseconds