函数逻辑报告

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

函数名称:Architectures should provide two primitives (raw_copy_{to,from}_user())* and get rid of their private instances of copy_{to,from}_user() and* __copy_{to,from}_user{,_inatomic}().* raw_copy_{to,from}_user(to, from, size) should copy up to size bytes and

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

返回类型:unsigned long

参数:

类型参数名称
void *to
const void __user *from
unsigned longn
61  kasan_check_write(to, n)
62  check_object_size(to, n, false)
63  返回:raw_copy_from_user(to, from, n)
调用者
名称描述
copy_user_test
copy_from_user_nmiWe rely on the nested NMI work to allow atomic faults from the NMI path; the* nested NMI paths are careful to preserve CR2.
copy_stack_frame
tracing_mark_write
tracing_mark_raw_write
probe_read_common
cow_user_page