Searched refs:cpu_topo (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/arch/parisc/kernel/ |
D | topology.c | 32 struct cputopo_parisc *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local 37 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks() 39 if (cpuid_topo->socket_id != cpu_topo->socket_id) in update_siblings_masks() 42 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks() 46 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks() 49 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks() 129 struct cputopo_parisc *cpu_topo = &(cpu_topology[cpu]); in init_cpu_topology() local 131 cpu_topo->thread_id = -1; in init_cpu_topology() 132 cpu_topo->core_id = -1; in init_cpu_topology() 133 cpu_topo->socket_id = -1; in init_cpu_topology() [all …]
|
/Linux-v4.19/arch/arm64/kernel/ |
D | topology.c | 235 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local 240 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks() 242 if (cpuid_topo->llc_id == cpu_topo->llc_id) { in update_siblings_masks() 244 cpumask_set_cpu(cpuid, &cpu_topo->llc_sibling); in update_siblings_masks() 247 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks() 250 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks() 253 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks() 256 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks() 301 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in clear_cpu_topology() local 303 cpumask_clear(&cpu_topo->llc_sibling); in clear_cpu_topology() [all …]
|
/Linux-v4.19/arch/arm/kernel/ |
D | topology.c | 208 struct cputopo_arm *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local 213 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks() 215 if (cpuid_topo->socket_id != cpu_topo->socket_id) in update_siblings_masks() 218 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks() 222 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks() 225 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks() 311 struct cputopo_arm *cpu_topo = &(cpu_topology[cpu]); in init_cpu_topology() local 313 cpu_topo->thread_id = -1; in init_cpu_topology() 314 cpu_topo->core_id = -1; in init_cpu_topology() 315 cpu_topo->socket_id = -1; in init_cpu_topology() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | header.c | 565 struct cpu_topo { struct 573 static int build_cpu_topo(struct cpu_topo *tp, int cpu) in build_cpu_topo() argument 639 static void free_cpu_topo(struct cpu_topo *tp) in free_cpu_topo() 655 static struct cpu_topo *build_cpu_topology(void) in build_cpu_topology() 657 struct cpu_topo *tp = NULL; in build_cpu_topology() 709 struct cpu_topo *tp; in write_cpu_topology()
|