| Function report | 
| Source Code: mm\truncate.c | Create Date:2022-07-28 14:14:18 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:If truncate cannot remove the fs-private metadata from the page, the page* becomes orphaned
Proto:static void truncate_cleanup_page(struct address_space *mapping, struct page *page)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct address_space * | mapping | |
| struct page * | page | 
| 179 | If page_mapped(page) Then | 
| 181 | unmap_mapping_pages(mapping, Our offset within mapping. , nr, false) | 
| 192 | cancel_dirty_page(page) | 
| Name | Describe | 
|---|---|
| truncate_inode_page | |
| truncate_inode_pages_range | runcate_inode_pages_range - truncate range of pages specified by start & end byte offsets*@mapping: mapping to truncate*@lstart: offset from which to truncate*@lend: offset to which to truncate (inclusive)* Truncate the page cache, removing the pages that | 
| 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 |