函数逻辑报告

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

函数名称:获取索引节点在哈希表中的别名

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

返回类型:struct dentry

参数:

类型参数名称
struct inode *inode
1008  struct dentry * de = NULL
1010  如果非hlist_empty( & i_dentry)则
1011  加自旋锁
1012  de等于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
1013  自旋锁解锁
1015  返回:de
调用者
名称描述
inode_doinit_with_dentry
dump_common_audit_datadump_common_audit_data - helper to dump common audit data*@a : common audit data
block_dump___mark_inode_dirty