函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wait_on_buffer

函数原型:static inline void wait_on_buffer(struct buffer_head *bh)

返回类型:void

参数:

类型参数名称
struct buffer_head *bh
352  might_sleep()
353  如果buffer_locked(bh)则__wait_on_buffer(bh)
调用者
名称描述
osync_buffers_listsync is designed to support O_SYNC io
fsync_buffers_list
__bread_slow
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_begin_int
nobh_write_beginOn entry, the page is fully not uptodate.* On exit the page is fully uptodate in the areas outside (from,to)* The filesystem needs to handle block truncation upon failure.
block_truncate_page
__sync_dirty_bufferFor a data-integrity writeout, we need to wait upon any in-progress I/O* and then start new I/O and then wait upon it. The caller must have a ref on* the buffer_head.
bh_submit_readh_submit_read - Submit a locked buffer for reading*@bh: struct buffer_head* Returns zero on success and -EIO on error.