Home
last modified time | relevance | path

Searched refs:xsave (Results 1 – 7 of 7) sorted by relevance

/arch/x86/include/asm/
Dxsave.h47 struct xsave_struct *fx = &fpu->state->xsave; in fpu_xrstor_checking()
147 [fx] "D" (&fpu->state->xsave), "a" (-1), "d" (-1) : in fpu_xsave()
Dfpu-internal.h221 if (!(fpu->state->xsave.xsave_hdr.xstate_bv & XSTATE_FP)) in fpu_save_init()
Dprocessor.h383 struct xsave_struct xsave; member
/arch/x86/kernel/
Di387.c318 target->thread.fpu.state->xsave.xsave_hdr.xstate_bv |= XSTATE_FPSSE; in xfpregs_set()
348 &target->thread.fpu.state->xsave, 0, -1); in xstateregs_get()
367 &target->thread.fpu.state->xsave, 0, -1); in xstateregs_set()
374 xsave_hdr = &target->thread.fpu.state->xsave.xsave_hdr; in xstateregs_set()
587 target->thread.fpu.state->xsave.xsave_hdr.xstate_bv |= XSTATE_FP; in fpregs_set()
647 tsk->thread.fpu.state->xsave.xsave_hdr.xstate_bv |= XSTATE_FPSSE; in save_i387_xsave()
729 &current->thread.fpu.state->xsave.xsave_hdr; in restore_i387_xsave()
DMakefile40 obj-y += i387.o xsave.o
Dxsave.c53 xstate_bv = tsk->thread.fpu.state->xsave.xsave_hdr.xstate_bv; in __sanitize_i387_state()
/arch/x86/kvm/
Dx86.c2525 &vcpu->arch.guest_fpu.state->xsave, in kvm_vcpu_ioctl_x86_get_xsave()
2543 memcpy(&vcpu->arch.guest_fpu.state->xsave, in kvm_vcpu_ioctl_x86_set_xsave()
2599 struct kvm_xsave *xsave; in kvm_arch_vcpu_ioctl() member
2798 u.xsave = kzalloc(sizeof(struct kvm_xsave), GFP_KERNEL); in kvm_arch_vcpu_ioctl()
2800 if (!u.xsave) in kvm_arch_vcpu_ioctl()
2803 kvm_vcpu_ioctl_x86_get_xsave(vcpu, u.xsave); in kvm_arch_vcpu_ioctl()
2806 if (copy_to_user(argp, u.xsave, sizeof(struct kvm_xsave))) in kvm_arch_vcpu_ioctl()
2812 u.xsave = memdup_user(argp, sizeof(*u.xsave)); in kvm_arch_vcpu_ioctl()
2813 if (IS_ERR(u.xsave)) { in kvm_arch_vcpu_ioctl()
2814 r = PTR_ERR(u.xsave); in kvm_arch_vcpu_ioctl()
[all …]