Home
last modified time | relevance | path

Searched refs:cpu_core_map (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/arch/sh/kernel/
Dtopology.c18 cpumask_t cpu_core_map[NR_CPUS]; variable
19 EXPORT_SYMBOL(cpu_core_map);
32 return &cpu_core_map[cpu]; in cpu_coregroup_mask()
40 cpu_core_map[cpu] = cpu_coregroup_map(cpu); in arch_update_cpu_topology()
/linux-6.12.1/arch/sh/include/asm/
Dtopology.h22 extern cpumask_t cpu_core_map[NR_CPUS];
24 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
/linux-6.12.1/arch/sparc/kernel/
Dsmp_64.c62 cpumask_t cpu_core_map[NR_CPUS] __read_mostly = variable
72 EXPORT_SYMBOL(cpu_core_map);
1226 cpumask_clear(&cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1228 cpumask_set_cpu(i, &cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1235 cpumask_set_cpu(j, &cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1332 for_each_cpu(i, &cpu_core_map[cpu]) in __cpu_disable()
1333 cpumask_clear_cpu(cpu, &cpu_core_map[i]); in __cpu_disable()
1334 cpumask_clear(&cpu_core_map[cpu]); in __cpu_disable()
/linux-6.12.1/arch/mips/kernel/
Dsmp.c56 cpumask_t cpu_core_map[NR_CPUS] __read_mostly; variable
57 EXPORT_SYMBOL(cpu_core_map);
125 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_core_map()
126 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_core_map()
/linux-6.12.1/arch/powerpc/include/asm/
Dsmp.h111 DECLARE_PER_CPU(cpumask_var_t, cpu_core_map);
121 return per_cpu(cpu_core_map, cpu); in cpu_core_mask()
Dtopology.h140 #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu))
/linux-6.12.1/arch/mips/include/asm/
Dtopology.h17 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
Dsmp.h23 extern cpumask_t cpu_core_map[];
/linux-6.12.1/arch/loongarch/kernel/
Dsmp.c49 cpumask_t cpu_core_map[NR_CPUS] __read_mostly; variable
50 EXPORT_SYMBOL(cpu_core_map);
98 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_core_map()
99 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_core_map()
/linux-6.12.1/arch/sparc/include/asm/
Dsmp_64.h35 extern cpumask_t cpu_core_map[NR_CPUS];
Dtopology_64.h53 extern cpumask_t cpu_core_map[NR_CPUS];
/linux-6.12.1/arch/loongarch/include/asm/
Dtopology.h35 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
Dsmp.h28 extern cpumask_t cpu_core_map[];
/linux-6.12.1/arch/x86/include/asm/
Dsmp.h12 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
Dtopology.h185 #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu))
/linux-6.12.1/arch/x86/kernel/
Dsmpboot.c98 DEFINE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
99 EXPORT_PER_CPU_SYMBOL(cpu_core_map);
1049 zalloc_cpumask_var_node(&per_cpu(cpu_core_map, cpu), GFP_KERNEL, node); in smp_prepare_cpus_common()
/linux-6.12.1/arch/powerpc/kernel/
Dsmp.c88 DEFINE_PER_CPU(cpumask_var_t, cpu_core_map);
93 EXPORT_PER_CPU_SYMBOL(cpu_core_map);
1113 zalloc_cpumask_var_node(&per_cpu(cpu_core_map, cpu), in smp_prepare_cpus()