函数逻辑报告 | 
Source Code:fs\ioctl.c | 
Create Date:2022-07-29 10:36:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:vfs_ioctl - call filesystem specific ioctl methods*@filp: open file to invoke ioctl method on*@cmd: ioctl command to execute*@arg: command-specific argument for ioctl* Invokes filesystem specific ->unlocked_ioctl, if one exists; otherwise* returns -ENOTTY.
函数原型:long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
返回类型:long
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct file * | filp | |
| unsigned int | cmd | |
| unsigned long | arg | 
| 44 | 如果非unlocked_ioctl则转到:out | 
| 47 | error等于unlocked_ioctl(filp, cmd, arg) | 
| 48 | 如果error恒等于负No ioctl command 则error等于负ENOTTY | 
| 50 | out : | 
| 51 | 返回:error | 
| 名称 | 描述 | 
|---|---|
| file_ioctl | |
| do_vfs_ioctl | When you add any new common ioctls to the switches above and below* please update compat_sys_ioctl() too.* do_vfs_ioctl() is not for drivers and not intended to be EXPORT_SYMBOL()'d.* It's just a simple helper for sys_ioctl and compat_sys_ioctl. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |