函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:copyout

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

返回类型:int

参数:

类型参数名称
void __user *to
const void *from
size_tn
140  如果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.(to, n)则
141  kasan_check_read(from, n)
142  n等于raw_copy_to_user(to, from, n)
144  返回:n
调用者
名称描述
copy_page_to_iter_iovec
_copy_to_iter