Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-28 20:07:26
Last Modify:2020-03-18 10:27:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:d_find_alias - grab a hashed alias of inode*@inode: inode in question* If inode has a hashed alias, or is a directory and has any alias,* acquire the reference to alias and return it

Proto:static struct dentry *__d_find_alias(struct inode *inode)

Type:struct dentry

Parameter:

TypeParameterName
struct inode *inode
991  If S_ISDIR(i_mode) Then Return __d_find_any_alias(inode)
995  spin_lock( & d_lock)
996  If Not d_unhashed - is dentry hashed*@dentry: entry to check* Returns true if the dentry passed is not currently hashed. Then
997  This must be called with d_lock held
998  spin_unlock( & d_lock)
999  Return alias
1001  spin_unlock( & d_lock)
1003  Return NULL
Caller
NameDescribe
d_find_aliasgrab a hashed alias of inode