函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Like lookup_one_len_unlocked(), except that it yields ERR_PTR(-ENOENT)* on negatives

函数原型:struct dentry *lookup_positive_unlocked(const char *name, struct dentry *base, int len)

返回类型:struct dentry

参数:

类型参数名称
const char *name
struct dentry *base
intlen
2575  ret等于lookup_one_len_unlocked - filesystem helper to lookup single pathname component*@name: pathname component to lookup*@base: base directory to lookup from*@len: maximum length @len should be interpreted to* Note that this routine is purely a helper for
2576  如果非是错误d_flags_negative(smp_load_acquire( & protected by d_lock ))则
2577  dput(ret)
2578  ret等于错误号
2580  返回:ret
调用者
名称描述
dquot_quota_on_mountThis function is used when filesystem needs to initialize quotas* during mount time.