Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/include/linux/
Dtopology.h93 #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/
Dtopology.h74 #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/
Dtopology.h11 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/
Dtopology.h34 #ifndef cpu_to_node
35 #define cpu_to_node(cpu) ((void)(cpu),0) macro
/kernel/linux/linux-5.10/drivers/watchdog/
Docteon-wdt-main.c133 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/
Dtest_async_driver_probe.c113 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/
Dsmp.c885 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/
Dcpu.c54 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/
Dtopology.h7 #define cpu_to_node(cpu) (cpu_logical_map(cpu) >> 2) macro
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dtopology.h7 #define cpu_to_node(cpu) ((void)(cpu),0) macro
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/
Dagent.h29 REMOTE_HUB_ADDR(cpu_to_node(_cpuid), \
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-ip27/
Dtopology.h16 #define cpu_to_node(cpu) (cputonasid(cpu)) macro
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dirq.c37 p = arch_alloc_vmap_stack(IRQ_STACK_SIZE, cpu_to_node(cpu)); in init_irq_stacks()
/kernel/linux/linux-5.10/lib/
Dcpu_rmap.c183 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/
Dplatform_mrfld_wdt.c37 ioapic_set_alloc_attr(&info, cpu_to_node(0), 1, 0); in tangier_probe()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dtopology_64.h9 static inline int cpu_to_node(int cpu) in cpu_to_node() function
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dimc-pmu.c373 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/
Dhyperv_vmbus.h430 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/
Dblk-mq-cpumap.c92 return cpu_to_node(i); in blk_mq_hw_queue_to_node()
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/
Dip27-irq.c78 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/
Dinit.c522 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/
Dscompress.c93 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/
Dirq_32.c114 int node = cpu_to_node(cpu); in irq_init_percpu_irqstack()
/kernel/linux/linux-5.10/include/trace/events/
Dsched.h520 __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/
Dtopology.h49 #define cpu_to_node __cpu_to_node macro

1234567