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:vfs_path_lookup - lookup a file path relative to a dentry-vfsmount pair*@dentry: pointer to dentry of the base directory*@mnt: pointer to vfs mount of the base directory*@name: pointer to file name*@flags: lookup flags*@path: pointer to struct path to fill

Proto:int vfs_path_lookup(struct dentry *dentry, struct vfsmount *mnt, const char *name, unsigned int flags, struct path *path)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
struct vfsmount *mnt
const char *name
unsigned intflags
struct path *path
2438  struct path root = {mnt = mnt, dentry = dentry}
2440  Return filename_lookup(Special value used to indicateopenat should use the currentworking directory. , getname_kernel(name), flags, path, & root)
Caller
NameDescribe
mount_subtree
mntns_install