Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/kernel/fpu/
Dsignal.c173 int copy_fpstate_to_sigframe(void __user *buf, void __user *buf_fx, int size) in copy_fpstate_to_sigframe() argument
176 int ia32_fxstate = (buf != buf_fx); in copy_fpstate_to_sigframe()
203 ret = copy_fpregs_to_sigframe(buf_fx); in copy_fpstate_to_sigframe()
208 if (!fault_in_pages_writeable(buf_fx, fpu_user_xstate_size)) in copy_fpstate_to_sigframe()
217 if (use_fxsr() && save_xstate_epilog(buf_fx, ia32_fxstate)) in copy_fpstate_to_sigframe()
304 static int __fpu_restore_sig(void __user *buf, void __user *buf_fx, in __fpu_restore_sig() argument
318 ret = check_xstate_in_sigframe(buf_fx, &fx_sw_user); in __fpu_restore_sig()
336 return restore_fpregs_from_user(buf_fx, user_xfeatures, fx_only, in __fpu_restore_sig()
374 ret = copy_sigframe_from_user_to_xstate(&fpu->state.xsave, buf_fx); in __fpu_restore_sig()
378 if (__copy_from_user(&fpu->state.fxsave, buf_fx, in __fpu_restore_sig()
[all …]
/Linux-v5.15/arch/x86/include/asm/fpu/
Dsignal.h30 unsigned long *buf_fx, unsigned long *size);
/Linux-v5.15/arch/x86/kernel/
Dsignal.c246 unsigned long buf_fx = 0; in get_sigframe() local
275 &buf_fx, &math_size); in get_sigframe()
295 ret = copy_fpstate_to_sigframe(*fpstate, (void __user *)buf_fx, math_size); in get_sigframe()