Lines Matching refs:nd
97 static void * nfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd) in nfs_follow_mountpoint() argument
113 dput(nd->path.dentry); in nfs_follow_mountpoint()
114 nd->path.dentry = dget(dentry); in nfs_follow_mountpoint()
117 parent = dget_parent(nd->path.dentry); in nfs_follow_mountpoint()
119 &nd->path.dentry->d_name, in nfs_follow_mountpoint()
126 mnt = nfs_do_refmount(nd->path.mnt, nd->path.dentry); in nfs_follow_mountpoint()
128 mnt = nfs_do_submount(nd->path.mnt, nd->path.dentry, &fh, in nfs_follow_mountpoint()
135 err = do_add_mount(mnt, &nd->path, nd->path.mnt->mnt_flags|MNT_SHRINKABLE, in nfs_follow_mountpoint()
143 path_put(&nd->path); in nfs_follow_mountpoint()
144 nd->path.mnt = mnt; in nfs_follow_mountpoint()
145 nd->path.dentry = dget(mnt->mnt_root); in nfs_follow_mountpoint()
153 path_put(&nd->path); in nfs_follow_mountpoint()
156 while (d_mountpoint(nd->path.dentry) && in nfs_follow_mountpoint()
157 follow_down(&nd->path.mnt, &nd->path.dentry)) in nfs_follow_mountpoint()