Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:08 |
| Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Mark the page dirty, and set it dirty in the page cache, and mark the inode* dirty.* If warn is true, then emit a warning if the page is not uptodate and has* not been truncated.* The caller must hold lock_page_memcg().
Proto:void __set_page_dirty(struct page *page, struct address_space *mapping, int warn)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| struct address_space * | mapping | |
| int | warn |
| 620 | xa_lock_irqsave( & i_pages, flags) |
| 621 | If See page-flags.h for PAGE_MAPPING_FLAGS Then |
| 622 | WARN_ON_ONCE(warn && !PageUptodate(page)) |
| 627 | xa_unlock_irqrestore( & i_pages, flags) |
| Name | Describe |
|---|---|
| __set_page_dirty_buffers | Add a page to the dirty page list.* It is a sad fact of life that this function is called from several places* deeply under spinlocking. It may not sleep.* If the page has buffers, the uptodate buffers are set dirty, to preserve |
| 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 |
| iomap_set_page_dirty |
| 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 |