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:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_bh

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

Type:void

Parameter:

TypeParameterName
struct buffer_head *bh
283  atomic_inc( & users using this buffer_head )
Caller
NameDescribe
__find_get_block_slowVarious filesystems appear to want __find_get_block to be non-blocking
osync_buffers_listsync is designed to support O_SYNC io
fsync_buffers_list
__bread_slow
bh_lru_installInstall a buffer_head into this cpu's LRU. If not already in the LRU, it is* inserted at the front, and the buffer_head at the back if any is evicted.* Or, if already in the LRU it is moved to the front.
lookup_bh_lruLook up the bh in this cpu's LRU. If it's there, move it to the head.
ll_rw_blockll_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
write_dirty_buffer
__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.