Lines Matching full:smp
50 return (drawer_id * current_machine->smp.books + book_id) * in s390_socket_nb_from_ids()
51 current_machine->smp.sockets + socket_id; in s390_socket_nb_from_ids()
89 CpuTopology *smp = &ms->smp; in s390_topology_init() local
91 s390_topology.cores_per_socket = g_new0(uint8_t, smp->sockets * in s390_topology_init()
92 smp->books * smp->drawers); in s390_topology_init()
173 * (0, 0, 0) up to the last (smp->drawers, smp->books, smp->sockets).
184 CpuTopology *smp = ¤t_machine->smp; in s390_topology_cpu_default() local
197 env->socket_id = s390_std_socket(env->core_id, smp); in s390_topology_cpu_default()
198 env->book_id = s390_std_book(env->core_id, smp); in s390_topology_cpu_default()
199 env->drawer_id = s390_std_drawer(env->core_id, smp); in s390_topology_cpu_default()
237 CpuTopology *smp = ¤t_machine->smp; in s390_topology_check() local
239 if (socket_id >= smp->sockets) { in s390_topology_check()
243 if (book_id >= smp->books) { in s390_topology_check()
247 if (drawer_id >= smp->drawers) { in s390_topology_check()
343 if (s390_topology.cores_per_socket[entry] >= ms->smp.cores) { in s390_topology_setup_cpu()
415 ms->smp.cores) { in s390_change_topology()