Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:11:13 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:For address_spaces which do not use buffers. Just tag the page as dirty in* the xarray.* This is also used when a single buffer is being dirtied: we want to set the* page dirty in that case, but not all the buffers. This is a "bottom-up"
Proto:int __set_page_dirty_nobuffers(struct page *page)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
2467 | lock_page_memcg(page) |
2468 | If Not TestSetPageDirty(page) Then |
2469 | mapping = page_mapping(page) |
2472 | If Not mapping Then |
2473 | unlock_page_memcg(page) |
2474 | Return 1 |
2477 | xa_lock_irqsave( & i_pages, flags) |
2478 | BUG_ON(page_mapping(page) != mapping) |
2483 | xa_unlock_irqrestore( & i_pages, flags) |
2484 | unlock_page_memcg(page) |
2486 | If host Then |
2490 | Return 1 |
2492 | unlock_page_memcg(page) |
2493 | Return 0 |
Name | Describe |
---|---|
redirty_page_for_writepage | When a writepage implementation decides that it doesn't want to write this* page for some reason, it should redirty the locked page via* redirty_page_for_writepage() and it should then unlock the page and return 0 |
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 |