Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\buffer_head.h Create Date:2022-07-28 12:16:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:wait_on_buffer

Proto:static inline void wait_on_buffer(struct buffer_head *bh)

Type:void

Parameter:

TypeParameterName
struct buffer_head *bh
352  might_sleep()
353  If buffer_locked(bh) Then __wait_on_buffer(bh)
Caller
NameDescribe
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.