Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\truncate.c Create Date:2022-07-28 14:14:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_invalidatepage - invalidate part or all of a page*@page: the page which is affected*@offset: start of the range to invalidate*@length: length of the range to invalidate* do_invalidatepage() is called when all or part of the page has become

Proto:void do_invalidatepage(struct page *page, unsigned int offset, unsigned int length)

Type:void

Parameter:

TypeParameterName
struct page *page
unsigned intoffset
unsigned intlength
155  void( * invalidatepage)(struct page * , unsigned int, unsigned int)
157  invalidatepage = invalidatepage
159  If Not invalidatepage Then invalidatepage = lock_invalidatepage - invalidate part or all of a buffer-backed page*@page: the page which is affected*@offset: start of the range to invalidate*@length: length of the range to invalidate* block_invalidatepage() is called when all or part of the page has
162  If invalidatepage Then ( * invalidatepage)(page, offset, length)
Caller
NameDescribe
truncate_cleanup_pageIf truncate cannot remove the fs-private metadata from the page, the page* becomes orphaned
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