Home
last modified time | relevance | path

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

/linux-3.4.99/arch/arm/kernel/
Dtopology.c106 struct cputopo_arm *cpu_topo = &cpu_topology[cpu]; in store_cpu_topology() local
108 if (cpuid_topo->socket_id == cpu_topo->socket_id) { in store_cpu_topology()
109 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in store_cpu_topology()
114 if (cpuid_topo->core_id == cpu_topo->core_id) { in store_cpu_topology()
116 &cpu_topo->thread_sibling); in store_cpu_topology()
141 struct cputopo_arm *cpu_topo = &(cpu_topology[cpu]); in init_cpu_topology() local
143 cpu_topo->thread_id = -1; in init_cpu_topology()
144 cpu_topo->core_id = -1; in init_cpu_topology()
145 cpu_topo->socket_id = -1; in init_cpu_topology()
146 cpumask_clear(&cpu_topo->core_sibling); in init_cpu_topology()
[all …]
/linux-3.4.99/tools/perf/util/
Dheader.c705 struct cpu_topo { struct
712 static int build_cpu_topo(struct cpu_topo *tp, int cpu) in build_cpu_topo() argument
775 static void free_cpu_topo(struct cpu_topo *tp) in free_cpu_topo()
791 static struct cpu_topo *build_cpu_topology(void) in build_cpu_topology()
793 struct cpu_topo *tp; in build_cpu_topology()
834 struct cpu_topo *tp; in write_cpu_topology()