Home
last modified time | relevance | path

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

/linux/fs/nfsd/
H A Dvfs.c256 dparent = fhp->fh_dentry; in nfsd_lookup_dentry()
380 struct inode *inode = d_inode(fhp->fh_dentry); in commit_metadata()
426 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd_may_truncate()
431 return nfsd_permission(&rqstp->rq_cred, fhp->fh_export, fhp->fh_dentry, in nfsd_may_truncate()
438 return nfserrno(get_write_access(d_inode(fhp->fh_dentry))); in nfsd_get_write_access()
540 get_write_count = !fhp->fh_dentry; in nfsd_setattr()
552 dentry = fhp->fh_dentry; in nfsd_setattr()
844 dentry = fhp->fh_dentry; in nfsd_access()
915 path.dentry = fhp->fh_dentry; in __nfsd_open()
1172 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd_direct_read()
[all …]
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()
110 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, in nfsd3_proc_setacl()
116 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, in nfsd3_proc_setacl()
177 struct dentry *dentry = resp->fh.fh_dentry; in nfs3svc_encode_getaclres()
H A Dnfsfh.c361 fhp->fh_dentry = dentry; in nfsd_set_fh_dentry()
396 if (!fhp->fh_dentry) { in __fh_verify()
402 dentry = fhp->fh_dentry; in __fh_verify()
695 if (fhp->fh_dentry) { in fh_compose()
704 fhp->fh_dentry = dget(dentry); /* our internal copy */ in fh_compose()
736 if (!fhp->fh_dentry) in fh_update()
739 dentry = fhp->fh_dentry; in fh_update()
770 .dentry = fhp->fh_dentry, in fh_getattr()
869 struct dentry * dentry = fhp->fh_dentry; in fh_put()
872 fhp->fh_dentry = NULL; in fh_put()
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()
120 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, in nfsacld_proc_setacl()
126 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, in nfsacld_proc_setacl()
251 struct dentry *dentry = resp->fh.fh_dentry; in nfsaclsvc_encode_getaclres()
H A Dnfsproc.c130 setattr_prepare(&nop_mnt_idmap, fhp->fh_dentry, iap) != 0) { in nfsd_proc_setattr()
316 dchild = start_creating(&nop_mnt_idmap, dirfhp->fh_dentry, in nfsd_proc_create()
334 if (!newfhp->fh_dentry) { in nfsd_proc_create()
341 inode = d_inode(newfhp->fh_dentry); in nfsd_proc_create()
369 newfhp->fh_dentry, in nfsd_proc_create()
537 if (resp->fh.fh_dentry) { in nfsd_proc_mkdir()
H A Dnfsfh.h84 struct dentry * fh_dentry; /* validated dentry */ member
236 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.c88 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support()
146 dget(src->fh_dentry); in fh_dup2()
174 umode_t mode = d_inode(fh->fh_dentry)->i_mode; in nfsd_check_obj_isreg()
271 parent = fhp->fh_dentry; in nfsd4_create_file()
758 if (!cstate->save_fh.fh_dentry) in nfsd4_restorefh()
998 if (tmp_fh.fh_dentry == fh->fh_dentry) { in nfsd4_do_lookupp()
1313 inode = cstate->current_fh.fh_dentry->d_inode; in nfsd4_setattr()
1397 if (!cstate->save_fh.fh_dentry) in nfsd4_verify_copy()
2595 cstate->current_fh.fh_dentry, in _nfsd4_verify()
2844 nfserr = ops->proc_layoutget(rqstp, d_inode(current_fh->fh_dentry), in nfsd4_layoutget()
[all …]
H A Dnfs3proc.c303 parent = fhp->fh_dentry; in nfsd3_create_file()
722 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_fsinfo()
759 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_pathconf()
767 err = nfsd_get_case_info(argp->fh.fh_dentry, in nfsd3_proc_pathconf()
H A Dnfsxdr.c232 struct dentry *dentry = fhp->fh_dentry; in svcxdr_encode_fattr()
H A Dnfs4state.c5259 if (!cstate->current_fh.fh_dentry) in nfsd4_reclaim_complete()
5462 fp->fi_inode = d_inode(fh->fh_dentry); in nfsd4_file_init()
5941 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd4_file_hash_lookup()
5971 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd4_file_hash_insert()
6498 status = nfserrno(nfsd_open_break_lease(cur_fh->fh_dentry->d_inode, in nfs4_get_vfs_file()
8038 fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()
8426 cstate->current_fh.fh_dentry); in nfsd4_open_confirm()
8492 cstate->current_fh.fh_dentry); in nfsd4_open_downgrade()
8566 cstate->current_fh.fh_dentry); in nfsd4_close()
8638 wake_up_var(d_inode(cstate->current_fh.fh_dentry)); in nfsd4_delegreturn()
[all …]
H A Dtrace.h292 __entry->inode = d_inode(fhp->fh_dentry);
332 if (fhp->fh_dentry)
333 __entry->inode = d_inode(fhp->fh_dentry);
H A Dfilecache.c1195 inode = d_inode(fhp->fh_dentry); in nfsd_file_do_acquire()
H A Dnfs4xdr.c4564 cd->rd_fhp->fh_dentry); in nfsd4_encode_entry4_fattr()
4855 fhp->fh_dentry, getattr->ga_bmval, 0, NULL); in nfsd4_encode_getattr()
5382 readdir->rd_case_cache.dir = readdir->rd_fhp->fh_dentry; in nfsd4_encode_dirlist4()