Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-28 20:05:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:d_revalidate

Proto:static inline int d_revalidate(struct dentry *dentry, unsigned int flags)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
unsigned intflags
757  If Value for the false possibility is greater at compile time( protected by d_lock & DCACHE_OP_REVALIDATE) Then Return d_revalidate(dentry, flags)
759  Else Return 1
Caller
NameDescribe
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