Lines Matching refs:emu_nid_to_phys
13 static int emu_nid_to_phys[MAX_NUMNODES]; variable
62 if (emu_nid_to_phys[nid] == NUMA_NO_NODE) in emu_setup_memblk()
63 emu_nid_to_phys[nid] = nid; in emu_setup_memblk()
327 emu_nid_to_phys[i] = NUMA_NO_NODE; in numa_emulation()
381 for (i = 0; i < ARRAY_SIZE(emu_nid_to_phys); i++) { in numa_emulation()
382 if (emu_nid_to_phys[i] != NUMA_NO_NODE) { in numa_emulation()
385 dfl_phys_nid = emu_nid_to_phys[i]; in numa_emulation()
404 for (j = 0; j < ARRAY_SIZE(emu_nid_to_phys); j++) in numa_emulation()
405 if (__apicid_to_node[i] == emu_nid_to_phys[j]) in numa_emulation()
407 __apicid_to_node[i] = j < ARRAY_SIZE(emu_nid_to_phys) ? j : 0; in numa_emulation()
411 for (i = 0; i < ARRAY_SIZE(emu_nid_to_phys); i++) in numa_emulation()
412 if (emu_nid_to_phys[i] == NUMA_NO_NODE) in numa_emulation()
413 emu_nid_to_phys[i] = dfl_phys_nid; in numa_emulation()
419 int physi = emu_nid_to_phys[i]; in numa_emulation()
420 int physj = emu_nid_to_phys[j]; in numa_emulation()
442 for (i = 0; i < ARRAY_SIZE(emu_nid_to_phys); i++) in numa_emulation()
443 emu_nid_to_phys[i] = i; in numa_emulation()
454 physnid = emu_nid_to_phys[nid]; in numa_add_cpu()
461 if (emu_nid_to_phys[nid] == physnid) in numa_add_cpu()
483 physnid = emu_nid_to_phys[nid]; in numa_set_cpumask()
486 if (emu_nid_to_phys[nid] != physnid) in numa_set_cpumask()