• Home
  • Raw
  • Download

Lines Matching refs:dentry

28 					const struct dentry *dentry,
47 const struct dentry *droot, in nfs_path()
48 const struct dentry *dentry, in nfs_path() argument
57 while (!IS_ROOT(dentry) && dentry != droot) { in nfs_path()
58 namelen = dentry->d_name.len; in nfs_path()
63 memcpy(end, dentry->d_name.name, namelen); in nfs_path()
65 dentry = dentry->d_parent; in nfs_path()
97 static void * nfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd) in nfs_follow_mountpoint() argument
100 struct nfs_server *server = NFS_SERVER(dentry->d_inode); in nfs_follow_mountpoint()
101 struct dentry *parent; in nfs_follow_mountpoint()
109 if (IS_ROOT(dentry)) in nfs_follow_mountpoint()
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()
145 nd->path.dentry = dget(mnt->mnt_root); 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()
219 const struct dentry *dentry, in nfs_do_submount() argument
225 .dentry = dentry, in nfs_do_submount()
236 dentry->d_parent->d_name.name, in nfs_do_submount()
237 dentry->d_name.name); in nfs_do_submount()
240 devname = nfs_devname(mnt_parent, dentry, page, PAGE_SIZE); in nfs_do_submount()