函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:iomap_writepages

函数原型:int iomap_writepages(struct address_space *mapping, struct writeback_control *wbc, struct iomap_writepage_ctx *wpc, const struct iomap_writeback_ops *ops)

返回类型:int

参数:

类型参数名称
struct address_space *mapping
struct writeback_control *wbc
struct iomap_writepage_ctx *wpc
const struct iomap_writeback_ops *ops
1649  ops等于ops
1650  ret等于write_cache_pages - walk the list of dirty pages of the given address space and write all of them
1651  如果非ioend则返回:ret
1653  返回:Submit the final bio for an ioend.* If @error is non-zero, it means that we have a situation where some part of* the submission process has failed after we have marked paged for writeback* and unlocked them