Lines Matching refs:dentry

83 static char *nfs4_path(struct dentry *dentry, char *buffer, ssize_t buflen)  in nfs4_path()  argument
86 char *path = nfs_path(&limit, dentry, buffer, buflen, in nfs4_path()
100 static int nfs4_validate_fspath(struct dentry *dentry, in nfs4_validate_fspath() argument
106 path = nfs4_path(dentry, page, PAGE_SIZE); in nfs4_validate_fspath()
296 static struct vfsmount *nfs_follow_referral(struct dentry *dentry, in nfs_follow_referral() argument
301 .sb = dentry->d_sb, in nfs_follow_referral()
302 .dentry = dentry, in nfs_follow_referral()
303 .authflavor = NFS_SB(dentry->d_sb)->client->cl_auth->au_flavor, in nfs_follow_referral()
311 dprintk("%s: referral at %pd2\n", __func__, dentry); in nfs_follow_referral()
322 error = nfs4_validate_fspath(dentry, locations, page, page2); in nfs_follow_referral()
352 static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *dentry) in nfs_do_refmount() argument
355 struct dentry *parent; in nfs_do_refmount()
374 parent = dget_parent(dentry); in nfs_do_refmount()
376 __func__, dentry); in nfs_do_refmount()
378 err = nfs4_proc_fs_locations(client, d_inode(parent), &dentry->d_name, fs_locations, page); in nfs_do_refmount()
385 mnt = nfs_follow_referral(dentry, fs_locations); in nfs_do_refmount()
394 struct vfsmount *nfs4_submount(struct nfs_server *server, struct dentry *dentry, in nfs4_submount() argument
398 struct dentry *parent = dget_parent(dentry); in nfs4_submount()
400 struct qstr *name = &dentry->d_name; in nfs4_submount()
411 mnt = nfs_do_refmount(client, dentry); in nfs4_submount()
417 mnt = nfs_do_submount(dentry, fh, fattr, flavor); in nfs4_submount()