Lines Matching full:topology
1168 struct vm_cpu_topology topology;
1170 bzero(&topology, sizeof (struct vm_cpu_topology));
1171 topology.sockets = sockets;
1172 topology.cores = cores;
1173 topology.threads = threads;
1174 topology.maxcpus = maxcpus;
1175 return (ioctl(ctx->fd, VM_SET_TOPOLOGY, &topology));
1182 struct vm_cpu_topology topology;
1185 bzero(&topology, sizeof (struct vm_cpu_topology));
1186 error = ioctl(ctx->fd, VM_GET_TOPOLOGY, &topology);
1188 *sockets = topology.sockets;
1189 *cores = topology.cores;
1190 *threads = topology.threads;
1191 *maxcpus = topology.maxcpus;