Function report |
Source Code:fs\compat_ioctl.c |
Create Date:2022-07-28 20:26:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:COMPAT_SYSCALL_DEFINE3
Proto:COMPAT_SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, compat_ulong_t, arg32)
Type:
Parameter:Nothing
| 152 | error = security_file_ioctl(file, cmd, arg) |
| 159 | Case cmd == hese numbers need to be adjusted. |
| 163 | Go to do_ioctl |
| 167 | Case cmd == Get exact space used by quota |
| 168 | Case cmd == FS_IOC_FIEMAP |
| 169 | Case cmd == get the block size used for bmap |
| 170 | Case cmd == FICLONERANGE |
| 171 | Case cmd == FIDEDUPERANGE |
| 172 | Go to found_handler |
| 183 | Case cmd == map access |
| 184 | Go to found_handler |
| 187 | Go to found_handler |
| 190 | Case cmd == FS_IOC_RESVSP_32 |
| 191 | Case cmd == FS_IOC_RESVSP64_32 |
| 193 | Go to out_fput |
| 194 | Case cmd == FS_IOC_UNRESVSP_32 |
| 195 | Case cmd == FS_IOC_UNRESVSP64_32 |
| 198 | Go to out_fput |
| 199 | Case cmd == FS_IOC_ZERO_RANGE_32 |
| 202 | Go to out_fput |
| 212 | Default |
| 213 | If compat_ioctl Then |
| 214 | error = compat_ioctl(file, cmd, arg) |
| 215 | If error != -No ioctl command Then Go to out_fput |
| 219 | If Not unlocked_ioctl Then Go to do_ioctl |
| 221 | Break |
| 224 | If compat_ioctl_check_table(simple reversible transform to make our table more evenly* distributed after sorting.(cmd)) Then Go to found_handler |
| 228 | If error == -No ioctl command Then error = -ENOTTY |
| 231 | Go to out_fput |
| 233 | found_handler : |
| 235 | do_ioctl : |
| 237 | out_fput : |
| 239 | out : |
| 240 | Return error |
| 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 |