Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Invalidate exceptional entry if clean. This handles exceptional entries for* invalidate_inode_pages2() so for DAX it evicts only clean entries.

Proto:static int invalidate_exceptional_entry2(struct address_space *mapping, unsigned long index, void *entry)

Type:int

Parameter:

TypeParameterName
struct address_space *mapping
unsigned longindex
void *entry
129  If shmem_mapping(mapping) Then Return 1
131  If dax_mapping(mapping) Then Return dax_invalidate_mapping_entry_sync(mapping, index)
133  clear_shadow_entry(mapping, index, entry)
134  Return 1
Caller
NameDescribe
invalidate_inode_pages2_rangevalidate_inode_pages2_range - remove range of pages from an address_space*@mapping: the address_space*@start: the page offset 'from' which to invalidate*@end: the page offset 'to' which to invalidate (inclusive)* Any pages which are found to be mapped