Lines Matching refs:nd
25 struct nameidata *nd);
27 static void *afs_mntpt_follow_link(struct dentry *dentry, struct nameidata *nd);
108 struct nameidata *nd)
242 static void *afs_mntpt_follow_link(struct dentry *dentry, struct nameidata *nd)
250 nd->path.mnt->mnt_devname,
252 nd->path.dentry->d_name.name);
254 dput(nd->path.dentry);
255 nd->path.dentry = dget(dentry);
257 newmnt = afs_mntpt_do_automount(nd->path.dentry);
259 path_put(&nd->path);
264 err = do_add_mount(newmnt, &nd->path, MNT_SHRINKABLE, &afs_vfsmounts);
267 path_put(&nd->path);
268 nd->path.mnt = newmnt;
269 nd->path.dentry = dget(newmnt->mnt_root);
275 while (d_mountpoint(nd->path.dentry) &&
276 follow_down(&nd->path))