Function report | 
Source Code:kernel\compat.c | 
Create Date:2022-07-28 11:05:47 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:compat_get_bitmap
Proto:long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, unsigned long bitmap_size)
Type:long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long * | mask | |
| const compat_ulong_t __user * | umask | |
| unsigned long | bitmap_size | 
| 269 | When nr_compat_longs > 1 cycle | 
| 271 | unsafe_get_user(l1, umask++, Efault) | 
| 272 | unsafe_get_user(l2, umask++, Efault) | 
| 273 | mask++ = l2 << BITS_PER_COMPAT_LONG | l1 | 
| 274 | nr_compat_longs -= 2 | 
| 276 | If nr_compat_longs Then unsafe_get_user( * mask, umask++, Efault) | 
| 278 | user_access_end() | 
| 279 | Return 0 | 
| 281 | Efault : | 
| 282 | user_access_end() | 
| 283 | Return -EFAULT | 
| Name | Describe | 
|---|---|
| compat_get_user_cpu_mask | |
| COMPAT_SYSCALL_DEFINE6 | |
| COMPAT_SYSCALL_DEFINE4 | 
| 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  |