函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\keyring.c Create Date:2022-07-29 10:57:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Try to evict the inode's dentries from the dentry cache. If the inode is a* directory, then it can have at most one dentry; however, that dentry may be* pinned by child dentries, so first try to evict the children too.

函数原型:static void shrink_dcache_inode(struct inode *inode)

返回类型:void

参数:

类型参数名称
struct inode *inode
623  如果S_ISDIR(i_mode)则
624  dentry等于d_find_any_alias - find any alias for a given inode*@inode: inode to find an alias for* If any aliases exist for the given inode, take and return a* reference for one of them. If no aliases exist, return %NULL.
625  如果dentry
630  Try to kill dentries associated with this inode.* WARNING: you must own a reference to inode.
调用者
名称描述
evict_dentries_for_decrypted_inodes