Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:truncate_inode_page

Proto:int truncate_inode_page(struct address_space *mapping, struct page *page)

Type:int

Parameter:

TypeParameterName
struct address_space *mapping
struct page *page
222  VM_BUG_ON_PAGE(PageTail(page), page)
224  If See page-flags.h for PAGE_MAPPING_FLAGS != mapping Then Return -EIO
227  If truncate cannot remove the fs-private metadata from the page, the page* becomes orphaned
228  delete_from_page_cache - delete page from page cache*@page: the page which the kernel is trying to remove from page cache* This must be called only on pages that have been verified to be in the page* cache and locked
229  Return 0
Caller
NameDescribe
generic_error_remove_pageUsed to get rid of pages on hardware memory corruption.
truncate_inode_pages_rangeruncate_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