Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:09 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void mark_buffer_dirty(struct buffer_head *bh)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct buffer_head * | bh |
1138 | If buffer_dirty(bh) Then |
1139 | smp_mb() |
1140 | If buffer_dirty(bh) Then Return |
1144 | If Not test_set_buffer_dirty(bh) Then |
1146 | struct address_space * mapping = NULL |
1149 | If Not TestSetPageDirty(page) Then |
1150 | mapping = page_mapping(page) |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |