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

Name:buffer_locked

Proto:static inline __attribute__((__always_inline__)) int buffer_locked(const struct buffer_head *bh)

Type:int

Parameter:

TypeParameterName
const struct buffer_head *bh
123  Return If __builtin_constant_p( Is locked ) Then constant_test_bit(( Is locked ), ( & buffer state bitmap (see above) )) Else variable_test_bit(( Is locked ), ( & buffer state bitmap (see above) ))
Caller
NameDescribe
buffer_check_dirty_writebackReturns if the page has dirty or writeback buffers. If all the buffers* are unlocked and clean then the PageDirty information is stale. If* any of the pages are locked, it is assumed they are locked for IO.
end_buffer_async_read
end_buffer_async_writeCompletion handler for block_write_full_page() - pages which are unlocked* during I/O, and which have PageWriteback cleared upon I/O completion.
osync_buffers_listsync is designed to support O_SYNC io
fsync_buffers_list
submit_bh_wbc
bh_submit_readh_submit_read - Submit a locked buffer for reading*@bh: struct buffer_head* Returns zero on success and -EIO on error.
__mpage_writepage