Lines Matching refs:emu_nid_to_phys
13 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()
488 for (j = 0; j < ARRAY_SIZE(emu_nid_to_phys); j++) in numa_emulation()
489 if (__apicid_to_node[i] == emu_nid_to_phys[j]) in numa_emulation()
491 __apicid_to_node[i] = j < ARRAY_SIZE(emu_nid_to_phys) ? j : 0; in numa_emulation()
495 for (i = 0; i < ARRAY_SIZE(emu_nid_to_phys); i++) in numa_emulation()
496 if (emu_nid_to_phys[i] == NUMA_NO_NODE) in numa_emulation()
497 emu_nid_to_phys[i] = dfl_phys_nid; in numa_emulation()
503 int physi = emu_nid_to_phys[i]; in numa_emulation()
504 int physj = emu_nid_to_phys[j]; in numa_emulation()
525 for (i = 0; i < ARRAY_SIZE(emu_nid_to_phys); i++) in numa_emulation()
526 emu_nid_to_phys[i] = i; in numa_emulation()
537 physnid = emu_nid_to_phys[nid]; in numa_add_cpu()
544 if (emu_nid_to_phys[nid] == physnid) in numa_add_cpu()
566 physnid = emu_nid_to_phys[nid]; in numa_set_cpumask()
569 if (emu_nid_to_phys[nid] != physnid) in numa_set_cpumask()