函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cleancache.h Create Date:2022-07-27 15:22:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cleancache_invalidate_inode

函数原型:static inline void cleancache_invalidate_inode(struct address_space *mapping)

返回类型:void

参数:

类型参数名称
struct address_space *mapping
114  如果cleancache_enabledcleancache_fs_enabled_mapping(mapping)则__cleancache_invalidate_inode(mapping)
调用者
名称描述
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
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
invalidate_bdevInvalidate clean unused buffers and pagecache.