Home
last modified time | relevance | path

Searched refs:emu_nid_to_phys (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dnuma_emulation.c13 static int emu_nid_to_phys[MAX_NUMNODES]; variable
63 if (emu_nid_to_phys[nid] == NUMA_NO_NODE) in emu_setup_memblk()
64 emu_nid_to_phys[nid] = pb->nid; in emu_setup_memblk()
333 for (i = 0; i < ARRAY_SIZE(emu_nid_to_phys); i++) { in setup_emu2phys_nid()
334 if (emu_nid_to_phys[i] != NUMA_NO_NODE) { in setup_emu2phys_nid()
337 *dfl_phys_nid = emu_nid_to_phys[i]; in setup_emu2phys_nid()
388 emu_nid_to_phys[i] = NUMA_NO_NODE; in numa_emulation()
489 for (j = 0; j < ARRAY_SIZE(emu_nid_to_phys); j++) in numa_emulation()
490 if (__apicid_to_node[i] == emu_nid_to_phys[j]) in numa_emulation()
492 __apicid_to_node[i] = j < ARRAY_SIZE(emu_nid_to_phys) ? j : 0; in numa_emulation()
[all …]