Searched refs:early_cpu_to_node (Results 1 – 15 of 15) sorted by relevance
74 int node = early_cpu_to_node(cpu); in pcpu_need_numa()90 if (early_cpu_to_node(from) == early_cpu_to_node(to)) in pcpu_cpu_distance()101 return early_cpu_to_node(cpu); in pcpu_cpu_to_node()207 set_cpu_numa_node(cpu, early_cpu_to_node(cpu)); in setup_per_cpu_areas()
948 int node = early_cpu_to_node(cpu); in announce_cpu()
51 extern int early_cpu_to_node(int cpu);56 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() function94 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() function
147 static int __init early_cpu_to_node(int cpu) in early_cpu_to_node() function154 return node_distance(early_cpu_to_node(from), early_cpu_to_node(to)); in pcpu_cpu_distance()171 early_cpu_to_node); in setup_per_cpu_areas()181 rc = pcpu_page_first_chunk(PERCPU_MODULE_RESERVE, early_cpu_to_node); in setup_per_cpu_areas()
52 extern int early_cpu_to_node(int cpu);60 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() function
53 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() function76 static inline int early_cpu_to_node(int cpu) { return 0; } in early_cpu_to_node() function
57 return early_cpu_to_node(cpu); in pcpu_cpu_to_node()62 if (early_cpu_to_node(from) == early_cpu_to_node(to)) in pcpu_cpu_distance()150 int early_cpu_to_node(int cpu) in early_cpu_to_node() function
410 node = early_cpu_to_node(cpu); in smp_prepare_boot_cpu()
632 if (early_cpu_to_node(i) != NUMA_NO_NODE) in numa_init_array()684 int nid = early_cpu_to_node(i); in numa_init()820 cpumask_set_cpu(cpu, node_to_cpumask_map[early_cpu_to_node(cpu)]); in numa_add_cpu()825 cpumask_clear_cpu(cpu, node_to_cpumask_map[early_cpu_to_node(cpu)]); in numa_remove_cpu()847 int early_cpu_to_node(int cpu) in early_cpu_to_node() function890 debug_cpumask_set_cpu(cpu, early_cpu_to_node(cpu), enable); in numa_set_cpumask()
534 nid = early_cpu_to_node(cpu); in numa_add_cpu()560 nid = early_cpu_to_node(cpu); in numa_set_cpumask()
720 early_cpu_to_node(cpu)); in alloc_stack()820 if (early_cpu_to_node(from) == early_cpu_to_node(to)) in pcpu_cpu_distance()828 return early_cpu_to_node(cpu); in pcpu_cpu_to_node()
41 nid = early_cpu_to_node(cpu); in alloc_paca_data()
759 limit, early_cpu_to_node(i)); in mce_init()
2134 unsigned long cpudata = vdso_encode_cpunode(cpu, early_cpu_to_node(cpu)); in setup_getcpu()2242 early_cpu_to_node(cpu) != NUMA_NO_NODE) in cpu_init()2243 set_numa_node(early_cpu_to_node(cpu)); in cpu_init()
77 return xive_ipis[early_cpu_to_node(cpu)].irq; in xive_ipi_cpu_to_irq()1184 struct xive_ipi_desc *xid = &xive_ipis[early_cpu_to_node(cpu)]; in xive_request_ipi()