函数逻辑报告 |
Source Code:include\linux\buffer_head.h |
Create Date:2022-07-27 13:23:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Emit the buffer bitops functions. Note that there are also functions* of the form "mark_buffer_foo()". These are higher-level functions which* do something in addition to setting a b_state bit.
函数原型:static inline __attribute__((__always_inline__)) void set_buffer_uptodate(struct buffer_head *bh)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct buffer_head * | bh |
120 | 如果非如果__builtin_constant_p( Contains valid data )则constant_test_bit(( Contains valid data ), ( & buffer state bitmap (see above) ))否则variable_test_bit(( Contains valid data ), ( & buffer state bitmap (see above) ))则设置内存位 |
名称 | 描述 |
---|---|
__end_buffer_read_notouch | End-of-IO handler helper function which does not touch the bh after* unlocking it |
end_buffer_write_sync | |
end_buffer_async_read | |
end_buffer_async_write | Completion handler for block_write_full_page() - pages which are unlocked* during I/O, and which have PageWriteback cleared upon I/O completion. |
init_page_buffers | Initialise the state of a blockdev page's buffers. |
create_empty_buffers | We attach and possibly dirty the buffers atomically wrt* __set_page_dirty_buffers() via private_lock. try_to_free_buffers* is already excluded via the page lock. |
__block_write_full_page | While block_write_full_page is writing back the dirty buffers under* the page lock, whoever dirtied the buffers may decide to clean them* again at any time |
page_zero_new_buffers | If a page has any new buffers, zero them out here, and mark them uptodate* and dirty so they'll be written out (in order to prevent uninitialised* block data from leaking). And clear the new bit. |
iomap_to_bh | |
__block_write_begin_int | |
__block_commit_write | |
block_read_full_page | Generic "read page" function for block devices that have the normal* get_block functionality |
nobh_write_begin | On 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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |