函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__probe_user_read

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

返回类型:long

参数:

类型参数名称
void *dst
const void __user *src
size_tsize
88  ret等于负EFAULT
89  old_fs等于获取当前进程地址空间上限()
91  设置寄存器值(fs)
92  如果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.(src, size)则ret等于probe_read_common(dst, src, size)
94  设置寄存器值(fs)
96  返回:ret