• Home
  • Raw
  • Download

Lines Matching refs:buf_fx

164 int copy_fpstate_to_sigframe(void __user *buf, void __user *buf_fx, int size)  in copy_fpstate_to_sigframe()  argument
167 int ia32_fxstate = (buf != buf_fx); in copy_fpstate_to_sigframe()
193 ret = copy_fpregs_to_sigframe(buf_fx); in copy_fpstate_to_sigframe()
198 if (!fault_in_pages_writeable(buf_fx, fpu_user_xstate_size)) in copy_fpstate_to_sigframe()
207 if (use_fxsr() && save_xstate_epilog(buf_fx, ia32_fxstate)) in copy_fpstate_to_sigframe()
272 static int __fpu__restore_sig(void __user *buf, void __user *buf_fx, int size) in __fpu__restore_sig() argument
276 int ia32_fxstate = (buf != buf_fx); in __fpu__restore_sig()
306 if (unlikely(check_for_xstate(buf_fx, buf_fx, &fx_sw_user))) { in __fpu__restore_sig()
331 if ((unsigned long)buf_fx % 64) in __fpu__restore_sig()
352 ret = copy_user_to_fpregs_zeroing(buf_fx, xfeatures, fx_only); in __fpu__restore_sig()
368 ret = copy_user_to_xstate(&fpu->state.xsave, buf_fx); in __fpu__restore_sig()
370 ret = __copy_from_user(&fpu->state.xsave, buf_fx, state_size); in __fpu__restore_sig()
386 ret = __copy_from_user(&fpu->state.fxsave, buf_fx, state_size); in __fpu__restore_sig()
402 ret = __copy_from_user(&fpu->state.fsave, buf_fx, state_size); in __fpu__restore_sig()
432 void __user *buf_fx = buf; in fpu__restore_sig() local
436 buf_fx = buf + sizeof(struct fregs_state); in fpu__restore_sig()
440 return __fpu__restore_sig(buf, buf_fx, size); in fpu__restore_sig()
445 unsigned long *buf_fx, unsigned long *size) in fpu__alloc_mathframe() argument
449 *buf_fx = sp = round_down(sp - frame_size, 64); in fpu__alloc_mathframe()