函数逻辑报告 |
Source Code:fs\mpage.c |
Create Date:2022-07-29 10:47:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mpage_writepages - walk the list of dirty pages of the given address space & writepage() all of them*@mapping: address space structure to write*@wbc: subtract the number of written pages from *@wbc->nr_to_write
函数原型:int mpage_writepages(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
struct writeback_control * | wbc | |
get_block_t | get_block |
718 | blk_start_plug( & plug) |
720 | 如果非get_block则ret等于generic_writepages - walk the list of dirty pages of the given address space and writepage() all of them |
722 | 否则 |
723 | struct mpage_data mpd = {bio = NULL, last_block_in_bio = 0, get_block = get_block, use_writepage = 1, } |
730 | ret等于write_cache_pages - walk the list of dirty pages of the given address space and write all of them |
731 | 如果bio则 |
732 | op_flags等于如果sync_mode恒等于Wait on every mapping 则REQ_SYNC否则0 |
734 | mpage_bio_submit(REQ_OP_WRITE, op_flags, bio) |
737 | blk_finish_plug( & plug) |
738 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |