Function report |
Source Code:kernel\compat.c |
Create Date:2022-07-28 11:05:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:compat_put_bitmap
Proto:long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask, unsigned long bitmap_size)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| compat_ulong_t __user * | umask | |
| unsigned long * | mask | |
| unsigned long | bitmap_size |
| 298 | When nr_compat_longs > 1 cycle |
| 300 | unsafe_put_user((compat_ulong_t)m, umask++, Efault) |
| 301 | unsafe_put_user(m >> BITS_PER_COMPAT_LONG, umask++, Efault) |
| 302 | nr_compat_longs -= 2 |
| 304 | If nr_compat_longs Then unsafe_put_user((compat_ulong_t) * mask, umask++, Efault) |
| 306 | user_access_end() |
| 307 | Return 0 |
| 308 | Efault : |
| 309 | user_access_end() |
| 310 | Return -EFAULT |
| Name | Describe |
|---|---|
| COMPAT_SYSCALL_DEFINE3 |
| 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 |