Lines Matching refs:fx
127 struct i387_fxsave_struct *fx = &fpu->state->fxsave; in fpu_finit() local
129 memset(fx, 0, xstate_size); in fpu_finit()
130 fx->cwd = 0x37f; in fpu_finit()
132 fx->mxcsr = MXCSR_DEFAULT; in fpu_finit()
527 struct i387_fxsave_struct *fx = &tsk->thread.fpu.state->fxsave; in save_i387_fxsave() local
535 err |= __put_user(fx->swd, &buf->status); in save_i387_fxsave()
540 if (__copy_to_user(&buf->_fxsr_env[0], fx, xstate_size)) in save_i387_fxsave()
548 struct _fpstate_ia32 __user *fx = buf; in save_i387_xsave() local
567 if (save_i387_fxsave(fx) < 0) in save_i387_xsave()
570 err = __copy_to_user(&fx->sw_reserved, &fx_sw_reserved_ia32, in save_i387_xsave()
644 struct i387_fxsave_struct __user *fx = in restore_i387_xsave() local
651 if (check_for_xstate(fx, buf, &fx_sw_user)) in restore_i387_xsave()