Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\mpage.c Create Date:2022-07-28 20:15:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mpage_writepage

Proto:int mpage_writepage(struct page *page, get_block_t get_block, struct writeback_control *wbc)

Type:int

Parameter:

TypeParameterName
struct page *page
get_block_tget_block
struct writeback_control *wbc
745  struct mpage_data mpd = {bio = NULL, last_block_in_bio = 0, get_block = get_block, use_writepage = 0, }
751  ret = __mpage_writepage(page, wbc, & mpd)
752  If bio Then
753  op_flags = If sync_mode == Wait on every mapping Then REQ_SYNC Else 0
755  mpage_bio_submit(REQ_OP_WRITE, op_flags, bio)
757  Return ret