函数逻辑报告 |
Source Code:fs\ioctl.c |
Create Date:2022-07-29 10:36:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:This provides compatibility with legacy XFS pre-allocation ioctls* which predate the fallocate syscall.* Only the l_start, l_len and l_whence fields of the 'struct space_resv'* are used here, rest are ignored.
函数原型:int ioctl_preallocate(struct file *filp, int mode, void __user *argp)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct file * | filp | |
| int | mode | |
| void __user * | argp |
| 472 | inode等于file_inode(filp) |
| 475 | 如果copy_from_user( & sr, argp, sr的长度)则返回:负EFAULT |
| 480 | 退出 |
| 486 | 退出 |
| 487 | 默认 |
| 488 | 返回:负EINVAL |
| 491 | 返回:vfs_fallocate(filp, mode | default is extend size , l_start, len == 0 means until end of file ) |
| 名称 | 描述 |
|---|---|
| file_ioctl |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |