Home
last modified time | relevance | path

Searched refs:xcr (Results 1 – 4 of 4) sorted by relevance

/arch/x86/include/uapi/asm/
Dkvm.h348 __u32 xcr; member
/arch/x86/include/asm/
Dkvm_emulate.h232 int (*set_xcr)(struct x86_emulate_ctxt *ctxt, u32 index, u64 xcr);
Dkvm_host.h1389 int kvm_set_xcr(struct kvm_vcpu *vcpu, u32 index, u64 xcr);
/arch/x86/kvm/
Dx86.c838 static int __kvm_set_xcr(struct kvm_vcpu *vcpu, u32 index, u64 xcr) in __kvm_set_xcr() argument
840 u64 xcr0 = xcr; in __kvm_set_xcr()
878 int kvm_set_xcr(struct kvm_vcpu *vcpu, u32 index, u64 xcr) in kvm_set_xcr() argument
881 __kvm_set_xcr(vcpu, index, xcr)) { in kvm_set_xcr()
4022 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()
4039 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()
6211 static int emulator_set_xcr(struct x86_emulate_ctxt *ctxt, u32 index, u64 xcr) in emulator_set_xcr() argument
6213 return __kvm_set_xcr(emul_to_vcpu(ctxt), index, xcr); in emulator_set_xcr()