函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dcache.h Create Date:2022-07-27 06:43:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:d_real - Return the real dentry*@dentry: the dentry to query*@inode: inode to select the dentry from multiple layers (can be NULL)* If dentry is on a union/overlay, then return the underlying, real dentry.* Otherwise return the dentry itself.

函数原型:static inline struct dentry *d_real(struct dentry *dentry, const struct inode *inode)

返回类型:struct dentry

参数:

类型参数名称
struct dentry *dentry
const struct inode *inode
580  如果此条件成立可能性小(为编译器优化)( protected by d_lock & DCACHE_OP_REAL)则返回:d_real(dentry, inode)
582  否则返回:dentry
调用者
名称描述
d_real_inoded_real_inode - Return the real inode*@dentry: The dentry to query* If dentry is on a union/overlay, then return the underlying, real inode.* Otherwise return d_inode().
file_dentry