函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Invalidate all data from cleancache associated with the poolid and the* mappings's inode so that all subsequent gets to this poolid/inode* will fail

函数原型:void __cleancache_invalidate_inode(struct address_space *mapping)

返回类型:void

参数:

类型参数名称
struct address_space *mapping
275  pool_id等于cleancache_poolid
276  struct cleancache_filekey key = {key = {0}}
278  如果非cleancache_ops is set by cleancache_register_ops to contain the pointers* to the cleancache "backend" implementation functions.则返回
281  如果pool_id大于等于0且If the filesystem uses exportable filehandles, use the filehandle as* the key, else use the inode number.大于等于0则invalidate_inode(pool_id, key)