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

/linux-4.1.27/arch/x86/include/uapi/asm/
H A Dkvm.h340 struct kvm_xcr xcrs[KVM_MAX_XCRS]; member in struct:kvm_xcrs
/linux-4.1.27/arch/x86/kvm/
H A Dx86.c3318 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; kvm_vcpu_ioctl_x86_get_xcrs()
3319 guest_xcrs->xcrs[0].value = vcpu->arch.xcr0; kvm_vcpu_ioctl_x86_get_xcrs()
3335 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { kvm_vcpu_ioctl_x86_set_xcrs()
3337 guest_xcrs->xcrs[i].value); kvm_vcpu_ioctl_x86_set_xcrs()
3369 struct kvm_xcrs *xcrs; kvm_arch_vcpu_ioctl() member in union:__anon3179
3573 u.xcrs = kzalloc(sizeof(struct kvm_xcrs), GFP_KERNEL); kvm_arch_vcpu_ioctl()
3575 if (!u.xcrs) kvm_arch_vcpu_ioctl()
3578 kvm_vcpu_ioctl_x86_get_xcrs(vcpu, u.xcrs); kvm_arch_vcpu_ioctl()
3581 if (copy_to_user(argp, u.xcrs, kvm_arch_vcpu_ioctl()
3588 u.xcrs = memdup_user(argp, sizeof(*u.xcrs)); kvm_arch_vcpu_ioctl()
3589 if (IS_ERR(u.xcrs)) kvm_arch_vcpu_ioctl()
3590 return PTR_ERR(u.xcrs); kvm_arch_vcpu_ioctl()
3592 r = kvm_vcpu_ioctl_x86_set_xcrs(vcpu, u.xcrs); kvm_arch_vcpu_ioctl()

Completed in 99 milliseconds