Lines Matching full:cpuid
44 int cpuid; member
65 vcpu_alloc(struct tcb *const tcp, int fd, int cpuid) in vcpu_alloc() argument
70 vcpu_info->cpuid = cpuid; in vcpu_alloc()
92 vcpu_register(struct tcb *const tcp, int fd, int cpuid) in vcpu_register() argument
100 vcpu_info = vcpu_alloc(tcp, fd, cpuid); in vcpu_register()
101 else if (vcpu_info->cpuid != cpuid) in vcpu_register()
103 vcpu_info->cpuid = cpuid; in vcpu_register()
154 int cpuid = string_to_uint(cpuid_str); in vcpu_get_info() local
155 if (cpuid < 0) in vcpu_get_info()
157 if (vcpu_info->cpuid == cpuid) in vcpu_get_info()
178 int cpuid = string_to_uint(cpuid_str); in vcpu_get_info() local
179 if (cpuid < 0) in vcpu_get_info()
182 vcpu_info = vcpu_alloc(tcp, fd, cpuid); in vcpu_get_info()
183 else if (vcpu_info->cpuid != cpuid) in vcpu_get_info()
184 vcpu_info->cpuid = cpuid; in vcpu_get_info()
197 uint32_t cpuid = arg; in kvm_ioctl_create_vcpu() local
200 tprintf(", %u", cpuid); in kvm_ioctl_create_vcpu()
204 vcpu_register(tcp, tcp->u_rval, cpuid); in kvm_ioctl_create_vcpu()
275 struct kvm_cpuid2 cpuid; in kvm_ioctl_decode_cpuid2() local
285 if (!umove_or_printaddr(tcp, arg, &cpuid)) { in kvm_ioctl_decode_cpuid2()
286 PRINT_FIELD_U("{", cpuid, nent); in kvm_ioctl_decode_cpuid2()
291 if (cpuid.nent) in kvm_ioctl_decode_cpuid2()
297 print_array(tcp, arg + sizeof(cpuid), cpuid.nent, in kvm_ioctl_decode_cpuid2()