Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/mm/
H A Dnuma_emulation.c376 u8 *phys_dist = NULL; in numa_emulation() local
377 size_t phys_size = numa_dist_cnt * numa_dist_cnt * sizeof(phys_dist[0]); in numa_emulation()
457 phys_dist = __va(phys); in numa_emulation()
461 phys_dist[i * numa_dist_cnt + j] = in numa_emulation()
514 dist = phys_dist[physi * numa_dist_cnt + physj]; in numa_emulation()
521 if (phys_dist) in numa_emulation()
522 memblock_free(__pa(phys_dist), phys_size); in numa_emulation()
/kernel/linux/linux-6.6/arch/x86/mm/
H A Dnuma_emulation.c376 u8 *phys_dist = NULL; in numa_emulation() local
377 size_t phys_size = numa_dist_cnt * numa_dist_cnt * sizeof(phys_dist[0]); in numa_emulation()
456 phys_dist = __va(phys); in numa_emulation()
460 phys_dist[i * numa_dist_cnt + j] = in numa_emulation()
513 dist = phys_dist[physi * numa_dist_cnt + physj]; in numa_emulation()
520 memblock_free(phys_dist, phys_size); in numa_emulation()

Completed in 3 milliseconds