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

/linux-4.4.14/arch/x86/include/uapi/asm/
H A Dkvm.h349 struct kvm_xcr xcrs[KVM_MAX_XCRS]; member in struct:kvm_xcrs
/linux-4.4.14/arch/x86/kvm/
H A Dx86.c3157 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; kvm_vcpu_ioctl_x86_get_xcrs()
3158 guest_xcrs->xcrs[0].value = vcpu->arch.xcr0; kvm_vcpu_ioctl_x86_get_xcrs()
3174 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { kvm_vcpu_ioctl_x86_set_xcrs()
3176 guest_xcrs->xcrs[i].value); kvm_vcpu_ioctl_x86_set_xcrs()
3208 struct kvm_xcrs *xcrs; kvm_arch_vcpu_ioctl() member in union:__anon3205
3416 u.xcrs = kzalloc(sizeof(struct kvm_xcrs), GFP_KERNEL); kvm_arch_vcpu_ioctl()
3418 if (!u.xcrs) kvm_arch_vcpu_ioctl()
3421 kvm_vcpu_ioctl_x86_get_xcrs(vcpu, u.xcrs); kvm_arch_vcpu_ioctl()
3424 if (copy_to_user(argp, u.xcrs, kvm_arch_vcpu_ioctl()
3431 u.xcrs = memdup_user(argp, sizeof(*u.xcrs)); kvm_arch_vcpu_ioctl()
3432 if (IS_ERR(u.xcrs)) kvm_arch_vcpu_ioctl()
3433 return PTR_ERR(u.xcrs); kvm_arch_vcpu_ioctl()
3435 r = kvm_vcpu_ioctl_x86_set_xcrs(vcpu, u.xcrs); kvm_arch_vcpu_ioctl()

Completed in 147 milliseconds