函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\uaccess.h Create Date:2022-07-27 06:58:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__copy_to_user_inatomic: - Copy a block of data into user space, with less checking.*@to: Destination address, in user space.*@from: Source address, in kernel space.*@n: Number of bytes to copy.* Context: User context only.

函数原型:static __always_inline __must_check unsigned long __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n)

返回类型:unsigned long

参数:

类型参数名称
void __user *to
const void *from
unsigned longn
91  kasan_check_read(from, n)
92  check_object_size(from, n, true)
93  返回:raw_copy_to_user(to, from, n)
调用者
名称描述
copy_user_test
probe_write_common