Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\truncate.c Create Date:2022-07-28 14:14:15
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 easily possible. This handles exceptional* entries for invalidate_inode_pages().

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

Type:int

Parameter:

TypeParameterName
struct address_space *mapping
unsigned longindex
void *entry
115  If shmem_mapping(mapping) || dax_mapping(mapping) Then Return 1
117  clear_shadow_entry(mapping, index, entry)
118  Return 1
Caller
NameDescribe
invalidate_mapping_pagesvalidate_mapping_pages - Invalidate all the unlocked pages of one inode*@mapping: the address_space which holds the pages to invalidate*@start: the offset 'from' which to invalidate*@end: the offset 'to' which to invalidate (inclusive)* This function only