函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:We're now finished for good with this ioend structure. Update the page* state, release holds on bios, and finally free up memory. Do not use the* ioend after this.

函数原型:static void iomap_finish_ioend(struct iomap_ioend *ioend, int error)

返回类型:void

参数:

类型参数名称
struct iomap_ioend *ioend
interror
1142  inode等于le being written to
1143  bio等于MUST BE LAST!
1144  last等于 being built
1145  start等于 device address in 512 byte sectors
1146  offset等于ffset in the file
1147  quiet等于bio_flagged(bio, BIO_QUIET)
1149 bio循环
1157  如果bio恒等于lastnext = NULL
1159  否则next等于bi_private
1163  drivers should _never_ use the all version - the bio may have been split* before it got to the driver and the driver won't own all of it(bv, bio, iter_all)
1164  iomap_finish_page_writeback(inode, bv_page, error)
1165  bio_put(bio)
1169  如果此条件成立可能性小(为编译器优化)(error && !quiet)则
1170  atelimited messages with local ratelimit_state,* no local ratelimit_state used in the !PRINTK case(r conditions "%s: writeback error on inode %lu, offset %lld, sector %llu", s_id, Stat data, not accessed from path walking , offset, start)
调用者
名称描述
iomap_finish_ioends
iomap_writepage_end_bio