Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\usercopy.c Create Date:2022-07-28 06:25:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_copy_to_user

Proto:unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n)

Type:unsigned long

Parameter:

TypeParameterName
void __user *to
const void *from
unsigned longn
26  might_fault()
27  If Value is more likely to compile time(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
28  kasan_check_read(from, n)
29  n = raw_copy_to_user(to, from, n)
31  Return n
Caller
NameDescribe
copy_to_user