Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/arch/ia64/kernel/
Dsmpboot.c116 cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned; variable
117 EXPORT_SYMBOL(cpu_core_map);
570 for_each_cpu(i, &cpu_core_map[cpu]) in clear_cpu_sibling_map()
571 cpumask_clear_cpu(cpu, &cpu_core_map[i]); in clear_cpu_sibling_map()
573 per_cpu(cpu_sibling_map, cpu) = cpu_core_map[cpu] = CPU_MASK_NONE; in clear_cpu_sibling_map()
581 cpumask_clear_cpu(cpu, &cpu_core_map[cpu]); in remove_siblinginfo()
700 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_sibling_map()
701 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_sibling_map()
738 cpumask_set_cpu(cpu, &cpu_core_map[cpu]); in __cpu_up()
Dsetup.c720 cpumask_weight(&cpu_core_map[cpunum])); in show_cpuinfo()
952 cpumask_set_cpu(0, &cpu_core_map[0]); in cpu_init()
/Linux-v6.6/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-v6.6/arch/mips/kernel/
Dsmp.c55 cpumask_t cpu_core_map[NR_CPUS] __read_mostly; variable
56 EXPORT_SYMBOL(cpu_core_map);
124 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_core_map()
125 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_core_map()
/Linux-v6.6/arch/sparc/kernel/
Dsmp_64.c62 cpumask_t cpu_core_map[NR_CPUS] __read_mostly = variable
72 EXPORT_SYMBOL(cpu_core_map);
1244 cpumask_clear(&cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1246 cpumask_set_cpu(i, &cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1253 cpumask_set_cpu(j, &cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1350 for_each_cpu(i, &cpu_core_map[cpu]) in __cpu_disable()
1351 cpumask_clear_cpu(cpu, &cpu_core_map[i]); in __cpu_disable()
1352 cpumask_clear(&cpu_core_map[cpu]); in __cpu_disable()
/Linux-v6.6/arch/powerpc/include/asm/
Dsmp.h110 DECLARE_PER_CPU(cpumask_var_t, cpu_core_map);
120 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-v6.6/arch/mips/include/asm/
Dtopology.h17 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
Dsmp.h25 extern cpumask_t cpu_core_map[];
/Linux-v6.6/arch/loongarch/kernel/
Dsmp.c47 cpumask_t cpu_core_map[NR_CPUS] __read_mostly; variable
48 EXPORT_SYMBOL(cpu_core_map);
401 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_core_map()
402 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_core_map()
/Linux-v6.6/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-v6.6/arch/ia64/include/asm/
Dtopology.h44 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
Dsmp.h55 extern cpumask_t cpu_core_map[NR_CPUS];
/Linux-v6.6/arch/loongarch/include/asm/
Dtopology.h34 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
Dsmp.h19 extern cpumask_t cpu_core_map[];
/Linux-v6.6/arch/x86/include/asm/
Dtopology.h121 #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu))
Dsmp.h15 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
/Linux-v6.6/arch/x86/kernel/
Dsmpboot.c96 DEFINE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
97 EXPORT_PER_CPU_SYMBOL(cpu_core_map);
1170 zalloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL); in smp_prepare_cpus_common()
/Linux-v6.6/arch/powerpc/kernel/
Dsmp.c88 DEFINE_PER_CPU(cpumask_var_t, cpu_core_map);
93 EXPORT_PER_CPU_SYMBOL(cpu_core_map);
1110 zalloc_cpumask_var_node(&per_cpu(cpu_core_map, cpu), in smp_prepare_cpus()