Home
last modified time | relevance | path

Searched refs:cpu_topo (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/arch/arm64/kernel/
Dtopology.c216 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
221 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks()
223 if (cpuid_topo->cluster_id != cpu_topo->cluster_id) in update_siblings_masks()
226 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks()
230 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
233 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks()
282 struct cpu_topology *cpu_topo = &cpu_topology[cpu]; in reset_cpu_topology() local
284 cpu_topo->thread_id = -1; in reset_cpu_topology()
285 cpu_topo->core_id = 0; in reset_cpu_topology()
286 cpu_topo->cluster_id = -1; in reset_cpu_topology()
[all …]
/linux-4.4.14/arch/arm/kernel/
Dtopology.c199 struct cputopo_arm *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
204 cpu_topo = &cpu_topology[cpu]; in update_siblings_masks()
206 if (cpuid_topo->socket_id != cpu_topo->socket_id) in update_siblings_masks()
209 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks()
213 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
216 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks()
302 struct cputopo_arm *cpu_topo = &(cpu_topology[cpu]); in init_cpu_topology() local
304 cpu_topo->thread_id = -1; in init_cpu_topology()
305 cpu_topo->core_id = -1; in init_cpu_topology()
306 cpu_topo->socket_id = -1; in init_cpu_topology()
[all …]
/linux-4.4.14/tools/perf/util/
Dheader.c412 struct cpu_topo { struct
420 static int build_cpu_topo(struct cpu_topo *tp, int cpu) in build_cpu_topo() argument
486 static void free_cpu_topo(struct cpu_topo *tp) in free_cpu_topo()
502 static struct cpu_topo *build_cpu_topology(void) in build_cpu_topology()
504 struct cpu_topo *tp; in build_cpu_topology()
545 struct cpu_topo *tp; in write_cpu_topology()