Searched refs:cpu_to_node (Results 1 – 12 of 12) sorted by relevance
/xen/xen/include/asm-x86/ |
A D | numa.h | 12 extern nodeid_t cpu_to_node[NR_CPUS]; 15 #define cpu_to_node(cpu) (cpu_to_node[cpu]) macro 47 cpumask_clear_cpu(cpu, &node_to_cpumask[cpu_to_node(cpu)]); in clear_node_cpumask()
|
/xen/xen/arch/x86/ |
A D | numa.c | 40 nodeid_t cpu_to_node[NR_CPUS] __read_mostly = { variable 193 if ( cpu_to_node[i] != NUMA_NO_NODE ) in numa_init_array() 284 cpumask_set_cpu(cpu, &node_to_cpumask[cpu_to_node(cpu)]); in numa_add_cpu() 289 cpu_to_node[cpu] = node; in numa_set_node() 399 if ( i != j + n || cpu_to_node[j] != cpu_to_node[i] ) in dump_numa() 402 printk("CPU%u...%u -> NODE%d\n", j, j + n - 1, cpu_to_node[j]); in dump_numa() 404 printk("CPU%u -> NODE%d\n", j, cpu_to_node[j]); in dump_numa() 412 printk("CPU%u...%u -> NODE%d\n", j, j + n - 1, cpu_to_node[j]); in dump_numa() 414 printk("CPU%u -> NODE%d\n", j, cpu_to_node[j]); in dump_numa()
|
A D | srat.c | 496 if (cpu_to_node[i] == NUMA_NO_NODE) in acpi_scan_nodes() 498 if (!nodemask_test(cpu_to_node[i], &processor_nodes_parsed)) in acpi_scan_nodes()
|
A D | smpboot.c | 642 nodeid_t node = cpu_to_node(cpu); in alloc_stub_page() 991 nodeid_t node = cpu_to_node(cpu); in cpu_smpboot_alloc() 1041 if ( cpu_online(i) && cpu_to_node(i) == node ) in cpu_smpboot_alloc()
|
/xen/xen/include/xen/ |
A D | numa.h | 15 #define vcpu_to_node(v) (cpu_to_node((v)->processor))
|
/xen/xen/include/asm-arm/ |
A D | numa.h | 9 #define cpu_to_node(cpu) 0 macro
|
/xen/xen/common/sched/ |
A D | credit.c | 532 unsigned int node = cpu_to_node(cpu); in csched_deinit_pdata() 600 cpumask_and(cpumask_scratch, prv->cpus, &node_to_cpumask(cpu_to_node(cpu))); in init_pdata() 602 prv->balance_bias[cpu_to_node(cpu)] = cpu; in init_pdata() 1679 int node = cpu_to_node(cpu); in csched_load_balance()
|
A D | credit2.c | 845 return cpu_to_node(cpua) == cpu_to_node(cpub); in same_node()
|
A D | core.c | 1792 node_set(cpu_to_node(cpu), d->node_affinity); in domain_update_node_affinity()
|
/xen/xen/common/ |
A D | sysctl.c | 374 cputopo.node = cpu_to_node(i); in do_sysctl()
|
A D | page_alloc.c | 842 node = cpu_to_node(smp_processor_id()); in get_free_buddy() 1176 nodeid_t node = cpu_to_node(smp_processor_id()), local_node; in node_to_scrub() 1859 (phys_to_nid(pfn_to_paddr(r->s)) == cpu_to_node(0)) ) in end_boot_allocator() 1896 node = cpu_to_node(cpu); in smp_scrub_heap_pages()
|
/xen/xen/arch/x86/hvm/svm/ |
A D | svm.c | 1464 nodeid_t node = cpu_to_node(cpu); in svm_cpu_up_prepare()
|
Completed in 55 milliseconds