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:copyin

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

Type:int

Parameter:

TypeParameterName
void *to
const void __user *from
size_tn
149  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.(from, n) Then
150  kasan_check_write(to, n)
151  n = raw_copy_from_user(to, from, n)
153  Return n
Caller
NameDescribe
copy_page_from_iter_iovec
_copy_from_iter
_copy_from_iter_full
iov_iter_copy_from_user_atomic