Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/fpu/
H A Dsignal.c188 bool copy_fpstate_to_sigframe(void __user *buf, void __user *buf_fx, int size, u32 pkru) 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, pkru); 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()
335 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()
359 return restore_fpregs_from_user(buf_fx, user_xfeatures, fx_only); in __fpu_restore_sig()
396 if (copy_sigframe_from_user_to_xstate(tsk, buf_fx)) in __fpu_restore_sig()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dsignal.c85 unsigned long buf_fx = 0; in get_sigframe() local
113 sp = fpu__alloc_mathframe(sp, ia32_frame, &buf_fx, &math_size); in get_sigframe()
142 if (!copy_fpstate_to_sigframe(*fpstate, (void __user *)buf_fx, math_size, pkru)) in get_sigframe()
/openbmc/linux/arch/x86/include/asm/fpu/
H A Dsignal.h28 unsigned long *buf_fx, unsigned long *size);