/kernel/linux/linux-5.10/include/linux/ |
D | topology.h | 93 #ifndef cpu_to_node 94 static inline int cpu_to_node(int cpu) in cpu_to_node() function 120 return cpu_to_node(raw_smp_processor_id()); in numa_node_id() 177 return cpu_to_node(cpu); in cpu_to_mem() 211 return cpumask_of_node(cpu_to_node(cpu)); in cpu_cpu_mask()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | topology.h | 74 #define cpu_to_node cpu_to_node macro 75 static inline int cpu_to_node(int cpu) in cpu_to_node() function
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | topology.h | 11 static inline int cpu_to_node(int cpu) in cpu_to_node() function 39 if (cpu_to_node(cpu) == node) in cpumask_of_node()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | topology.h | 34 #ifndef cpu_to_node 35 #define cpu_to_node(cpu) ((void)(cpu),0) macro
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | octeon-wdt-main.c | 133 int node = cpu_to_node(cpu); in octeon_wdt_poke_irq() 306 node = cpu_to_node(cpu); in octeon_wdt_cpu_to_irq() 330 node = cpu_to_node(cpu); in octeon_wdt_cpu_pre_down() 353 node = cpu_to_node(cpu); in octeon_wdt_cpu_online() 413 node = cpu_to_node(cpu); in octeon_wdt_ping() 470 node = cpu_to_node(cpu); in octeon_wdt_set_timeout()
|
/kernel/linux/linux-5.10/drivers/base/test/ |
D | test_async_driver_probe.c | 113 nid = cpu_to_node(cpu); in test_async_probe_init() 148 nid = cpu_to_node(cpu); in test_async_probe_init() 177 nid = cpu_to_node(cpu); in test_async_probe_init()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | smp.c | 885 GFP_KERNEL, cpu_to_node(cpu)); in init_cpu_l1_cache_map() 985 cpu_to_node(cpu)); in init_big_cores() 1010 GFP_KERNEL, cpu_to_node(cpu)); in smp_prepare_cpus() 1012 GFP_KERNEL, cpu_to_node(cpu)); in smp_prepare_cpus() 1014 GFP_KERNEL, cpu_to_node(cpu)); in smp_prepare_cpus() 1017 GFP_KERNEL, cpu_to_node(cpu)); in smp_prepare_cpus() 1429 map_cpu_to_node(cpu, cpu_to_node(cpu)); in add_cpu_to_masks() 1440 ret = alloc_cpumask_var_node(&mask, GFP_ATOMIC, cpu_to_node(cpu)); in add_cpu_to_masks()
|
/kernel/linux/linux-5.10/drivers/base/ |
D | cpu.c | 54 from_nid = cpu_to_node(cpuid); in cpu_subsys_online() 63 to_nid = cpu_to_node(cpuid); in cpu_subsys_online() 79 unregister_cpu_under_node(logical_cpu, cpu_to_node(logical_cpu)); in unregister_cpu() 398 cpu->node_id = cpu_to_node(num); in register_cpu() 419 register_cpu_under_node(num, cpu_to_node(num)); in register_cpu()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson64/ |
D | topology.h | 7 #define cpu_to_node(cpu) (cpu_logical_map(cpu) >> 2) macro
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | topology.h | 7 #define cpu_to_node(cpu) ((void)(cpu),0) macro
|
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/ |
D | agent.h | 29 REMOTE_HUB_ADDR(cpu_to_node(_cpuid), \
|
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-ip27/ |
D | topology.h | 16 #define cpu_to_node(cpu) (cputonasid(cpu)) macro
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | irq.c | 37 p = arch_alloc_vmap_stack(IRQ_STACK_SIZE, cpu_to_node(cpu)); in init_irq_stacks()
|
/kernel/linux/linux-5.10/lib/ |
D | cpu_rmap.c | 183 cpumask_of_node(cpu_to_node(cpu))); in cpu_rmap_update() 197 cpumask_of_node(cpu_to_node(cpu)), 3)) in cpu_rmap_update()
|
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/ |
D | platform_mrfld_wdt.c | 37 ioapic_set_alloc_attr(&info, cpu_to_node(0), 1, 0); in tangier_probe()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | topology_64.h | 9 static inline int cpu_to_node(int cpu) in cpu_to_node() function
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
D | imc-pmu.c | 373 nid = cpu_to_node(cpu); in ppc_nest_imc_cpu_offline() 414 l_cpumask = cpumask_of_node(cpu_to_node(cpu)); in ppc_nest_imc_cpu_online() 453 node_id = cpu_to_node(event->cpu); in nest_imc_counters_release() 549 node_id = cpu_to_node(event->cpu); in nest_imc_event_init() 596 nid = cpu_to_node(cpu); in core_imc_mem_init() 913 int nid = cpu_to_node(cpu_id); in thread_imc_mem_alloc() 1197 int phys_id = cpu_to_node(cpu_id), rc = 0; in trace_imc_mem_alloc() 1543 nid = cpu_to_node(cpu); in init_nest_pmu_ref()
|
/kernel/linux/linux-5.10/drivers/hv/ |
D | hyperv_vmbus.h | 430 cpumask_set_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_set_alloced_cpu() 437 cpumask_clear_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_clear_alloced_cpu()
|
/kernel/linux/linux-5.10/block/ |
D | blk-mq-cpumap.c | 92 return cpu_to_node(i); in blk_mq_hw_queue_to_node()
|
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/ |
D | ip27-irq.c | 78 nasid = cpu_to_node(cpu); in setup_hub_mask() 144 info->nasid = cpu_to_node(hd->cpu); in hub_domain_alloc()
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
D | init.c | 522 return node_distance(cpu_to_node(from), cpu_to_node(to)); in pcpu_cpu_distance() 530 cpu_to_node(cpu)); in pcpu_fc_alloc()
|
/kernel/linux/linux-5.10/crypto/ |
D | scompress.c | 93 mem = vmalloc_node(SCOMP_SCRATCH_SIZE, cpu_to_node(i)); in crypto_scomp_alloc_scratches() 97 mem = vmalloc_node(SCOMP_SCRATCH_SIZE, cpu_to_node(i)); in crypto_scomp_alloc_scratches()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | irq_32.c | 114 int node = cpu_to_node(cpu); in irq_init_percpu_irqstack()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | sched.h | 520 __entry->src_nid = cpu_to_node(src_cpu); 522 __entry->dst_nid = cpu_to_node(dst_cpu); 556 __entry->src_nid = cpu_to_node(src_cpu); 561 __entry->dst_nid = dst_cpu >= 0 ? cpu_to_node(dst_cpu) : -1;
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | topology.h | 49 #define cpu_to_node __cpu_to_node macro
|