Lines Matching defs:topo
123 struct cpu_topology_s390 *topo;
136 topo = &cpu_topology[cpu];
137 topo->drawer_id = drawer->id;
138 topo->book_id = book->id;
139 topo->socket_id = socket->id;
140 topo->core_id = rcore;
141 topo->thread_id = cpu;
142 topo->dedicated = tl_core->d;
254 struct cpu_topology_s390 *topo, *topo_package, *topo_sibling;
258 topo = &cpu_topology[cpu];
259 cpu_thread_map(&topo->thread_mask, cpu);
260 cpu_group_map(&topo->core_mask, &socket_info, cpu);
261 cpu_group_map(&topo->book_mask, &book_info, cpu);
262 cpu_group_map(&topo->drawer_mask, &drawer_info, cpu);
263 topo->booted_cores = 0;
266 topo->thread_id = cpu;
267 topo->core_id = cpu;
268 topo->socket_id = id;
269 topo->book_id = id;
270 topo->drawer_id = id;
274 topo = &cpu_topology[cpu];
275 pkg_first = cpumask_first(&topo->core_mask);
278 for_each_cpu(sibling, &topo->core_mask) {
285 topo->booted_cores = topo_package->booted_cores;