函数逻辑报告 |
Source Code:include\linux\buffer_head.h |
Create Date:2022-07-27 13:23:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:buffer_dirty
函数原型:static inline __attribute__((__always_inline__)) int buffer_dirty(const struct buffer_head *bh)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct buffer_head * | bh |
121 | 返回:如果__builtin_constant_p( Is dirty )则constant_test_bit(( Is dirty ), ( & buffer state bitmap (see above) ))否则variable_test_bit(( Is dirty ), ( & buffer state bitmap (see above) )) |
名称 | 描述 |
---|---|
buffer_check_dirty_writeback | Returns 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. |
write_boundary_block | Called when we've recently written block `bblock', and it is known that* `bblock' was for a buffer_boundary() buffer. This means that the block at* `bblock + 1' is probably a dirty indirect block. Hunt it down and, if it's* dirty, schedule it for IO |
fsync_buffers_list | |
remove_inode_buffers | Remove any clean buffers from the inode's buffer list. This is called* when we're trying to free the inode itself. Those buffers can pin it.* Returns true if all buffers were removed. |
mark_buffer_dirty | mark_buffer_dirty - mark a buffer_head as needing writeout*@bh: the buffer_head to mark dirty* mark_buffer_dirty() will set the dirty bit against the buffer, then set* its backing page dirty, then tag the page as dirty in the page cache* and then attach |
__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 |
__mpage_writepage |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |