Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\keyring.c Create Date:2022-07-28 20:23:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static void shrink_dcache_inode(struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct inode *inode
623  If S_ISDIR(i_mode) Then
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  If dentry Then
626  prune dcache
630  Try to kill dentries associated with this inode.* WARNING: you must own a reference to inode.
Caller
NameDescribe
evict_dentries_for_decrypted_inodes