Function report |
Source Code:mm\page-writeback.c |
Create Date:2022-07-28 14:11:30 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__test_set_page_writeback
Proto:int __test_set_page_writeback(struct page *page, bool keep_write)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
bool | keep_write |
2766 | mapping = page_mapping(page) |
2769 | lock_page_memcg(page) |
2770 | If mapping && mapping_use_writeback_tags(mapping) Then |
2773 | bdi = inode_to_bdi(inode) |
2776 | xas_lock_irqsave( & xas, flags) |
2778 | ret = TestSetPageWriteback(page) |
2779 | If Not ret Then |
2786 | If bdi_cap_account_writeback(bdi) Then inc_wb_stat(inode_to_wb(inode), WB_WRITEBACK) |
2794 | If host && Not on_wblist Then mark an inode as under writeback on the sb |
2801 | xas_unlock_irqrestore( & xas, flags) |
2802 | Else |
2803 | ret = TestSetPageWriteback(page) |
2805 | If Not ret Then |
2809 | unlock_page_memcg(page) |
2810 | Return ret |
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 |