函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\fpu\signal.c Create Date:2022-07-27 08:50:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:save_xstate_epilog

函数原型:static inline int save_xstate_epilog(void __user *buf, int ia32_frame)

返回类型:int

参数:

类型参数名称
void __user *buf
intia32_frame
88  __userx等于buf
94  sw_bytes等于如果ia32_framefx_sw_reserved_ia32否则fx_sw_reserved
95  err等于__copy_to_user( & sw_reserved, sw_bytes, sw_bytes的长度)
97  如果非use_xsave()则返回:err
100  err或等于__put_user - Write a simple value into user space, with less checking(FP_XSTATE_MAGIC2, (__u32__user * )(buf + fpu_user_xstate_size))
107  err或等于__get_user - Get a simple variable from user space, with less checking(xfeatures, (__u32__user * ) & xfeatures)
120  xfeatures或等于XFEATURE_MASK_FPSSE
122  err或等于__put_user - Write a simple value into user space, with less checking(xfeatures, (__u32__user * ) & xfeatures)
124  返回:err
调用者
名称描述
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'.