Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\fpu\signal.c Create Date:2022-07-28 07:50:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:save_xstate_epilog

Proto:static inline int save_xstate_epilog(void __user *buf, int ia32_frame)

Type:int

Parameter:

TypeParameterName
void __user *buf
intia32_frame
88  __user * x = buf
94  sw_bytes = If ia32_frame Then fx_sw_reserved_ia32 Else fx_sw_reserved
95  err = __copy_to_user( & sw_reserved, sw_bytes, size of sw_bytes )
97  If Not use_xsave() Then Return err
100  err |= Write a simple value into user space, with less checking(FP_XSTATE_MAGIC2, (__u32__user * )(buf + fpu_user_xstate_size))
107  err |= Get a simple variable from user space, with less checking(xfeatures, (__u32__user * ) & xfeatures)
120  xfeatures |= XFEATURE_MASK_FPSSE
122  err |= Write a simple value into user space, with less checking(xfeatures, (__u32__user * ) & xfeatures)
124  Return err
Caller
NameDescribe
copy_fpstate_to_sigframeSave the fpu, extended register state to the user signal frame.* 'buf_fx' is the 64-byte aligned pointer at which the [f|fx|x]save* state is copied.* 'buf' points to the 'buf_fx' or to the fsave header followed by 'buf_fx'.