Home
last modified time | relevance | path

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

/xen/xen/include/asm-x86/
A Dnuma.h12 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 Dnuma.c40 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 Dsrat.c496 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 Dsmpboot.c642 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 Dnuma.h15 #define vcpu_to_node(v) (cpu_to_node((v)->processor))
/xen/xen/include/asm-arm/
A Dnuma.h9 #define cpu_to_node(cpu) 0 macro
/xen/xen/common/sched/
A Dcredit.c532 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 Dcredit2.c845 return cpu_to_node(cpua) == cpu_to_node(cpub); in same_node()
A Dcore.c1792 node_set(cpu_to_node(cpu), d->node_affinity); in domain_update_node_affinity()
/xen/xen/common/
A Dsysctl.c374 cputopo.node = cpu_to_node(i); in do_sysctl()
A Dpage_alloc.c842 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 Dsvm.c1464 nodeid_t node = cpu_to_node(cpu); in svm_cpu_up_prepare()

Completed in 55 milliseconds