---
name: "vfs_path_lookup"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/vfs_path_lookup"
---

# vfs\_path\_lookup(9)

lookup a file path relative to a dentry-vfsmount pair

## NAME

vfs\_path\_lookup - lookup a file path relative to a dentry-vfsmount pair

## SYNOPSIS

**int vfs\_path\_lookup(struct dentry \*** *dentry***, struct vfsmount \*** *mnt***, const char \*** *name***, unsigned int** *flags***, struct path \*** *path***);**

## ARGUMENTS

*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

## COPYRIGHT
