函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-29 10:34:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:d_revalidate

函数原型:static inline int d_revalidate(struct dentry *dentry, unsigned int flags)

返回类型:int

参数:

类型参数名称
struct dentry *dentry
unsigned intflags
757  如果此条件成立可能性小(为编译器优化)( protected by d_lock & DCACHE_OP_REVALIDATE)则返回:d_revalidate(dentry, flags)
759  否则返回:1
调用者
名称描述
lookup_dcacheThis looks up the name in dcache and possibly revalidates the found dentry.* NULL is returned if the dentry does not exist in the cache.
lookup_fast
__lookup_slowFast lookup failed, do it the slow way
lookup_openLook up and maybe create and open the last component