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: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
Proto:int __set_page_dirty_buffers(struct page *page)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
659 | mapping = page_mapping(page) |
661 | If Value for the false possibility is greater at compile time(!mapping) Then Return Not TestSetPageDirty(page) |
664 | spin_lock( & private_lock) |
665 | If page_has_buffers(page) Then |
669 | Do |
670 | set_buffer_dirty(bh) |
679 | newly_dirty = Not TestSetPageDirty(page) |
680 | spin_unlock( & private_lock) |
687 | If newly_dirty Then __mark_inode_dirty - internal function*@inode: inode to mark*@flags: what kind of dirty (i |
690 | Return newly_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 |