函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-29 10:37:28
Last Modify:2020-03-18 10:27:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static struct dentry *__d_find_alias(struct inode *inode)

返回类型:struct dentry

参数:

类型参数名称
struct inode *inode
991  如果S_ISDIR(i_mode)则返回:__d_find_any_alias(inode)
995  加自旋锁
996  如果非目录项存在于哈希中
997  This must be called with d_lock held
998  自旋锁解锁
999  返回:alias
1001  自旋锁解锁
1003  返回:NULL
调用者
名称描述
d_find_alias获取索引节点在哈希表中的别名