Lines Matching refs:buf_fx
172 * 'buf_fx' is the 64-byte aligned pointer at which the [f|fx|x]save
174 * 'buf' points to the 'buf_fx' or to the fsave header followed by 'buf_fx'.
176 * buf == buf_fx for 64-bit frames and 32-bit fsave frame.
177 * buf != buf_fx for 32-bit frames with fxstate.
183 * the aligned state at 'buf_fx'.
188 bool copy_fpstate_to_sigframe(void __user *buf, void __user *buf_fx, int size)
192 bool ia32_fxstate = (buf != buf_fx);
210 struct xregs_state __user *xbuf = buf_fx;
231 ret = copy_fpregs_to_sigframe(buf_fx);
236 if (!__clear_user(buf_fx, fpstate->user_size))
245 if (use_fxsr() && !save_xstate_epilog(buf_fx, ia32_fxstate, fpstate))
335 static bool __fpu_restore_sig(void __user *buf, void __user *buf_fx,
348 if (!check_xstate_in_sigframe(buf_fx, &fx_sw_user))
359 return restore_fpregs_from_user(buf_fx, user_xfeatures, fx_only);
396 if (copy_sigframe_from_user_to_xstate(tsk, buf_fx))
399 if (__copy_from_user(&fpregs->fxsave, buf_fx,
460 void __user *buf_fx = buf;
480 buf_fx = buf + sizeof(struct fregs_state);
493 success = __fpu_restore_sig(buf, buf_fx, ia32_fxstate);
504 unsigned long *buf_fx, unsigned long *size)
508 *buf_fx = sp = round_down(sp - frame_size, 64);