Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c911 struct kvm_xcrs xcrs; member
1008 r = ioctl(vcpu->fd, KVM_GET_XCRS, &state->xcrs); in vcpu_save_state()
1053 r = ioctl(vcpu->fd, KVM_SET_XCRS, &state->xcrs); in vcpu_load_state()
/OK3568_Linux_fs/kernel/arch/x86/include/uapi/asm/
H A Dkvm.h376 struct kvm_xcr xcrs[KVM_MAX_XCRS]; member
/OK3568_Linux_fs/kernel/tools/arch/x86/include/uapi/asm/
H A Dkvm.h376 struct kvm_xcr xcrs[KVM_MAX_XCRS]; member
/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Dx86.c4625 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()
4626 guest_xcrs->xcrs[0].value = vcpu->arch.xcr0; in kvm_vcpu_ioctl_x86_get_xcrs()
4642 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()
4644 guest_xcrs->xcrs[i].value); in kvm_vcpu_ioctl_x86_set_xcrs()
4726 struct kvm_xcrs *xcrs; in kvm_arch_vcpu_ioctl() member
4950 u.xcrs = kzalloc(sizeof(struct kvm_xcrs), GFP_KERNEL_ACCOUNT); in kvm_arch_vcpu_ioctl()
4952 if (!u.xcrs) in kvm_arch_vcpu_ioctl()
4955 kvm_vcpu_ioctl_x86_get_xcrs(vcpu, u.xcrs); in kvm_arch_vcpu_ioctl()
4958 if (copy_to_user(argp, u.xcrs, in kvm_arch_vcpu_ioctl()
4965 u.xcrs = memdup_user(argp, sizeof(*u.xcrs)); in kvm_arch_vcpu_ioctl()
[all …]
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Dapi.rst1540 struct kvm_xcr xcrs[KVM_MAX_XCRS];
1544 This ioctl would copy current vcpu's xcrs to the userspace.
1567 struct kvm_xcr xcrs[KVM_MAX_XCRS];