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

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

Type:int

Parameter:

TypeParameterName
struct nameidata *nd
unsignedflags
struct path *path
2632  s = must be paired with terminate_walk()
2635  When Not (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.) && (err = lookup_last(nd)) > 0 cycle
2637  s = trailing_symlink(nd)
2639  If Not err && flags & RCU pathwalk mode; semi-internal Then err = lazy_walk - try to switch to ref-walk mode
2641  If Not err Then err = handle_lookup_down(nd)
2643  If Not err Then
2644  path = path
2645  mnt = NULL
2646  dentry = NULL
2648  terminate_walk(nd)
2649  Return err
Caller
NameDescribe
filename_mountpoint