Function report |
Source Code:mm\truncate.c |
Create Date:2022-07-28 14:14:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Safely invalidate one page from its pagecache mapping.* It only drops clean, unused pages. The page must be locked.* Returns 1 if the page is successfully invalidated, otherwise 0.
Proto:int invalidate_inode_page(struct page *page)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page |
| 257 | mapping = page_mapping(page) |
| 258 | If Not mapping Then Return 0 |
| 260 | If PageDirty(page) || Only test-and-set exist for PG_writeback. The unconditional operators are* risky: they bypass page accounting. Then Return 0 |
| 262 | If page_mapped(page) Then Return 0 |
| Name | Describe |
|---|---|
| invalidate_mapping_pages | validate_mapping_pages - Invalidate all the unlocked pages of one inode*@mapping: the address_space which holds the pages to invalidate*@start: the offset 'from' which to invalidate*@end: the offset 'to' which to invalidate (inclusive)* This function only |
| truncate_error_page | |
| __soft_offline_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 |