Home
last modified time | relevance | path

Searched refs:early_cpu_to_node (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/
Dsetup_percpu.c74 int node = early_cpu_to_node(cpu); in pcpu_need_numa()
105 int node = early_cpu_to_node(cpu); in pcpu_alloc_bootmem()
144 if (early_cpu_to_node(from) == early_cpu_to_node(to)) in pcpu_cpu_distance()
258 set_cpu_numa_node(cpu, early_cpu_to_node(cpu)); in setup_per_cpu_areas()
Dsmpboot.c901 int node = early_cpu_to_node(cpu); in announce_cpu()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dtopology.h51 extern int early_cpu_to_node(int cpu);
56 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() function
94 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() function
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dtopology.h53 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() function
75 static inline int early_cpu_to_node(int cpu) { return 0; } in early_cpu_to_node() function
/kernel/linux/linux-5.10/arch/arm64/mm/
Dnuma.c148 static int __init early_cpu_to_node(int cpu) in early_cpu_to_node() function
155 return node_distance(early_cpu_to_node(from), early_cpu_to_node(to)); in pcpu_cpu_distance()
161 int nid = early_cpu_to_node(cpu); in pcpu_fc_alloc()
/kernel/linux/linux-5.10/arch/x86/mm/
Dnuma.c633 if (early_cpu_to_node(i) != NUMA_NO_NODE) in numa_init_array()
685 int nid = early_cpu_to_node(i); in numa_init()
814 cpumask_set_cpu(cpu, node_to_cpumask_map[early_cpu_to_node(cpu)]); in numa_add_cpu()
819 cpumask_clear_cpu(cpu, node_to_cpumask_map[early_cpu_to_node(cpu)]); in numa_remove_cpu()
841 int early_cpu_to_node(int cpu) in early_cpu_to_node() function
884 debug_cpumask_set_cpu(cpu, early_cpu_to_node(cpu), enable); in numa_set_cpumask()
Dnuma_emulation.c536 nid = early_cpu_to_node(cpu); in numa_add_cpu()
562 nid = early_cpu_to_node(cpu); in numa_set_cpumask()
Dcpu_entry_area.c199 early_cpu_to_node(cpu)); in setup_cpu_entry_area()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsetup_64.c675 early_cpu_to_node(cpu)); in alloc_stack()
791 int node = early_cpu_to_node(cpu); in pcpu_alloc_bootmem()
819 if (early_cpu_to_node(from) == early_cpu_to_node(to)) in pcpu_cpu_distance()
Dpaca.c42 nid = early_cpu_to_node(cpu); in alloc_paca_data()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dcommon.c1961 unsigned long cpudata = vdso_encode_cpunode(cpu, early_cpu_to_node(cpu)); in setup_getcpu()
2067 early_cpu_to_node(cpu) != NUMA_NO_NODE) in cpu_init()
2068 set_numa_node(early_cpu_to_node(cpu)); in cpu_init()