Home
last modified time | relevance | path

Searched refs:fh_dentry (Results 1 – 14 of 14) sorted by relevance

/linux/fs/nfsd/
H A Dvfs.c254 dparent = fhp->fh_dentry; in nfsd_lookup_dentry()
378 struct inode *inode = d_inode(fhp->fh_dentry); in commit_metadata()
424 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd_get_write_access()
430 fhp->fh_export, fhp->fh_dentry, in nfsd_get_write_access()
537 get_write_count = !fhp->fh_dentry; in nfsd_setattr()
549 dentry = fhp->fh_dentry; in nfsd_setattr()
836 dentry = fhp->fh_dentry; in nfsd_access()
907 path.dentry = fhp->fh_dentry; in __nfsd_open()
1164 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd_direct_read()
1674 maxbytes = (u64)fhp->fh_dentry->d_sb->s_maxbytes; in nfsd_commit()
[all …]
H A Dnfsfh.c293 fhp->fh_dentry = dentry; in nfsd_set_fh_dentry()
328 if (!fhp->fh_dentry) { in __fh_verify()
334 dentry = fhp->fh_dentry; in __fh_verify()
622 if (fhp->fh_dentry) { in fh_compose()
631 fhp->fh_dentry = dget(dentry); /* our internal copy */ in fh_compose()
663 if (!fhp->fh_dentry) in fh_update()
666 dentry = fhp->fh_dentry; in fh_update()
697 .dentry = fhp->fh_dentry, in fh_getattr()
796 struct dentry * dentry = fhp->fh_dentry; in fh_put()
799 fhp->fh_dentry = NULL; in fh_put()
H A Dnfs3acl.c41 inode = d_inode(fh->fh_dentry); in nfsd3_proc_getacl()
100 inode = d_inode(fh->fh_dentry); in nfsd3_proc_setacl()
108 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_ACCESS, in nfsd3_proc_setacl()
112 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_DEFAULT, in nfsd3_proc_setacl()
175 struct dentry *dentry = resp->fh.fh_dentry; in nfs3svc_encode_getaclres()
H A Dnfs2acl.c45 inode = d_inode(fh->fh_dentry); in nfsacld_proc_getacl()
110 inode = d_inode(fh->fh_dentry); in nfsacld_proc_setacl()
118 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_ACCESS, in nfsacld_proc_setacl()
122 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_DEFAULT, in nfsacld_proc_setacl()
249 struct dentry *dentry = resp->fh.fh_dentry; in nfsaclsvc_encode_getaclres()
H A Dnfsproc.c123 setattr_prepare(&nop_mnt_idmap, fhp->fh_dentry, iap) != 0) { in nfsd_proc_setattr()
309 dchild = start_creating(&nop_mnt_idmap, dirfhp->fh_dentry, in nfsd_proc_create()
327 if (!newfhp->fh_dentry) { in nfsd_proc_create()
334 inode = d_inode(newfhp->fh_dentry); in nfsd_proc_create()
362 newfhp->fh_dentry, in nfsd_proc_create()
530 if (resp->fh.fh_dentry) { in nfsd_proc_mkdir()
H A Dnfsfh.h84 struct dentry * fh_dentry; /* validated dentry */ member
233 WARN_ON(src->fh_dentry); in fh_copy()
H A Dnfs3xdr.c372 fsid = (u64)huge_encode_dev(fhp->fh_dentry->d_sb->s_dev); in svcxdr_encode_fattr3()
429 struct dentry *dentry = fhp->fh_dentry; in svcxdr_encode_post_op_attr()
461 struct dentry *dentry = fhp->fh_dentry; in svcxdr_encode_wcc_data()
746 lease_get_mtime(d_inode(resp->fh.fh_dentry), &resp->stat.mtime); in nfs3svc_encode_getattrres()
987 dparent = cd->fh.fh_dentry; in compose_entry_fh()
H A Dnfs4proc.c87 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support()
145 dget(src->fh_dentry); in fh_dup2()
173 umode_t mode = d_inode(fh->fh_dentry)->i_mode; in nfsd_check_obj_isreg()
270 parent = fhp->fh_dentry; in nfsd4_create_file()
745 if (!cstate->save_fh.fh_dentry) in nfsd4_restorefh()
969 if (tmp_fh.fh_dentry == fh->fh_dentry) { in nfsd4_do_lookupp()
1284 inode = cstate->current_fh.fh_dentry->d_inode; in nfsd4_setattr()
1368 if (!cstate->save_fh.fh_dentry) in nfsd4_verify_copy()
2464 cstate->current_fh.fh_dentry, in _nfsd4_verify()
2691 nfserr = ops->proc_layoutget(rqstp, d_inode(current_fh->fh_dentry), in nfsd4_layoutget()
[all …]
H A Dnfs3proc.c277 parent = fhp->fh_dentry; in nfsd3_create_file()
682 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_fsinfo()
719 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_pathconf()
H A Dnfs4state.c4612 if (!cstate->current_fh.fh_dentry) in nfsd4_reclaim_complete()
4815 fp->fi_inode = d_inode(fh->fh_dentry); in nfsd4_file_init()
5281 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd4_file_hash_lookup()
5311 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd4_file_hash_insert()
5852 status = nfserrno(nfsd_open_break_lease(cur_fh->fh_dentry->d_inode, in nfs4_get_vfs_file()
7320 fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()
7703 cstate->current_fh.fh_dentry); in nfsd4_open_confirm()
7769 cstate->current_fh.fh_dentry); in nfsd4_open_downgrade()
7843 cstate->current_fh.fh_dentry); in nfsd4_close()
7911 wake_up_var(d_inode(cstate->current_fh.fh_dentry)); in nfsd4_delegreturn()
[all …]
H A Dnfsxdr.c218 struct dentry *dentry = fhp->fh_dentry; in svcxdr_encode_fattr()
H A Dfilecache.c1109 inode = d_inode(fhp->fh_dentry); in nfsd_file_do_acquire()
H A Dtrace.h290 __entry->inode = d_inode(fhp->fh_dentry);
330 if (fhp->fh_dentry)
331 __entry->inode = d_inode(fhp->fh_dentry);
H A Dnfs4xdr.c4167 cd->rd_fhp->fh_dentry); in nfsd4_encode_entry4_fattr()
4451 fhp->fh_dentry, getattr->ga_bmval, 0); in nfsd4_encode_getattr()