/arch/s390/include/asm/ |
D | topology.h | 61 #define cpu_to_node cpu_to_node macro 62 static inline int cpu_to_node(int cpu) in cpu_to_node() function
|
/arch/alpha/include/asm/ |
D | topology.h | 9 static inline int cpu_to_node(int cpu) in cpu_to_node() function 37 if (cpu_to_node(cpu) == node) in cpumask_of_node()
|
/arch/mips/sgi-ip27/ |
D | ip27-irq-pci.c | 66 struct hub_data *hub = hub_data(cpu_to_node(cpu)); in alloc_level() 100 nasid_t nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu)); in intr_connect_level() 118 nasid_t nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu)); in intr_disconnect_level() 257 nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu)); in request_bridge_irq()
|
D | ip27-irq.c | 192 struct hub_data *hub = hub_data(cpu_to_node(cpu)); in install_ipi()
|
D | ip27-smp.c | 165 REMOTE_HUB_SEND_INTR(COMPACT_TO_NASID_NODEID(cpu_to_node(destid)), irq); in ip27_send_ipi_single()
|
/arch/x86/kernel/ |
D | irq_32.c | 118 irqstk = page_address(alloc_pages_node(cpu_to_node(cpu), in irq_ctx_init() 123 irqstk = page_address(alloc_pages_node(cpu_to_node(cpu), in irq_ctx_init()
|
D | smpboot.c | 287 return (cpu_to_node(cpu1) == cpu_to_node(cpu2)); in topology_same_node() 298 cpu1, name, cpu2, cpu_to_node(cpu1), cpu_to_node(cpu2)); in topology_sane()
|
D | espfix_64.c | 177 node = cpu_to_node(cpu); in init_espfix_ap()
|
/arch/mips/include/asm/mach-loongson64/ |
D | topology.h | 6 #define cpu_to_node(cpu) (cpu_logical_map(cpu) >> 2) macro
|
/arch/mips/include/asm/sn/ |
D | agent.h | 29 REMOTE_HUB_ADDR(COMPACT_TO_NASID_NODEID(cpu_to_node(_cpuid)), \
|
/arch/sh/include/asm/ |
D | topology.h | 6 #define cpu_to_node(cpu) ((void)(cpu),0) macro
|
/arch/metag/include/asm/ |
D | topology.h | 6 #define cpu_to_node(cpu) ((void)(cpu), 0) macro
|
/arch/tile/include/asm/ |
D | topology.h | 27 static inline int cpu_to_node(int cpu) in cpu_to_node() function
|
/arch/mips/include/asm/mach-ip27/ |
D | topology.h | 25 #define cpu_to_node(cpu) (sn_cpu_info[(cpu)].p_nodeid) macro
|
/arch/x86/platform/intel-mid/device_libs/ |
D | platform_wdt.c | 38 ioapic_set_alloc_attr(&info, cpu_to_node(0), 1, 0); in tangier_probe()
|
/arch/sparc/include/asm/ |
D | topology_64.h | 8 static inline int cpu_to_node(int cpu) in cpu_to_node() function
|
/arch/x86/include/asm/ |
D | topology.h | 58 #define cpu_to_node __cpu_to_node macro
|
/arch/ia64/uv/kernel/ |
D | setup.c | 102 nid = cpu_to_node(cpu); in uv_setup()
|
/arch/powerpc/platforms/cell/ |
D | cpufreq_spudemand.c | 49 busy_spus = atomic_read(&cbe_spu_info[cpu_to_node(cpu)].busy_spus); in calc_freq()
|
D | spu_priv1_mmio.c | 82 *cpumask = cpumask_of_node(cpu_to_node(cpu)); in cpu_affinity_set()
|
/arch/powerpc/kernel/ |
D | setup_64.c | 758 return __alloc_bootmem_node(NODE_DATA(cpu_to_node(cpu)), size, align, in pcpu_fc_alloc() 769 if (cpu_to_node(from) == cpu_to_node(to)) in pcpu_cpu_distance()
|
/arch/powerpc/platforms/powernv/ |
D | idle.c | 117 int node = cpu_to_node(first_cpu); in pnv_alloc_idle_core_states()
|
/arch/tile/kernel/ |
D | setup.c | 748 node_percpu[cpu_to_node(i)] += size; in zone_sizes_init() 860 return cpu_to_node(cpu); in cpu_to_bound_node() 975 if (cpu_to_node(cpu) < 0) { in setup_numa_mapping() 979 pr_cont(" %d", cpu_to_node(cpu)); in setup_numa_mapping() 1523 int nid = cpu_to_node(cpu); in pcpu_fc_alloc()
|
/arch/x86/entry/vdso/ |
D | vma.c | 256 node = cpu_to_node(cpu); in vgetcpu_cpu_init()
|
/arch/ia64/sn/kernel/sn2/ |
D | sn_hwperf.c | 484 cpu_to_node(i), in sn_topology_show() 485 cpu_to_node(j))); in sn_topology_show() 758 if (node != cpu_to_node(j)) in sn_hwperf_ioctl()
|