函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:34:42 |
| Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_writepages
函数原型:int do_writepages(struct address_space *mapping, struct writeback_control *wbc)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct address_space * | mapping | |
| struct writeback_control * | wbc |
| 2340 | 如果Write this many pages, and decrementthis for each page written 小于等于0则返回:0 |
| 2342 | 当1循环 |
| 2343 | 如果writepages则ret等于writepages(mapping, wbc) |
| 2345 | 否则ret等于generic_writepages - walk the list of dirty pages of the given address space and writepage() all of them |
| 2347 | 如果ret不等于负ENOMEM或sync_mode不等于WB_SYNC_ALL则退出 |
| 2349 | cond_resched() |
| 2352 | 返回:ret |
| 名称 | 描述 |
|---|---|
| __filemap_fdatawrite_range | __filemap_fdatawrite_range - start writeback on mapping dirty pages in range*@mapping: address space structure to write*@start: offset in bytes where the range starts*@end: offset in bytes where the range ends (inclusive)*@sync_mode: enable synchronous |
| __writeback_single_inode | Write out an inode and its dirty pages. Do not update the writeback list* linkage. That is left to the caller. The caller is also responsible for* setting I_SYNC flag and calling inode_sync_complete() to clear it. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |