函数逻辑报告

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 clean. This handles exceptional entries for* invalidate_inode_pages2() so for DAX it evicts only clean entries.

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

返回类型:int

参数:

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