函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\buffer.c Create Date:2022-07-29 10:45:09
Last Modify:2020-03-18 10:38:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Called when we've recently written block `bblock', and it is known that* `bblock' was for a buffer_boundary() buffer. This means that the block at* `bblock + 1' is probably a dirty indirect block. Hunt it down and, if it's* dirty, schedule it for IO

函数原型:void write_boundary_block(struct block_device *bdev, sector_t bblock, unsigned blocksize)

返回类型:void

参数:

类型参数名称
struct block_device *bdev
sector_tbblock
unsignedblocksize
577  bh等于Perform a pagecache lookup for the matching buffer. If it's there, refresh* it in the LRU and mark it as accessed. If it is not present then return* NULL
578  如果bh
579  如果buffer_dirty(bh)则ll_rw_block: low-level access to block devices (DEPRECATED)*@op: whether to %READ or %WRITE*@op_flags: req_flag_bits*@nr: number of &struct buffer_heads in the array*@bhs: array of pointers to &struct buffer_head* ll_rw_block() takes an array of pointers
581  put_bh(bh)
调用者
名称描述
__mpage_writepage