函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:以最小的代价用户内存块清零

函数原型:unsigned long __clear_user(void __user *to, unsigned long n)

返回类型:unsigned long

参数:

类型参数名称
void __user *to
unsigned longn
90  Zero Userspace(to, n)
91  返回:n
调用者
名称描述
copy_fpregs_to_sigframe
copy_xregs_to_userSave xstate to user space xsave area.* We don't use modified optimization because xrstor/xrstors might track* a different application.* We don't use compacted format xsave area for* backward compatibility for old applications which don't understand
user_regset_copyout_zeroThese two parallel the two above, but for portions of a regset layout* that always read as all-zero or for which writes are ignored.