Function report |
Source Code:arch\x86\include\asm\uaccess_32.h |
Create Date:2022-07-28 05:59:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:raw_copy_from_user
Proto:static __always_inline unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | to | |
| const void __user * | from | |
| unsigned long | n |
| 26 | If __builtin_constant_p(n) Then |
| 30 | Case n == 1 |
| 31 | ret = 0 |
| 33 | __get_user_asm_nozero( * (u8 * )to, from, ret, "b", "b", "=q", 1) |
| 35 | __uaccess_end() |
| 36 | Return ret |
| 37 | Case n == 2 |
| 38 | ret = 0 |
| 40 | __get_user_asm_nozero( * (u16 * )to, from, ret, "w", "w", "=r", 2) |
| 42 | __uaccess_end() |
| 43 | Return ret |
| 44 | Case n == 4 |
| 45 | ret = 0 |
| 47 | __get_user_asm_nozero( * (u32 * )to, from, ret, "l", "k", "=r", 4) |
| 49 | __uaccess_end() |
| 50 | Return ret |
| 53 | Return __copy_user_ll(to, (__forceconstvoid * )from, n) |
| Name | Describe |
|---|---|
| copyin | |
| _copy_from_user | -of-line parts |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |