Function report |
Source Code:mm\truncate.c |
Create Date:2022-07-28 14:14:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This is for invalidate_mapping_pages(). That function can be called at* any time, and is not supposed to throw away dirty pages. But pages can* be marked dirty at any time too, so use remove_mapping which safely* discards clean, unused pages.
Proto:static int invalidate_complete_page(struct address_space *mapping, struct page *page)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct address_space * | mapping | |
struct page * | page |
209 | If See page-flags.h for PAGE_MAPPING_FLAGS != mapping Then Return 0 |
215 | ret = remove_mapping(mapping, page) |
217 | Return ret |
Name | Describe |
---|---|
invalidate_inode_page | 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. |
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 |