函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\truncate.c Create Date:2022-07-27 15:38:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Invalidate exceptional entry if easily possible. This handles exceptional* entries for invalidate_inode_pages().

函数原型:static int invalidate_exceptional_entry(struct address_space *mapping, unsigned long index, void *entry)

返回类型:int

参数:

类型参数名称
struct address_space *mapping
unsigned longindex
void *entry
115  如果shmem_mapping(mapping)或dax_mapping(mapping)则返回:1
117  clear_shadow_entry(mapping, index, entry)
118  返回:1
调用者
名称描述
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