fxsave            146 arch/x86/kernel/i387.c 		struct i387_fxsave_struct *fx = &tsk->thread.xstate->fxsave;
fxsave            191 arch/x86/kernel/i387.c 				   &target->thread.xstate->fxsave, 0, -1);
fxsave            210 arch/x86/kernel/i387.c 				 &target->thread.xstate->fxsave, 0, -1);
fxsave            215 arch/x86/kernel/i387.c 	target->thread.xstate->fxsave.mxcsr &= mxcsr_feature_mask;
fxsave            257 arch/x86/kernel/i387.c 	u32 tos = (fxsave->swd >> 11) & 7;
fxsave            258 arch/x86/kernel/i387.c 	u32 twd = (unsigned long) fxsave->twd;
fxsave            265 arch/x86/kernel/i387.c 			st = FPREG_ADDR(fxsave, (i - tos) & 7);
fxsave            302 arch/x86/kernel/i387.c 	struct i387_fxsave_struct *fxsave = &tsk->thread.xstate->fxsave;
fxsave            304 arch/x86/kernel/i387.c 	struct _fpxreg *from = (struct _fpxreg *) &fxsave->st_space[0];
fxsave            307 arch/x86/kernel/i387.c 	env->cwd = fxsave->cwd | 0xffff0000u;
fxsave            308 arch/x86/kernel/i387.c 	env->swd = fxsave->swd | 0xffff0000u;
fxsave            309 arch/x86/kernel/i387.c 	env->twd = twd_fxsr_to_i387(fxsave);
fxsave            312 arch/x86/kernel/i387.c 	env->fip = fxsave->rip;
fxsave            313 arch/x86/kernel/i387.c 	env->foo = fxsave->rdp;
fxsave            328 arch/x86/kernel/i387.c 	env->fip = fxsave->fip;
fxsave            329 arch/x86/kernel/i387.c 	env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16);
fxsave            330 arch/x86/kernel/i387.c 	env->foo = fxsave->foo;
fxsave            331 arch/x86/kernel/i387.c 	env->fos = fxsave->fos;
fxsave            342 arch/x86/kernel/i387.c 	struct i387_fxsave_struct *fxsave = &tsk->thread.xstate->fxsave;
fxsave            344 arch/x86/kernel/i387.c 	struct _fpxreg *to = (struct _fpxreg *) &fxsave->st_space[0];
fxsave            347 arch/x86/kernel/i387.c 	fxsave->cwd = env->cwd;
fxsave            348 arch/x86/kernel/i387.c 	fxsave->swd = env->swd;
fxsave            349 arch/x86/kernel/i387.c 	fxsave->twd = twd_i387_to_fxsr(env->twd);
fxsave            350 arch/x86/kernel/i387.c 	fxsave->fop = (u16) ((u32) env->fcs >> 16);
fxsave            352 arch/x86/kernel/i387.c 	fxsave->rip = env->fip;
fxsave            353 arch/x86/kernel/i387.c 	fxsave->rdp = env->foo;
fxsave            356 arch/x86/kernel/i387.c 	fxsave->fip = env->fip;
fxsave            357 arch/x86/kernel/i387.c 	fxsave->fcs = (env->fcs & 0xffff);
fxsave            358 arch/x86/kernel/i387.c 	fxsave->foo = env->foo;
fxsave            359 arch/x86/kernel/i387.c 	fxsave->fos = env->fos;
fxsave            451 arch/x86/kernel/i387.c 	struct i387_fxsave_struct *fx = &tsk->thread.xstate->fxsave;
fxsave            549 arch/x86/kernel/i387.c 	err = __copy_from_user(&tsk->thread.xstate->fxsave, &buf->_fxsr_env[0],
fxsave            552 arch/x86/kernel/i387.c 	tsk->thread.xstate->fxsave.mxcsr &= mxcsr_feature_mask;
fxsave            112 arch/x86/kernel/xsave.c 		if (__copy_to_user(buf, &tsk->thread.xstate->fxsave,
fxsave           3701 arch/x86/kvm/x86.c 	struct fxsave *fxsave = (struct fxsave *)&vcpu->arch.guest_fx_image;
fxsave           3705 arch/x86/kvm/x86.c 	memcpy(fpu->fpr, fxsave->st_space, 128);
fxsave           3706 arch/x86/kvm/x86.c 	fpu->fcw = fxsave->cwd;
fxsave           3707 arch/x86/kvm/x86.c 	fpu->fsw = fxsave->swd;
fxsave           3708 arch/x86/kvm/x86.c 	fpu->ftwx = fxsave->twd;
fxsave           3709 arch/x86/kvm/x86.c 	fpu->last_opcode = fxsave->fop;
fxsave           3710 arch/x86/kvm/x86.c 	fpu->last_ip = fxsave->rip;
fxsave           3711 arch/x86/kvm/x86.c 	fpu->last_dp = fxsave->rdp;
fxsave           3712 arch/x86/kvm/x86.c 	memcpy(fpu->xmm, fxsave->xmm_space, sizeof fxsave->xmm_space);
fxsave           3721 arch/x86/kvm/x86.c 	struct fxsave *fxsave = (struct fxsave *)&vcpu->arch.guest_fx_image;
fxsave           3725 arch/x86/kvm/x86.c 	memcpy(fxsave->st_space, fpu->fpr, 128);
fxsave           3726 arch/x86/kvm/x86.c 	fxsave->cwd = fpu->fcw;
fxsave           3727 arch/x86/kvm/x86.c 	fxsave->swd = fpu->fsw;
fxsave           3728 arch/x86/kvm/x86.c 	fxsave->twd = fpu->ftwx;
fxsave           3729 arch/x86/kvm/x86.c 	fxsave->fop = fpu->last_opcode;
fxsave           3730 arch/x86/kvm/x86.c 	fxsave->rip = fpu->last_ip;
fxsave           3731 arch/x86/kvm/x86.c 	fxsave->rdp = fpu->last_dp;
fxsave           3732 arch/x86/kvm/x86.c 	memcpy(fxsave->xmm_space, fpu->xmm, sizeof fxsave->xmm_space);
fxsave             83 include/asm-x86/i387.h 		return fxrstor_checking(&tsk->thread.xstate->fxsave);
fxsave             94 include/asm-x86/i387.h 	struct i387_fxsave_struct *fx = &tsk->thread.xstate->fxsave;
fxsave            145 include/asm-x86/i387.h 			     : "=m" (tsk->thread.xstate->fxsave));
fxsave            152 include/asm-x86/i387.h 			     : "=m" (tsk->thread.xstate->fxsave));
fxsave            157 include/asm-x86/i387.h 			     : "=m" (tsk->thread.xstate->fxsave)
fxsave            158 include/asm-x86/i387.h 			     : "cdaSDb" (&tsk->thread.xstate->fxsave));
fxsave            167 include/asm-x86/i387.h 		fxsave(tsk);
fxsave            196 include/asm-x86/i387.h 		"m" (tsk->thread.xstate->fxsave));
fxsave            215 include/asm-x86/i387.h 		struct i387_fxsave_struct *fx = &tsk->thread.xstate->fxsave;
fxsave            241 include/asm-x86/i387.h 		[fx] "m" (tsk->thread.xstate->fxsave),
fxsave            242 include/asm-x86/i387.h 		[fsw] "m" (tsk->thread.xstate->fxsave.swd) : "memory");
fxsave            376 include/asm-x86/i387.h 		return tsk->thread.xstate->fxsave.cwd;
fxsave            385 include/asm-x86/i387.h 		return tsk->thread.xstate->fxsave.swd;
fxsave            394 include/asm-x86/i387.h 		return tsk->thread.xstate->fxsave.mxcsr;
fxsave            370 include/asm-x86/processor.h 	struct i387_fxsave_struct	fxsave;