| 函数逻辑报告 | 
| Source Code: fs\ioctl.c | Create Date:2022-07-29 10:36:18 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:just account for different alignment
函数原型:int compat_ioctl_preallocate(struct file *file, int mode, struct space_resv_32 __user *argp)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct file * | file | |
| int | mode | |
| struct space_resv_32 __user * | argp | 
| 501 | inode等于file_inode(file) | 
| 504 | 如果copy_from_user( & sr, argp, sr的长度)则返回:负EFAULT | 
| 509 | 退出 | 
| 515 | 退出 | 
| 516 | 默认 | 
| 517 | 返回:负EINVAL | 
| 520 | 返回:vfs_fallocate(file, mode | default is extend size , l_start, len == 0 means until end of file ) | 
| 名称 | 描述 | 
|---|---|
| COMPAT_SYSCALL_DEFINE3 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |