Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-28 20:07:24
Last Modify:2020-03-18 10:27:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dentry_cmp

Proto:static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount)

Type:int

Parameter:

TypeParameterName
const struct dentry *dentry
const unsigned char *ct
unsignedtcount
249  cs = READ_ONCE(name)
251  Return dentry_string_cmp(cs, ct, tcount)
Caller
NameDescribe
d_same_name
__d_lookup_rcu__d_lookup_rcu - search for a dentry (racy, store-free)*@parent: parent dentry*@name: qstr of name we wish to find*@seqp: returns d_seq value at the point where the dentry was found* Returns: dentry, or NULL* __d_lookup_rcu is the dcache lookup function