Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Like lookup_one_len_unlocked(), except that it yields ERR_PTR(-ENOENT)* on negatives

Proto:struct dentry *lookup_positive_unlocked(const char *name, struct dentry *base, int len)

Type:struct dentry

Parameter:

TypeParameterName
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  If Not IS_ERR(ret) && d_flags_negative(smp_load_acquire( & protected by d_lock )) Then
2577  dput(ret)
2578  ret = ERR_PTR( - ENOENT)
2580  Return ret
Caller
NameDescribe
dquot_quota_on_mountThis function is used when filesystem needs to initialize quotas* during mount time.