Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-28 14:11:03
Last Modify:2022-05-23 13:25:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:generic_writepages - walk the list of dirty pages of the given address space and writepage() all of them

Proto:int generic_writepages(struct address_space *mapping, struct writeback_control *wbc)

Type:int

Parameter:

TypeParameterName
struct address_space *mapping
struct writeback_control *wbc
2325  If Not writepage Then Return 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  Return ret
Caller
NameDescribe
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