函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-29 10:34:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:int vfs_path_lookup(struct dentry *dentry, struct vfsmount *mnt, const char *name, unsigned int flags, struct path *path)

返回类型:int

参数:

类型参数名称
struct dentry *dentry
struct vfsmount *mnt
const char *name
unsigned intflags
struct path *path
2438  struct path root = {mnt = mnt, dentry = dentry}
2440  返回:filename_lookup(Special value used to indicateopenat should use the currentworking directory. , getname_kernel(name), flags, path, & root)
调用者
名称描述
mount_subtree
mntns_install