函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-27 15:34:40
Last Modify:2022-05-23 13:25:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:generic_writepages - walk the list of dirty pages of the given address space and writepage() all of them

函数原型:int generic_writepages(struct address_space *mapping, struct writeback_control *wbc)

返回类型:int

参数:

类型参数名称
struct address_space *mapping
struct writeback_control *wbc
2325  如果非writepage则返回:0
2328  blk_start_plug( & plug)
2329  ret等于write_cache_pages - walk the list of dirty pages of the given address space and write all of them
2330  blk_finish_plug( & plug)
2331  返回:ret
调用者
名称描述
do_writepages
mpage_writepagesmpage_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
blkdev_writepages