函数逻辑报告 |
Source Code:fs\ioctl.c |
Create Date:2022-07-29 10:36:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ioctl_fiemap
函数原型:static int ioctl_fiemap(struct file *filp, struct fiemap __user *ufiemap)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct file * | filp | |
| struct fiemap __user * | ufiemap |
| 181 | struct fiemap_extent_info fieinfo = {0, } |
| 182 | inode等于file_inode(filp) |
| 187 | 如果非fiemap则返回:负EOPNOTSUPP |
| 190 | 如果copy_from_user( & fiemap, ufiemap, fiemap的长度)则返回:负EFAULT |
| 193 | 如果 size of fm_extents array (in) 大于So that the fiemap access checks can't overflow on 32 bit machines. 则返回:负EINVAL |
| 196 | error等于fiemap_check_ranges(sb, logical offset (inclusive) at * which to start mapping (in) , logical length of mapping which * userspace wants (in) , & len) |
| 213 | error等于fiemap(inode, & fieinfo, logical offset (inclusive) at * which to start mapping (in) , len) |
| 219 | 返回:error |
| 名称 | 描述 |
|---|---|
| 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 插件可实现:逻辑报告 代码生成和批量转换代码 |