函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-29 10:37:25
Last Modify:2020-03-18 10:27:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dentry_cmp

函数原型:static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount)

返回类型:int

参数:

类型参数名称
const struct dentry *dentry
const unsigned char *ct
unsignedtcount
249  cs等于READ_ONCE(name)
251  返回:dentry_string_cmp(cs, ct, tcount)
调用者
名称描述
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