函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\iov_iter.c Create Date:2022-07-27 07:18:04
Last Modify:2022-05-21 11:43:54 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:copyin

函数原型:static int copyin(void *to, const void __user *from, size_t n)

返回类型:int

参数:

类型参数名称
void *to
const void __user *from
size_tn
149  如果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.(from, n)则
150  kasan_check_write(to, n)
151  n等于raw_copy_from_user(to, from, n)
153  返回:n
调用者
名称描述
copy_page_from_iter_iovec
_copy_from_iter
_copy_from_iter_full
iov_iter_copy_from_user_atomic