Searched refs:xsave (Results 1 – 7 of 7) sorted by relevance
/arch/x86/kernel/ |
D | xsave.c | 48 xstate_bv = tsk->thread.fpu.state->xsave.xsave_hdr.xstate_bv; in __sanitize_i387_state() 138 struct xsave_struct *xsave = &tsk->thread.fpu.state->xsave; in save_fsave_header() local 145 __put_user(xsave->i387.swd, &fp->status) || in save_fsave_header() 236 struct xsave_struct *xsave = ¤t->thread.fpu.state->xsave; in save_xstate_sig() local 260 if (__copy_to_user(buf_fx, xsave, xstate_size)) in save_xstate_sig() 281 struct xsave_struct *xsave = &tsk->thread.fpu.state->xsave; in sanitize_restored_xstate() local 282 struct xsave_hdr_struct *xsave_hdr = &xsave->xsave_hdr; in sanitize_restored_xstate() 303 xsave->i387.mxcsr &= mxcsr_feature_mask; in sanitize_restored_xstate() 381 struct xsave_struct *xsave = &tsk->thread.fpu.state->xsave; in __restore_xstate_sig() local 395 if (__copy_from_user(xsave, buf_fx, state_size) || in __restore_xstate_sig()
|
D | i387.c | 299 target->thread.fpu.state->xsave.xsave_hdr.xstate_bv |= XSTATE_FPSSE; in xfpregs_set() 329 &target->thread.fpu.state->xsave, 0, -1); in xstateregs_get() 348 &target->thread.fpu.state->xsave, 0, -1); in xstateregs_set() 355 xsave_hdr = &target->thread.fpu.state->xsave.xsave_hdr; in xstateregs_set() 568 target->thread.fpu.state->xsave.xsave_hdr.xstate_bv |= XSTATE_FP; in fpregs_set()
|
D | Makefile | 39 obj-y += i387.o xsave.o
|
/arch/x86/include/asm/ |
D | fpu-internal.h | 253 if (!(fpu->state->xsave.xsave_hdr.xstate_bv & XSTATE_FP)) in fpu_save_init() 286 return fpu_xrstor_checking(&fpu->state->xsave); in fpu_restore_checking() 513 xsave_state(&tsk->thread.fpu.state->xsave, -1); in __save_fpu() 593 memset(&dst->thread.fpu.state->xsave, 0, xstate_size); in fpu_copy()
|
D | xsave.h | 136 [fx] "D" (&fpu->state->xsave), "a" (-1), "d" (-1) : in fpu_xsave()
|
D | processor.h | 389 struct xsave_struct xsave; member
|
/arch/x86/kvm/ |
D | x86.c | 2935 &vcpu->arch.guest_fpu.state->xsave, in kvm_vcpu_ioctl_x86_get_xsave() 2953 memcpy(&vcpu->arch.guest_fpu.state->xsave, in kvm_vcpu_ioctl_x86_set_xsave() 3024 struct kvm_xsave *xsave; in kvm_arch_vcpu_ioctl() member 3208 u.xsave = kzalloc(sizeof(struct kvm_xsave), GFP_KERNEL); in kvm_arch_vcpu_ioctl() 3210 if (!u.xsave) in kvm_arch_vcpu_ioctl() 3213 kvm_vcpu_ioctl_x86_get_xsave(vcpu, u.xsave); in kvm_arch_vcpu_ioctl() 3216 if (copy_to_user(argp, u.xsave, sizeof(struct kvm_xsave))) in kvm_arch_vcpu_ioctl() 3222 u.xsave = memdup_user(argp, sizeof(*u.xsave)); in kvm_arch_vcpu_ioctl() 3223 if (IS_ERR(u.xsave)) in kvm_arch_vcpu_ioctl() 3224 return PTR_ERR(u.xsave); in kvm_arch_vcpu_ioctl() [all …]
|