Lines Matching refs:buf_fx
188 bool copy_fpstate_to_sigframe(void __user *buf, void __user *buf_fx, int size) in copy_fpstate_to_sigframe() argument
192 bool ia32_fxstate = (buf != buf_fx); in copy_fpstate_to_sigframe()
210 struct xregs_state __user *xbuf = buf_fx; in copy_fpstate_to_sigframe()
231 ret = copy_fpregs_to_sigframe(buf_fx); in copy_fpstate_to_sigframe()
236 if (!__clear_user(buf_fx, fpstate->user_size)) in copy_fpstate_to_sigframe()
245 if (use_fxsr() && !save_xstate_epilog(buf_fx, ia32_fxstate, fpstate)) in copy_fpstate_to_sigframe()
334 static bool __fpu_restore_sig(void __user *buf, void __user *buf_fx, in __fpu_restore_sig() argument
348 if (!check_xstate_in_sigframe(buf_fx, &fx_sw_user)) in __fpu_restore_sig()
361 return restore_fpregs_from_user(buf_fx, user_xfeatures, fx_only, in __fpu_restore_sig()
399 if (copy_sigframe_from_user_to_xstate(fpu->fpstate, buf_fx)) in __fpu_restore_sig()
402 if (__copy_from_user(&fpregs->fxsave, buf_fx, in __fpu_restore_sig()
463 void __user *buf_fx = buf; in fpu__restore_sig() local
483 buf_fx = buf + sizeof(struct fregs_state); in fpu__restore_sig()
496 success = __fpu_restore_sig(buf, buf_fx, ia32_fxstate); in fpu__restore_sig()
507 unsigned long *buf_fx, unsigned long *size) in fpu__alloc_mathframe() argument
511 *buf_fx = sp = round_down(sp - frame_size, 64); in fpu__alloc_mathframe()