函数逻辑报告

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_any_alias

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

返回类型:struct dentry

参数:

类型参数名称
struct inode *inode
948  如果hlist_empty( & i_dentry)则返回:NULL
950  alias等于hlist_entry(first, structdentry, d_alias)
951  __dget(alias)
952  返回:alias
调用者
名称描述
d_find_any_aliasd_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.
__d_find_aliasd_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
__d_instantiate_anon
d_splice_alias链接目录项