函数逻辑报告 |
Source Code:fs\read_write.c |
Create Date:2022-07-29 10:31:33 |
| Last Modify:2020-03-18 10:18:51 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check that the two inodes are eligible for cloning, the ranges make* sense, and then flush all dirty data. Caller must ensure that the* inodes have been locked against any other modifications.
函数原型:int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t *len, unsigned int remap_flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct file * | file_in | |
| loff_t | pos_in | |
| struct file * | file_out | |
| loff_t | pos_out | |
| loff_t * | len | |
| unsigned int | remap_flags |
| 1948 | inode_in等于file_inode(file_in) |
| 1949 | inode_out等于file_inode(file_out) |
| 1950 | same_inode等于inode_in恒等于inode_out |
| 1954 | 如果IS_IMMUTABLE(inode_out)则返回:负EPERM |
| 1957 | 如果IS_SWAPFILE(inode_in)或IS_SWAPFILE(inode_out)则返回:负ETXTBSY |
| 1967 | 如果len恒等于0则 |
| 1975 | 如果len恒等于0则返回:0 |
| 1986 | inode_dio_wait(inode_in) |
| 1987 | 如果非same_inode则inode_dio_wait(inode_out) |
| 2004 | bool is_same = false |
| 2023 | 返回:ret |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |