Home
last modified time | relevance | path

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

/arch/x86/kernel/fpu/
Dsignal.c164 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()
[all …]
/arch/x86/include/asm/fpu/
Dsignal.h30 unsigned long *buf_fx, unsigned long *size);
/arch/x86/kernel/
Dsignal.c248 unsigned long buf_fx = 0; in get_sigframe() local
277 &buf_fx, &math_size); in get_sigframe()
297 ret = copy_fpstate_to_sigframe(*fpstate, (void __user *)buf_fx, math_size); in get_sigframe()