Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\iov_iter.c Create Date:2022-07-28 06:21:03
Last Modify:2022-05-21 11:43:54 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copyout

Proto:static int copyout(void __user *to, const void *from, size_t n)

Type:int

Parameter:

TypeParameterName
void __user *to
const void *from
size_tn
140  If 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) Then
141  kasan_check_read(from, n)
142  n = raw_copy_to_user(to, from, n)
144  Return n
Caller
NameDescribe
copy_page_to_iter_iovec
_copy_to_iter