函数逻辑报告 |
Source Code:fs\compat_ioctl.c |
Create Date:2022-07-29 11:01:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:compat_ioctl_check_table
函数原型:static int compat_ioctl_check_table(unsigned int xcmd)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | xcmd |
| 120 | max等于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(ioctl_pointer)减1 |
| 122 | BUILD_BUG_ON - break compile if a condition is true(max >= (1 << 16)) |
| 130 | i自加 |
| 133 | 当ioctl_pointer[i]大于xcmd且i大于0循环 |
| 134 | i自减 |
| 136 | 返回:ioctl_pointer[i]恒等于xcmd |
| 名称 | 描述 |
|---|---|
| COMPAT_SYSCALL_DEFINE3 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |