Home
last modified time | relevance | path

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

/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()
/arch/sh/include/asm/
Dtopology.h22 extern cpumask_t cpu_core_map[NR_CPUS];
24 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
/arch/ia64/kernel/
Dsmpboot.c115 cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned; variable
116 EXPORT_SYMBOL(cpu_core_map);
569 for_each_cpu(i, &cpu_core_map[cpu]) in clear_cpu_sibling_map()
570 cpumask_clear_cpu(cpu, &cpu_core_map[i]); in clear_cpu_sibling_map()
572 per_cpu(cpu_sibling_map, cpu) = cpu_core_map[cpu] = CPU_MASK_NONE; in clear_cpu_sibling_map()
582 cpumask_clear_cpu(cpu, &cpu_core_map[cpu]); in remove_siblinginfo()
587 last = (cpumask_weight(&cpu_core_map[cpu]) == 1 ? 1 : 0); in remove_siblinginfo()
703 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_sibling_map()
704 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_sibling_map()
741 cpumask_set_cpu(cpu, &cpu_core_map[cpu]); in __cpu_up()
Dsetup.c724 cpumask_weight(&cpu_core_map[cpunum])); in show_cpuinfo()
956 cpumask_set_cpu(0, &cpu_core_map[0]); in cpu_init()
/arch/mips/include/asm/
Dtopology.h17 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu])
Dsmp.h25 extern cpumask_t cpu_core_map[];
/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];
/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];
/arch/powerpc/include/asm/
Dsmp.h116 DECLARE_PER_CPU(cpumask_var_t, cpu_core_map);
126 return per_cpu(cpu_core_map, cpu); in cpu_core_mask()
/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()
/arch/sparc/kernel/
Dsmp_64.c62 cpumask_t cpu_core_map[NR_CPUS] __read_mostly = variable
72 EXPORT_SYMBOL(cpu_core_map);
1234 cpumask_clear(&cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1236 cpumask_set_cpu(i, &cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1243 cpumask_set_cpu(j, &cpu_core_map[i]); in smp_fill_in_sib_core_maps()
1340 for_each_cpu(i, &cpu_core_map[cpu]) in __cpu_disable()
1341 cpumask_clear_cpu(cpu, &cpu_core_map[i]); in __cpu_disable()
1342 cpumask_clear(&cpu_core_map[cpu]); in __cpu_disable()
/arch/x86/include/asm/
Dtopology.h117 #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu))
Dsmp.h15 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
/arch/powerpc/kernel/
Dsmp.c84 DEFINE_PER_CPU(cpumask_var_t, cpu_core_map);
89 EXPORT_PER_CPU_SYMBOL(cpu_core_map);
1013 zalloc_cpumask_var_node(&per_cpu(cpu_core_map, cpu), in smp_prepare_cpus()
/arch/x86/xen/
Dsmp_pv.c232 zalloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL); in xen_pv_smp_prepare_cpus()
/arch/x86/kernel/
Dsmpboot.c90 DEFINE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
91 EXPORT_PER_CPU_SYMBOL(cpu_core_map);
1340 zalloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL); in native_smp_prepare_cpus()