函数逻辑报告 |
Source Code:fs\buffer.c |
Create Date:2022-07-29 10:45:12 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void mark_buffer_dirty(struct buffer_head *bh)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct buffer_head * | bh |
1138 | 如果buffer_dirty(bh)则 |
1139 | smp_mb() |
1140 | 如果buffer_dirty(bh)则返回 |
1144 | 如果非test_set_buffer_dirty(bh)则 |
1146 | struct address_space * mapping = NULL |
1149 | 如果非TestSetPageDirty(page)则 |
1150 | mapping等于page_mapping(page) |
名称 | 描述 |
---|---|
mark_buffer_dirty_inode | |
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. |
__block_write_begin_int | |
__block_commit_write | |
block_truncate_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |