函数逻辑报告

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

函数原型:struct dentry *d_find_any_alias(struct inode *inode)

返回类型:struct dentry

参数:

类型参数名称
struct inode *inode
966  加自旋锁
967  de等于__d_find_any_alias(inode)
968  自旋锁解锁
969  返回:de
调用者
名称描述
inode_doinit_with_dentry
__d_obtain_alias
shrink_dcache_inodeTry 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.