函数逻辑报告 |
Source Code:fs\compat_ioctl.c |
Create Date:2022-07-29 11:01:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:COMPAT_SYSCALL_DEFINE3
函数原型:COMPAT_SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, compat_ulong_t, arg32)
返回类型:
参数:无
152 | error等于security_file_ioctl(file, cmd, arg) |
163 | 转到:do_ioctl |
168 | 当:cmd恒等于FS_IOC_FIEMAP |
170 | 当:cmd恒等于FICLONERANGE |
171 | 当:cmd恒等于FIDEDUPERANGE |
172 | 转到:found_handler |
183 | 当:cmd恒等于map access |
184 | 转到:found_handler |
187 | 转到:found_handler |
190 | 当:cmd恒等于FS_IOC_RESVSP_32 |
191 | 当:cmd恒等于FS_IOC_RESVSP64_32 |
193 | 转到:out_fput |
194 | 当:cmd恒等于FS_IOC_UNRESVSP_32 |
195 | 当:cmd恒等于FS_IOC_UNRESVSP64_32 |
198 | 转到:out_fput |
199 | 当:cmd恒等于FS_IOC_ZERO_RANGE_32 |
202 | 转到:out_fput |
212 | 默认 |
213 | 如果compat_ioctl则 |
214 | error等于compat_ioctl(file, cmd, arg) |
215 | 如果error不等于负No ioctl command 则转到:out_fput |
219 | 如果非unlocked_ioctl则转到:do_ioctl |
221 | 退出 |
224 | 如果compat_ioctl_check_table(simple reversible transform to make our table more evenly* distributed after sorting.(cmd))则转到:found_handler |
228 | 如果error恒等于负No ioctl command 则error等于负ENOTTY |
231 | 转到:out_fput |
233 | found_handler : |
235 | do_ioctl : |
237 | out_fput : |
239 | out : |
240 | 返回:error |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |