函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\maccess.c Create Date:2022-07-27 15:30:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__probe_user_write

函数原型:long __probe_user_write(void __user *dst, const void *src, size_t size)

返回类型:long

参数:

类型参数名称
void __user *dst
const void *src
size_tsize
141  ret等于负EFAULT
142  old_fs等于获取当前进程地址空间上限()
144  设置寄存器值(fs)
145  如果access_ok - Checks if a user space pointer is valid*@addr: User space pointer to start of block to check*@size: Size of block to check* Context: User context only. This function may sleep if pagefaults are* enabled.(dst, size)则ret等于probe_write_common(dst, src, size)
147  设置寄存器值(fs)
149  返回:ret