vfs_path_lookup — lookup a file path relative to a dentry-vfsmount pair
int vfs_path_lookup
(struct dentry * dentry, struct vfsmount * mnt, const char * name, unsigned int flags, struct nameidata * nd);
pointer to dentry of the base directory
pointer to vfs mount of the base directory
pointer to file name
lookup flags
pointer to nameidata