函数逻辑报告 | 
Source Code:fs\iomap\buffered-io.c | 
Create Date:2022-07-29 11:07:17 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:iomap_readpages
函数原型:int iomap_readpages(struct address_space *mapping, struct list_head *pages, unsigned nr_pages, const struct iomap_ops *ops)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct address_space * | mapping | |
| struct list_head * | pages | |
| unsigned | nr_pages | |
| const struct iomap_ops * | ops | 
| 430 | struct iomap_readpage_ctx ctx = {pages = pages, is_readahead = true, } | 
| 441 | ret等于Execute a iomap write on a segment of the mapping that spans a* contiguous range of pages that have identical block mapping state | 
| 443 | 如果ret小于等于0则 | 
| 444 | WARN_ON_ONCE(ret == 0) | 
| 445 | 转到:done | 
| 450 | ret等于0 | 
| 451 | done : | 
| 452 | 如果bio则submit_bio(bio) | 
| 454 | 如果cur_page则 | 
| 464 | WARN_ON_ONCE(!ret && !链表为空) | 
| 465 | 返回:ret | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |