Home
last modified time | relevance | path

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

/arch/x86/include/uapi/asm/
Dkvm.h356 struct kvm_xcr xcrs[KVM_MAX_XCRS]; member
/arch/x86/kvm/
Dx86.c4139 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()
4140 guest_xcrs->xcrs[0].value = vcpu->arch.xcr0; in kvm_vcpu_ioctl_x86_get_xcrs()
4156 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()
4158 guest_xcrs->xcrs[i].value); in kvm_vcpu_ioctl_x86_set_xcrs()
4233 struct kvm_xcrs *xcrs; in kvm_arch_vcpu_ioctl() member
4457 u.xcrs = kzalloc(sizeof(struct kvm_xcrs), GFP_KERNEL_ACCOUNT); in kvm_arch_vcpu_ioctl()
4459 if (!u.xcrs) in kvm_arch_vcpu_ioctl()
4462 kvm_vcpu_ioctl_x86_get_xcrs(vcpu, u.xcrs); in kvm_arch_vcpu_ioctl()
4465 if (copy_to_user(argp, u.xcrs, in kvm_arch_vcpu_ioctl()
4472 u.xcrs = memdup_user(argp, sizeof(*u.xcrs)); in kvm_arch_vcpu_ioctl()
[all …]