函数逻辑报告 |
Source Code:kernel\compat.c |
Create Date:2022-07-27 12:07:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:compat_get_bitmap
函数原型:long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, unsigned long bitmap_size)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long * | mask | |
const compat_ulong_t __user * | umask | |
unsigned long | bitmap_size |
269 | 当nr_compat_longs大于1循环 |
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 | 如果nr_compat_longs则unsafe_get_user( * mask, umask++, Efault) |
278 | user_access_end() |
279 | 返回:0 |
281 | Efault : |
282 | user_access_end() |
283 | 返回:负EFAULT |
名称 | 描述 |
---|---|
compat_get_user_cpu_mask | |
COMPAT_SYSCALL_DEFINE6 | |
COMPAT_SYSCALL_DEFINE4 | |
COMPAT_SYSCALL_DEFINE3 | |
compat_get_fd_set | Ooo, nasty. We need here to frob 32-bit unsigned longs to* 64-bit unsigned longs. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |