Home
last modified time | relevance | path

Searched refs:buf_fx (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/arch/x86/kernel/fpu/
Dsignal.c188 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()
[all …]
/Linux-v6.1/arch/x86/include/asm/fpu/
Dsignal.h35 unsigned long *buf_fx, unsigned long *size);
/Linux-v6.1/arch/x86/kernel/
Dsignal.c249 unsigned long buf_fx = 0; in get_sigframe() local
277 &buf_fx, &math_size); in get_sigframe()
297 if (!copy_fpstate_to_sigframe(*fpstate, (void __user *)buf_fx, math_size)) in get_sigframe()