函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:buffer_locked

函数原型:static inline __attribute__((__always_inline__)) int buffer_locked(const struct buffer_head *bh)

返回类型:int

参数:

类型参数名称
const struct buffer_head *bh
123  返回:如果__builtin_constant_p( Is locked )则constant_test_bit(( Is locked ), ( & buffer state bitmap (see above) ))否则variable_test_bit(( Is locked ), ( & buffer state bitmap (see above) ))
调用者
名称描述
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
wait_on_buffer