函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\mpage.c Create Date:2022-07-29 10:47:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mpage_writepage

函数原型:int mpage_writepage(struct page *page, get_block_t get_block, struct writeback_control *wbc)

返回类型:int

参数:

类型参数名称
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  如果bio
753  op_flags等于如果sync_mode恒等于Wait on every mapping REQ_SYNC否则0
755  mpage_bio_submit(REQ_OP_WRITE, op_flags, bio)
757  返回:ret