/Linux-v5.4/arch/sh/kernel/ |
D | topology.c | 18 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-v5.4/arch/ia64/kernel/ |
D | smpboot.c | 117 cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned; variable 118 EXPORT_SYMBOL(cpu_core_map); 580 for_each_cpu(i, &cpu_core_map[cpu]) in clear_cpu_sibling_map() 581 cpumask_clear_cpu(cpu, &cpu_core_map[i]); in clear_cpu_sibling_map() 583 per_cpu(cpu_sibling_map, cpu) = cpu_core_map[cpu] = CPU_MASK_NONE; in clear_cpu_sibling_map() 593 cpumask_clear_cpu(cpu, &cpu_core_map[cpu]); in remove_siblinginfo() 598 last = (cpumask_weight(&cpu_core_map[cpu]) == 1 ? 1 : 0); in remove_siblinginfo() 714 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_sibling_map() 715 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_sibling_map() 752 cpumask_set_cpu(cpu, &cpu_core_map[cpu]); in __cpu_up()
|
D | setup.c | 726 cpumask_weight(&cpu_core_map[cpunum])); in show_cpuinfo() 958 cpumask_set_cpu(0, &cpu_core_map[0]); in cpu_init()
|
/Linux-v5.4/arch/sh/include/asm/ |
D | topology.h | 22 extern cpumask_t cpu_core_map[NR_CPUS]; 24 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | smp.h | 113 DECLARE_PER_CPU(cpumask_var_t, cpu_core_map); 123 return per_cpu(cpu_core_map, cpu); in cpu_core_mask()
|
D | topology.h | 139 #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu))
|
/Linux-v5.4/arch/mips/include/asm/ |
D | topology.h | 17 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
|
D | smp.h | 25 extern cpumask_t cpu_core_map[];
|
/Linux-v5.4/arch/mips/kernel/ |
D | smp.c | 55 cpumask_t cpu_core_map[NR_CPUS] __read_mostly; variable 56 EXPORT_SYMBOL(cpu_core_map); 106 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_core_map() 107 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_core_map()
|
/Linux-v5.4/arch/sparc/kernel/ |
D | smp_64.c | 62 cpumask_t cpu_core_map[NR_CPUS] __read_mostly = variable 72 EXPORT_SYMBOL(cpu_core_map); 1274 cpumask_clear(&cpu_core_map[i]); in smp_fill_in_sib_core_maps() 1276 cpumask_set_cpu(i, &cpu_core_map[i]); in smp_fill_in_sib_core_maps() 1283 cpumask_set_cpu(j, &cpu_core_map[i]); in smp_fill_in_sib_core_maps() 1380 for_each_cpu(i, &cpu_core_map[cpu]) in __cpu_disable() 1381 cpumask_clear_cpu(cpu, &cpu_core_map[i]); in __cpu_disable() 1382 cpumask_clear(&cpu_core_map[cpu]); in __cpu_disable()
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | topology.h | 44 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
|
D | smp.h | 61 extern cpumask_t cpu_core_map[NR_CPUS];
|
/Linux-v5.4/arch/sparc/include/asm/ |
D | smp_64.h | 35 extern cpumask_t cpu_core_map[NR_CPUS];
|
D | topology_64.h | 53 extern cpumask_t cpu_core_map[NR_CPUS];
|
/Linux-v5.4/arch/x86/include/asm/ |
D | topology.h | 115 #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu))
|
D | smp.h | 25 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | smp.c | 81 DEFINE_PER_CPU(cpumask_var_t, cpu_core_map); 85 EXPORT_PER_CPU_SYMBOL(cpu_core_map); 861 zalloc_cpumask_var_node(&per_cpu(cpu_core_map, cpu), in smp_prepare_cpus()
|
/Linux-v5.4/arch/x86/kernel/ |
D | smpboot.c | 89 DEFINE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map); 90 EXPORT_PER_CPU_SYMBOL(cpu_core_map); 1325 zalloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL); in native_smp_prepare_cpus()
|
/Linux-v5.4/arch/x86/xen/ |
D | smp_pv.c | 254 zalloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL); in xen_pv_smp_prepare_cpus()
|