Function report |
Source Code:fs\ioctl.c |
Create Date:2022-07-28 20:06:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | filp | |
| unsigned int | cmd | |
| unsigned long | arg |
| 44 | If Not unlocked_ioctl Then Go to out |
| 47 | error = unlocked_ioctl(filp, cmd, arg) |
| 48 | If error == -No ioctl command Then error = -ENOTTY |
| 50 | out : |
| 51 | Return error |
| Name | Describe |
|---|---|
| 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. |
| 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 |