函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\buffer_head.h Create Date:2022-07-27 13:23:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:clear_buffer_dirty

函数原型:static inline __attribute__((__always_inline__)) void clear_buffer_dirty(struct buffer_head *bh)

返回类型:void

参数:

类型参数名称
struct buffer_head *bh
121  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
调用者
名称描述
__bforgetrget() is like brelse(), except it discards any* potentially dirty data.
discard_buffer
clean_bdev_aliaseslean_bdev_aliases: clean a range of buffers in block device*@bdev: Block device to clean buffers in*@block: Start of a range of blocks to clean*@len: Number of blocks to clean* We are taking a range of blocks for data and we don't want writeback of any*
__block_write_full_pageWhile block_write_full_page is writing back the dirty buffers under* the page lock, whoever dirtied the buffers may decide to clean them* again at any time
clean_buffersWe have our BIO, so we can now mark the buffers clean. Make* sure to only clean buffers which we know we'll be writing.