函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Lookup the data. This is trivial - if the dentry didn't already* exist, we know it is negative. Set d_op to delete negative dentries.

函数原型:struct dentry *simple_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)

返回类型:struct dentry

参数:

类型参数名称
struct inode *dir
struct dentry *dentry
unsigned intflags
67  如果len大于# chars in a file name 则返回:错误号
69  如果非s_d_opd_set_d_op(dentry, & simple_dentry_operations)
71  添加目录项到哈希队列
72  返回:NULL
调用者
名称描述
bpf_lookup