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

Proto:static int handle_lookup_down(struct nameidata *nd)

Type:int

Parameter:

TypeParameterName
struct nameidata *nd
2265  path = path
2266  inode = path.dentry.d_inode
2267  seq = seq
2270  If flags & RCU pathwalk mode; semi-internal Then
2276  If Value for the false possibility is greater at compile time(!Try to skip to top of mountpoint pile in rcuwalk mode. Fail if* we meet a managed dentry that would need blocking.) Then Return -ECHILD
2278  Else
2279  get a reference to a dentry
2280  err = Handle a dentry that is managed in some way.* - Flagged for transit management (autofs)* - Flagged as mountpoint* - Flagged as automount point* This may only be called in refwalk mode.* On success path->dentry is known positive.
2281  If Value for the false possibility is greater at compile time(err < 0) Then Return err
2283  inode = d_backing_inode - Get upper or lower inode we should be using*@upper: The upper layer* This is the helper that should be used to get at the inode that will be used* if this dentry were to be opened as a file. The inode may be on the upper
2284  seq = 0
2286  path_to_nameidata( & path, nd)
2287  path.dentry.d_inode = inode
2288  seq = seq
2289  Return 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.