Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/arch/ia64/kernel/
Dsmpboot.c117 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()
Dsetup.c726 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/
Dtopology.h22 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/
Dsmp.h113 DECLARE_PER_CPU(cpumask_var_t, cpu_core_map);
123 return per_cpu(cpu_core_map, cpu); in cpu_core_mask()
Dtopology.h139 #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu))
/Linux-v5.4/arch/mips/include/asm/
Dtopology.h17 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
Dsmp.h25 extern cpumask_t cpu_core_map[];
/Linux-v5.4/arch/mips/kernel/
Dsmp.c55 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/
Dsmp_64.c62 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/
Dtopology.h44 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
Dsmp.h61 extern cpumask_t cpu_core_map[NR_CPUS];
/Linux-v5.4/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-v5.4/arch/x86/include/asm/
Dtopology.h115 #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu))
Dsmp.h25 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
/Linux-v5.4/arch/powerpc/kernel/
Dsmp.c81 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/
Dsmpboot.c89 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/
Dsmp_pv.c254 zalloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL); in xen_pv_smp_prepare_cpus()