Searched refs:cpu_to_node (Results 1 - 25 of 47) sorted by relevance

12

/arch/alpha/include/asm/
H A Dtopology.h9 static inline int cpu_to_node(int cpu) function
37 if (cpu_to_node(cpu) == node)
/arch/mips/include/asm/mach-loongson/
H A Dtopology.h6 #define cpu_to_node(cpu) ((cpu) >> 2) macro
/arch/metag/include/asm/
H A Dtopology.h6 #define cpu_to_node(cpu) ((void)(cpu), 0) macro
/arch/sh/include/asm/
H A Dtopology.h6 #define cpu_to_node(cpu) ((void)(cpu),0) macro
/arch/mips/include/asm/sn/
H A Dagent.h29 REMOTE_HUB_ADDR(COMPACT_TO_NASID_NODEID(cpu_to_node(_cpuid)), \
/arch/tile/include/asm/
H A Dtopology.h27 static inline int cpu_to_node(int cpu) function
/arch/mips/include/asm/mach-ip27/
H A Dtopology.h25 #define cpu_to_node(cpu) (sn_cpu_info[(cpu)].p_nodeid) macro
/arch/sparc/include/asm/
H A Dtopology_64.h8 static inline int cpu_to_node(int cpu) function
/arch/x86/platform/intel-mid/device_libs/
H A Dplatform_wdt.c37 if (mp_set_gsi_attr(gsi, 1, 0, cpu_to_node(0)) ||
/arch/x86/kernel/
H A Dirq_32.c131 irqstk = page_address(alloc_pages_node(cpu_to_node(cpu),
136 irqstk = page_address(alloc_pages_node(cpu_to_node(cpu),
H A Ddevicetree.c219 if (mp_set_gsi_attr(gsi, it->trigger, it->polarity, cpu_to_node(0)))
H A Dsmpboot.c271 return (cpu_to_node(cpu1) == cpu_to_node(cpu2));
282 cpu1, name, cpu2, cpu_to_node(cpu1), cpu_to_node(cpu2));
H A Dvsyscall_64.c295 node = cpu_to_node(cpu);
/arch/mips/sgi-ip27/
H A Dip27-irq-pci.c66 struct hub_data *hub = hub_data(cpu_to_node(cpu));
100 nasid_t nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu));
118 nasid_t nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu));
257 nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu));
H A Dip27-irq.c188 struct hub_data *hub = hub_data(cpu_to_node(cpu));
H A Dip27-smp.c165 REMOTE_HUB_SEND_INTR(COMPACT_TO_NASID_NODEID(cpu_to_node(destid)), irq);
/arch/x86/include/asm/
H A Dtopology.h55 * override generic percpu implementation of cpu_to_node
58 #define cpu_to_node __cpu_to_node macro
/arch/ia64/uv/kernel/
H A Dsetup.c102 nid = cpu_to_node(cpu);
/arch/powerpc/platforms/cell/
H A Dcpufreq_spudemand.c49 busy_spus = atomic_read(&cbe_spu_info[cpu_to_node(cpu)].busy_spus);
H A Dspu_priv1_mmio.c82 *cpumask = cpumask_of_node(cpu_to_node(cpu));
/arch/powerpc/kernel/
H A Dsetup_64.c748 return __alloc_bootmem_node(NODE_DATA(cpu_to_node(cpu)), size, align,
759 if (cpu_to_node(from) == cpu_to_node(to))
H A Dsmp.c377 GFP_KERNEL, cpu_to_node(cpu));
379 GFP_KERNEL, cpu_to_node(cpu));
/arch/tile/kernel/
H A Dsetup.c753 node_percpu[cpu_to_node(i)] += size;
859 /* Return cpu_to_node() except for cpus not yet assigned, which return -1 */
865 return cpu_to_node(cpu);
980 if (cpu_to_node(cpu) < 0) {
984 pr_cont(" %d", cpu_to_node(cpu));
1511 int nid = cpu_to_node(cpu);
/arch/powerpc/platforms/pseries/
H A Ddtl.c206 buf = kmem_cache_alloc_node(dtl_cache, GFP_KERNEL, cpu_to_node(dtl->cpu));
/arch/sparc/kernel/
H A Dcpumap.c104 id = cpu_to_node(cpu);

Completed in 610 milliseconds

12