函数逻辑报告 |
Source Code:fs\iomap\buffered-io.c |
Create Date:2022-07-29 11:07:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Write out a dirty page.* For delalloc space on the page we need to allocate space and flush it.* For unwritten space on the page we need to start the conversion to* regular allocated space.
函数原型:static int iomap_do_writepage(struct page *page, struct writeback_control *wbc, void *data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct writeback_control * | wbc | |
void * | data |
1530 | trace_iomap_writepage(inode, page, 0, 0) |
1542 | 如果WARN_ON_ONCE((flags & (Allocating memory | I am kswapd )) == Allocating memory )则转到:redirty |
1568 | 如果 Our offset within mapping. 小于end_index则end_offset等于 Our offset within mapping. 加1左移PAGE_SHIFT determines the page size 位 |
1570 | 否则 |
1582 | offset_into_page等于offset按位与PAGE_SIZE减1 |
1601 | 如果 Our offset within mapping. 大于end_index或 Our offset within mapping. 恒等于end_index且offset_into_page恒等于0则转到:redirty |
1616 | end_offset等于offset |
1621 | redirty : |
1624 | 返回:0 |
名称 | 描述 |
---|---|
iomap_writepage |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |