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: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

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

Type:struct dentry

Parameter:

TypeParameterName
const char *name
struct dentry *base
intlen
2553  err = lookup_one_len_common(name, base, len, & this)
2554  If err Then Return ERR_PTR(err)
2557  ret = This looks up the name in dcache and possibly revalidates the found dentry.* NULL is returned if the dentry does not exist in the cache.
2558  If Not ret Then ret = lookup_slow( & this, base, 0)
2560  Return ret
Caller
NameDescribe
lookup_positive_unlockedLike lookup_one_len_unlocked(), except that it yields ERR_PTR(-ENOENT)* on negatives