Searched refs:buf_fx (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/arch/x86/kernel/fpu/ |
D | signal.c | 205 bool copy_fpstate_to_sigframe(void __user *buf, void __user *buf_fx, int size, u32 pkru) in copy_fpstate_to_sigframe() argument 209 bool ia32_fxstate = (buf != buf_fx); in copy_fpstate_to_sigframe() 227 struct xregs_state __user *xbuf = buf_fx; in copy_fpstate_to_sigframe() 248 ret = copy_fpregs_to_sigframe(buf_fx, pkru); in copy_fpstate_to_sigframe() 253 if (!__clear_user(buf_fx, fpstate->user_size)) in copy_fpstate_to_sigframe() 262 if (use_fxsr() && !save_xstate_epilog(buf_fx, ia32_fxstate, fpstate)) in copy_fpstate_to_sigframe() 352 static bool __fpu_restore_sig(void __user *buf, void __user *buf_fx, in __fpu_restore_sig() argument 365 if (!check_xstate_in_sigframe(buf_fx, &fx_sw_user)) in __fpu_restore_sig() 376 return restore_fpregs_from_user(buf_fx, user_xfeatures, fx_only); in __fpu_restore_sig() 413 if (copy_sigframe_from_user_to_xstate(tsk, buf_fx)) in __fpu_restore_sig() [all …]
|
/linux-6.12.1/arch/x86/kernel/ |
D | signal.c | 104 unsigned long buf_fx = 0; in get_sigframe() local 132 sp = fpu__alloc_mathframe(sp, ia32_frame, &buf_fx, &math_size); in get_sigframe() 163 if (!copy_fpstate_to_sigframe(*fpstate, (void __user *)buf_fx, math_size, pkru)) { in get_sigframe()
|
/linux-6.12.1/arch/x86/include/asm/fpu/ |
D | signal.h | 28 unsigned long *buf_fx, unsigned long *size);
|