函数逻辑报告 |
Source Code:arch\x86\include\asm\uaccess_32.h |
Create Date:2022-07-27 06:58:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:raw_copy_from_user
函数原型:static __always_inline unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | to | |
const void __user * | from | |
unsigned long | n |
26 | 如果__builtin_constant_p(n)则 |
31 | ret等于0 |
33 | __get_user_asm_nozero( * (u8 * )to, from, ret, "b", "b", "=q", 1) |
35 | __uaccess_end() |
36 | 返回:ret |
38 | ret等于0 |
40 | __get_user_asm_nozero( * (u16 * )to, from, ret, "w", "w", "=r", 2) |
42 | __uaccess_end() |
43 | 返回:ret |
45 | ret等于0 |
47 | __get_user_asm_nozero( * (u32 * )to, from, ret, "l", "k", "=r", 4) |
49 | __uaccess_end() |
50 | 返回:ret |
53 | 返回:__copy_user_ll(to, (__forceconstvoid * )from, n) |
名称 | 描述 |
---|---|
copyin | |
_copy_from_user | -of-line parts |
__copy_from_user_inatomic | 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 |
__copy_from_user |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |