Searched refs:cpu_topology (Results 1 – 18 of 18) sorted by relevance
/linux/arch/parisc/kernel/ |
A D | topology.c | 22 struct cputopo_parisc cpu_topology[NR_CPUS] __read_mostly; variable 23 EXPORT_SYMBOL_GPL(cpu_topology); 27 return &cpu_topology[cpu].core_sibling; in cpu_coregroup_mask() 37 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks() 65 struct cputopo_parisc *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() 86 cpuid_topo->core_id = cpu_topology[cpu].core_id; in store_cpu_topology() 89 cpuid_topo->socket_id = cpu_topology[cpu].socket_id; in store_cpu_topology() 105 cpuid, cpu_topology[cpuid].thread_id, in store_cpu_topology() 106 cpu_topology[cpuid].core_id, in store_cpu_topology() 107 cpu_topology[cpuid].socket_id); in store_cpu_topology() [all …]
|
/linux/arch/s390/include/asm/ |
A D | topology.h | 27 extern struct cpu_topology_s390 cpu_topology[NR_CPUS]; 29 #define topology_physical_package_id(cpu) (cpu_topology[cpu].socket_id) 30 #define topology_thread_id(cpu) (cpu_topology[cpu].thread_id) 31 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_mask) 32 #define topology_core_id(cpu) (cpu_topology[cpu].core_id) 33 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_mask) 34 #define topology_book_id(cpu) (cpu_topology[cpu].book_id) 35 #define topology_book_cpumask(cpu) (&cpu_topology[cpu].book_mask) 36 #define topology_drawer_id(cpu) (cpu_topology[cpu].drawer_id) 38 #define topology_cpu_dedicated(cpu) (cpu_topology[cpu].dedicated) [all …]
|
/linux/include/linux/ |
A D | arch_topology.h | 62 struct cpu_topology { struct 75 extern struct cpu_topology cpu_topology[NR_CPUS]; argument 77 #define topology_physical_package_id(cpu) (cpu_topology[cpu].package_id) 78 #define topology_cluster_id(cpu) (cpu_topology[cpu].cluster_id) 79 #define topology_core_id(cpu) (cpu_topology[cpu].core_id) 80 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_sibling) 81 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_sibling) 82 #define topology_cluster_cpumask(cpu) (&cpu_topology[cpu].cluster_sibling) 83 #define topology_llc_cpumask(cpu) (&cpu_topology[cpu].llc_sibling)
|
/linux/drivers/base/ |
A D | arch_topology.c | 437 cpu_topology[cpu].core_id = core_id; in parse_core() 438 cpu_topology[cpu].thread_id = i; in parse_core() 458 cpu_topology[cpu].core_id = core_id; in parse_core() 566 if (cpu_topology[cpu].package_id == -1) in parse_dt_topology() 580 struct cpu_topology cpu_topology[NR_CPUS]; variable 581 EXPORT_SYMBOL_GPL(cpu_topology); 592 if (cpu_topology[cpu].llc_id != -1) { in cpu_coregroup_mask() 607 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() 612 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks() 641 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in clear_cpu_topology() [all …]
|
/linux/arch/parisc/include/asm/ |
A D | topology.h | 16 extern struct cputopo_parisc cpu_topology[NR_CPUS]; 18 #define topology_physical_package_id(cpu) (cpu_topology[cpu].socket_id) 19 #define topology_core_id(cpu) (cpu_topology[cpu].core_id) 20 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_sibling) 21 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_sibling)
|
/linux/arch/arm64/kernel/ |
A D | topology.c | 27 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() 99 cpu_topology[cpu].thread_id = topology_id; in parse_acpi_topology() 101 cpu_topology[cpu].core_id = topology_id; in parse_acpi_topology() 103 cpu_topology[cpu].thread_id = -1; in parse_acpi_topology() 104 cpu_topology[cpu].core_id = topology_id; in parse_acpi_topology() 107 cpu_topology[cpu].cluster_id = topology_id; in parse_acpi_topology() 109 cpu_topology[cpu].package_id = topology_id; in parse_acpi_topology() 120 cpu_topology[cpu].llc_id = cache_id; in parse_acpi_topology()
|
/linux/arch/arm/kernel/ |
A D | topology.c | 187 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() 227 cpuid, cpu_topology[cpuid].thread_id, in store_cpu_topology() 228 cpu_topology[cpuid].core_id, in store_cpu_topology() 229 cpu_topology[cpuid].package_id, mpidr); in store_cpu_topology()
|
/linux/arch/s390/kernel/ |
A D | topology.c | 62 struct cpu_topology_s390 cpu_topology[NR_CPUS]; variable 63 EXPORT_SYMBOL_GPL(cpu_topology); 135 topo = &cpu_topology[lcpu + i]; in add_cpus_to_mask() 257 topo = &cpu_topology[cpu]; in update_cpu_masks() 273 topo = &cpu_topology[cpu]; in update_cpu_masks() 275 topo_package = &cpu_topology[pkg_first]; in update_cpu_masks() 278 topo_sibling = &cpu_topology[sibling]; in update_cpu_masks() 500 return &cpu_topology[cpu].thread_mask; in cpu_thread_mask() 506 return &cpu_topology[cpu].core_mask; in cpu_coregroup_mask() 511 return &cpu_topology[cpu].book_mask; in cpu_book_mask() [all …]
|
/linux/tools/perf/util/ |
A D | cputopo.h | 7 struct cpu_topology { struct 59 struct cpu_topology *cpu_topology__new(void); 60 void cpu_topology__delete(struct cpu_topology *tp);
|
A D | cputopo.c | 34 static int build_cpu_topology(struct cpu_topology *tp, int cpu) in build_cpu_topology() 141 void cpu_topology__delete(struct cpu_topology *tp) in cpu_topology__delete() 179 struct cpu_topology *cpu_topology__new(void) in cpu_topology__new() 181 struct cpu_topology *tp = NULL; in cpu_topology__new()
|
A D | expr.c | 407 static struct cpu_topology *topology; in expr__get_literal()
|
A D | header.c | 578 struct cpu_topology *tp; in write_cpu_topology() 3312 FEAT_OPR(CPU_TOPOLOGY, cpu_topology, true),
|
/linux/arch/arc/kernel/ |
A D | setup.c | 689 static DEFINE_PER_CPU(struct cpu, cpu_topology); 696 register_cpu(&per_cpu(cpu_topology, cpu), cpu); in topology_init()
|
/linux/tools/power/x86/intel-speed-select/ |
A D | isst-config.c | 68 struct cpu_topology { struct 221 struct cpu_topology cpu_top; in get_stored_topology_info() 272 struct cpu_topology cpu_top; in store_cpu_topology()
|
/linux/tools/power/x86/turbostat/ |
A D | turbostat.c | 403 struct cpu_topology { struct 2856 int get_physical_node_id(struct cpu_topology *thiscpu) in get_physical_node_id() 2874 int get_thread_siblings(struct cpu_topology *thiscpu) in get_thread_siblings() 5627 cpus = calloc(1, (topo.max_cpu_num + 1) * sizeof(struct cpu_topology)); in topology_probe()
|
/linux/ |
A D | vmlinux.symvers | 5752 0x00000000 cpu_topology vmlinux EXPORT_SYMBOL_GPL
|
A D | System.map | 162718 ffff800012149758 B cpu_topology
|
A D | .tmp_System.map | 162718 ffff800012149758 B cpu_topology
|
Completed in 1167 milliseconds