Lines Matching refs:emu_nid_to_phys
15 static int emu_nid_to_phys[MAX_NUMNODES]; variable
65 if (emu_nid_to_phys[nid] == NUMA_NO_NODE) in emu_setup_memblk()
66 emu_nid_to_phys[nid] = pb->nid; in emu_setup_memblk()
335 for (i = 0; i < ARRAY_SIZE(emu_nid_to_phys); i++) { in setup_emu2phys_nid()
336 if (emu_nid_to_phys[i] != NUMA_NO_NODE) { in setup_emu2phys_nid()
339 *dfl_phys_nid = emu_nid_to_phys[i]; in setup_emu2phys_nid()
390 emu_nid_to_phys[i] = NUMA_NO_NODE; in numa_emulation()
478 numa_emu_update_cpu_to_node(emu_nid_to_phys, ARRAY_SIZE(emu_nid_to_phys)); in numa_emulation()
481 for (i = 0; i < ARRAY_SIZE(emu_nid_to_phys); i++) in numa_emulation()
482 if (emu_nid_to_phys[i] == NUMA_NO_NODE) in numa_emulation()
483 emu_nid_to_phys[i] = dfl_phys_nid; in numa_emulation()
489 int physi = emu_nid_to_phys[i]; in numa_emulation()
490 int physj = emu_nid_to_phys[j]; in numa_emulation()
511 for (i = 0; i < ARRAY_SIZE(emu_nid_to_phys); i++) in numa_emulation()
512 emu_nid_to_phys[i] = i; in numa_emulation()
523 physnid = emu_nid_to_phys[nid]; in numa_add_cpu()
530 if (emu_nid_to_phys[nid] == physnid) in numa_add_cpu()
552 physnid = emu_nid_to_phys[nid]; in numa_set_cpumask()
555 if (emu_nid_to_phys[nid] != physnid) in numa_set_cpumask()