函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:probe_write_common

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

返回类型:long

参数:

类型参数名称
void __user *dst
const void *src
size_tsize
26  These routines enable/disable the pagefault handler. If disabled, it will* not take any locks and go straight to the fixup table.* User access methods will not sleep when called from a pagefault_disabled()* environment.
27  ret等于__copy_to_user_inatomic: - Copy a block of data into user space, with less checking.*@to: Destination address, in user space.*@from: Source address, in kernel space.*@n: Number of bytes to copy.* Context: User context only.
28  pagefault_enable()
30  返回:如果ret则负EFAULT否则0
调用者
名称描述
__probe_kernel_write
__probe_user_write