Home
last modified time | relevance | path

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

123

/arch/s390/include/asm/
Dtopology.h61 #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/
Dtopology.h9 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/
Dip27-irq-pci.c66 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()
Dip27-irq.c192 struct hub_data *hub = hub_data(cpu_to_node(cpu)); in install_ipi()
Dip27-smp.c165 REMOTE_HUB_SEND_INTR(COMPACT_TO_NASID_NODEID(cpu_to_node(destid)), irq); in ip27_send_ipi_single()
/arch/x86/kernel/
Dirq_32.c118 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()
Dsmpboot.c287 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()
Despfix_64.c177 node = cpu_to_node(cpu); in init_espfix_ap()
/arch/mips/include/asm/mach-loongson64/
Dtopology.h6 #define cpu_to_node(cpu) (cpu_logical_map(cpu) >> 2) macro
/arch/mips/include/asm/sn/
Dagent.h29 REMOTE_HUB_ADDR(COMPACT_TO_NASID_NODEID(cpu_to_node(_cpuid)), \
/arch/sh/include/asm/
Dtopology.h6 #define cpu_to_node(cpu) ((void)(cpu),0) macro
/arch/metag/include/asm/
Dtopology.h6 #define cpu_to_node(cpu) ((void)(cpu), 0) macro
/arch/tile/include/asm/
Dtopology.h27 static inline int cpu_to_node(int cpu) in cpu_to_node() function
/arch/mips/include/asm/mach-ip27/
Dtopology.h25 #define cpu_to_node(cpu) (sn_cpu_info[(cpu)].p_nodeid) macro
/arch/x86/platform/intel-mid/device_libs/
Dplatform_wdt.c38 ioapic_set_alloc_attr(&info, cpu_to_node(0), 1, 0); in tangier_probe()
/arch/sparc/include/asm/
Dtopology_64.h8 static inline int cpu_to_node(int cpu) in cpu_to_node() function
/arch/x86/include/asm/
Dtopology.h58 #define cpu_to_node __cpu_to_node macro
/arch/ia64/uv/kernel/
Dsetup.c102 nid = cpu_to_node(cpu); in uv_setup()
/arch/powerpc/platforms/cell/
Dcpufreq_spudemand.c49 busy_spus = atomic_read(&cbe_spu_info[cpu_to_node(cpu)].busy_spus); in calc_freq()
Dspu_priv1_mmio.c82 *cpumask = cpumask_of_node(cpu_to_node(cpu)); in cpu_affinity_set()
/arch/powerpc/kernel/
Dsetup_64.c758 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/
Didle.c117 int node = cpu_to_node(first_cpu); in pnv_alloc_idle_core_states()
/arch/tile/kernel/
Dsetup.c748 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/
Dvma.c256 node = cpu_to_node(cpu); in vgetcpu_cpu_init()
/arch/ia64/sn/kernel/sn2/
Dsn_hwperf.c484 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()

123