Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lookup_last

Proto:static inline int lookup_last(struct nameidata *nd)

Type:int

Parameter:

TypeParameterName
struct nameidata *nd
2256  If last_type == LAST_NORM && name[len] Then flags |= llow links at the end | quire a directory
2259  flags &= ~rnal use only
2260  Return walk_component(nd, 0)
Caller
NameDescribe
path_lookupatReturns 0 and nd will be valid on success; Retuns error, otherwise.
path_mountpointpath_mountpoint - look up a path to be umounted*@nd: lookup context*@flags: lookup flags*@path: pointer to container for result* Look up the given name, but don't attempt to revalidate the last component.