Symbol: cpu_topology
arch/arc/kernel/setup.c
642
static DEFINE_PER_CPU(struct cpu, cpu_topology);
arch/arc/kernel/setup.c
649
register_cpu(&per_cpu(cpu_topology, cpu), cpu);
arch/arm/kernel/topology.c
187
struct cpu_topology *cpuid_topo = &cpu_topology[cpuid];
arch/arm/kernel/topology.c
227
cpuid, cpu_topology[cpuid].thread_id,
arch/arm/kernel/topology.c
228
cpu_topology[cpuid].core_id,
arch/arm/kernel/topology.c
229
cpu_topology[cpuid].package_id, mpidr);
arch/parisc/kernel/topology.c
30
struct cpu_topology *cpuid_topo = &cpu_topology[cpuid];
arch/parisc/kernel/topology.c
57
cpuid_topo->core_id = cpu_topology[cpu].core_id;
arch/parisc/kernel/topology.c
60
cpuid_topo->package_id = cpu_topology[cpu].package_id;
arch/parisc/kernel/topology.c
66
max_socket = max(max_socket, cpu_topology[cpu].package_id);
arch/parisc/kernel/topology.c
76
cpu_topology[cpuid].core_id,
arch/parisc/kernel/topology.c
77
cpu_topology[cpuid].package_id);
arch/s390/include/asm/topology.h
27
extern struct cpu_topology_s390 cpu_topology[NR_CPUS];
arch/s390/include/asm/topology.h
29
#define topology_physical_package_id(cpu) (cpu_topology[cpu].socket_id)
arch/s390/include/asm/topology.h
30
#define topology_thread_id(cpu) (cpu_topology[cpu].thread_id)
arch/s390/include/asm/topology.h
31
#define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_mask)
arch/s390/include/asm/topology.h
32
#define topology_core_id(cpu) (cpu_topology[cpu].core_id)
arch/s390/include/asm/topology.h
33
#define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_mask)
arch/s390/include/asm/topology.h
34
#define topology_book_id(cpu) (cpu_topology[cpu].book_id)
arch/s390/include/asm/topology.h
35
#define topology_book_cpumask(cpu) (&cpu_topology[cpu].book_mask)
arch/s390/include/asm/topology.h
36
#define topology_drawer_id(cpu) (cpu_topology[cpu].drawer_id)
arch/s390/include/asm/topology.h
37
#define topology_drawer_cpumask(cpu) (&cpu_topology[cpu].drawer_mask)
arch/s390/include/asm/topology.h
38
#define topology_cpu_dedicated(cpu) (cpu_topology[cpu].dedicated)
arch/s390/include/asm/topology.h
39
#define topology_booted_cores(cpu) (cpu_topology[cpu].booted_cores)
arch/s390/kernel/topology.c
139
topo = &cpu_topology[cpu];
arch/s390/kernel/topology.c
262
topo = &cpu_topology[cpu];
arch/s390/kernel/topology.c
279
topo = &cpu_topology[cpu];
arch/s390/kernel/topology.c
281
topo_package = &cpu_topology[pkg_first];
arch/s390/kernel/topology.c
284
topo_sibling = &cpu_topology[sibling];
arch/s390/kernel/topology.c
513
return &cpu_topology[cpu].core_mask;
arch/s390/kernel/topology.c
518
return &cpu_topology[cpu].book_mask;
arch/s390/kernel/topology.c
523
return &cpu_topology[cpu].drawer_mask;
arch/s390/kernel/topology.c
64
struct cpu_topology_s390 cpu_topology[NR_CPUS];
arch/s390/kernel/topology.c
65
EXPORT_SYMBOL_GPL(cpu_topology);
drivers/base/arch_topology.c
519
cpu_topology[cpu].package_id = package_id;
drivers/base/arch_topology.c
520
cpu_topology[cpu].cluster_id = cluster_id;
drivers/base/arch_topology.c
521
cpu_topology[cpu].core_id = core_id;
drivers/base/arch_topology.c
522
cpu_topology[cpu].thread_id = i;
drivers/base/arch_topology.c
540
cpu_topology[cpu].package_id = package_id;
drivers/base/arch_topology.c
541
cpu_topology[cpu].cluster_id = cluster_id;
drivers/base/arch_topology.c
542
cpu_topology[cpu].core_id = core_id;
drivers/base/arch_topology.c
691
if (cpu_topology[cpu].package_id < 0) {
drivers/base/arch_topology.c
702
struct cpu_topology cpu_topology[NR_CPUS];
drivers/base/arch_topology.c
703
EXPORT_SYMBOL_GPL(cpu_topology);
drivers/base/arch_topology.c
710
if (cpumask_subset(&cpu_topology[cpu].core_sibling, core_mask)) {
drivers/base/arch_topology.c
712
core_mask = &cpu_topology[cpu].core_sibling;
drivers/base/arch_topology.c
716
if (cpumask_subset(&cpu_topology[cpu].llc_sibling, core_mask))
drivers/base/arch_topology.c
717
core_mask = &cpu_topology[cpu].llc_sibling;
drivers/base/arch_topology.c
726
cpumask_subset(core_mask, &cpu_topology[cpu].cluster_sibling))
drivers/base/arch_topology.c
727
core_mask = &cpu_topology[cpu].cluster_sibling;
drivers/base/arch_topology.c
739
&cpu_topology[cpu].cluster_sibling))
drivers/base/arch_topology.c
742
return &cpu_topology[cpu].cluster_sibling;
drivers/base/arch_topology.c
747
struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid];
drivers/base/arch_topology.c
756
cpu_topo = &cpu_topology[cpu];
drivers/base/arch_topology.c
787
struct cpu_topology *cpu_topo = &cpu_topology[cpu];
drivers/base/arch_topology.c
806
struct cpu_topology *cpu_topo = &cpu_topology[cpu];
drivers/base/arch_topology.c
876
cpu_topology[cpu].thread_id = topology_id;
drivers/base/arch_topology.c
878
cpu_topology[cpu].core_id = topology_id;
drivers/base/arch_topology.c
908
cpu_topology[cpu].thread_id = -1;
drivers/base/arch_topology.c
909
cpu_topology[cpu].core_id = topology_id;
drivers/base/arch_topology.c
912
cpu_topology[cpu].cluster_id = topology_id;
drivers/base/arch_topology.c
914
cpu_topology[cpu].package_id = topology_id;
drivers/base/arch_topology.c
963
struct cpu_topology *cpuid_topo = &cpu_topology[cpuid];
include/linux/arch_topology.h
105
return cpu_topology[cpu].thread_id != -1;
include/linux/arch_topology.h
74
extern struct cpu_topology cpu_topology[NR_CPUS];
include/linux/arch_topology.h
76
#define topology_physical_package_id(cpu) (cpu_topology[cpu].package_id)
include/linux/arch_topology.h
77
#define topology_cluster_id(cpu) (cpu_topology[cpu].cluster_id)
include/linux/arch_topology.h
78
#define topology_core_id(cpu) (cpu_topology[cpu].core_id)
include/linux/arch_topology.h
79
#define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_sibling)
include/linux/arch_topology.h
80
#define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_sibling)
include/linux/arch_topology.h
81
#define topology_cluster_cpumask(cpu) (&cpu_topology[cpu].cluster_sibling)
include/linux/arch_topology.h
82
#define topology_llc_cpumask(cpu) (&cpu_topology[cpu].llc_sibling)
tools/perf/builtin-record.c
3910
struct cpu_topology *topo;
tools/perf/builtin-record.c
3928
struct cpu_topology *topo;
tools/perf/util/cputopo.c
142
void cpu_topology__delete(struct cpu_topology *tp)
tools/perf/util/cputopo.c
161
bool cpu_topology__smt_on(const struct cpu_topology *topology)
tools/perf/util/cputopo.c
176
bool cpu_topology__core_wide(const struct cpu_topology *topology,
tools/perf/util/cputopo.c
242
const struct cpu_topology *online_topology(void)
tools/perf/util/cputopo.c
244
static const struct cpu_topology *topology;
tools/perf/util/cputopo.c
256
struct cpu_topology *cpu_topology__new(void)
tools/perf/util/cputopo.c
258
struct cpu_topology *tp = NULL;
tools/perf/util/cputopo.c
35
static int build_cpu_topology(struct cpu_topology *tp, int cpu)
tools/perf/util/cputopo.h
62
const struct cpu_topology *online_topology(void);
tools/perf/util/cputopo.h
64
struct cpu_topology *cpu_topology__new(void);
tools/perf/util/cputopo.h
65
void cpu_topology__delete(struct cpu_topology *tp);
tools/perf/util/cputopo.h
67
bool cpu_topology__smt_on(const struct cpu_topology *topology);
tools/perf/util/cputopo.h
69
bool cpu_topology__core_wide(const struct cpu_topology *topology,
tools/perf/util/header.c
3743
FEAT_OPR(CPU_TOPOLOGY, cpu_topology, true),
tools/perf/util/header.c
606
struct cpu_topology *tp;
tools/perf/util/tool_pmu.c
341
const struct cpu_topology *topology;
tools/power/x86/intel-speed-select/isst-config.c
269
struct cpu_topology cpu_top;
tools/power/x86/intel-speed-select/isst-config.c
320
struct cpu_topology cpu_top;
tools/power/x86/turbostat/turbostat.c
6090
int get_physical_node_id(struct cpu_topology *thiscpu)
tools/power/x86/turbostat/turbostat.c
6164
int set_thread_siblings(struct cpu_topology *thiscpu)
tools/power/x86/turbostat/turbostat.c
9493
cpus = calloc(1, (topo.max_cpu_num + 1) * sizeof(struct cpu_topology));