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:Returns 0 and nd will be valid on success; Retuns error, otherwise.

Proto:static int path_parentat(struct nameidata *nd, unsigned flags, struct path *parent)

Type:int

Parameter:

TypeParameterName
struct nameidata *nd
unsignedflags
struct path *parent
2352  s = must be paired with terminate_walk()
2353  err = Name resolution.* This is the basic name resolution function, turning a pathname into* the final dentry. We expect 'base' to be positive and a directory.* Returns 0 and nd will have valid dentry and mnt on success.
2354  If Not err Then err = mplete_walk - successful completion of path walk*@nd: pointer nameidata* If we had been in RCU mode, drop out of it and legitimize nd->path.* Revalidate the final result, unless we'd already done that during
2356  If Not err Then
2357  parent = path
2358  mnt = NULL
2359  dentry = NULL
2361  terminate_walk(nd)
2362  Return err
Caller
NameDescribe
filename_parentat