Home
last modified time | relevance | path

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

/openbmc/linux/fs/nfsd/
H A Dnfsfh.c278 fhp->fh_dentry = dentry; in nfsd_set_fh_dentry()
335 if (!fhp->fh_dentry) { in fh_verify()
340 dentry = fhp->fh_dentry; in fh_verify()
550 if (fhp->fh_dentry) { in fh_compose()
559 fhp->fh_dentry = dget(dentry); /* our internal copy */ in fh_compose()
591 if (!fhp->fh_dentry) in fh_update()
594 dentry = fhp->fh_dentry; in fh_update()
628 inode = d_inode(fhp->fh_dentry); in fh_fill_pre_attrs()
651 struct inode *inode = d_inode(fhp->fh_dentry); in fh_fill_post_attrs()
700 struct dentry * dentry = fhp->fh_dentry; in fh_put()
[all …]
H A Dvfs.c252 dparent = fhp->fh_dentry; in nfsd_lookup_dentry()
357 struct inode *inode = d_inode(fhp->fh_dentry); in commit_metadata()
403 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd_get_write_access()
408 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_get_write_access()
507 get_write_count = !fhp->fh_dentry; in nfsd_setattr()
519 dentry = fhp->fh_dentry; in nfsd_setattr()
767 dentry = fhp->fh_dentry; in nfsd_access()
838 path.dentry = fhp->fh_dentry; in __nfsd_open()
1304 maxbytes = (u64)fhp->fh_dentry->d_sb->s_maxbytes; in nfsd_commit()
1420 dentry = fhp->fh_dentry; in nfsd_create_locked()
[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()
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.c96 setattr_prepare(&nop_mnt_idmap, fhp->fh_dentry, iap) != 0) { in nfsd_proc_setattr()
283 inode_lock_nested(dirfhp->fh_dentry->d_inode, I_MUTEX_PARENT); in nfsd_proc_create()
284 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
302 if (!newfhp->fh_dentry) { in nfsd_proc_create()
309 inode = d_inode(newfhp->fh_dentry); in nfsd_proc_create()
336 newfhp->fh_dentry, in nfsd_proc_create()
398 inode_unlock(dirfhp->fh_dentry->d_inode); in nfsd_proc_create()
516 if (resp->fh.fh_dentry) { in nfsd_proc_mkdir()
H A Dnfsfh.h81 struct dentry * fh_dentry; /* validated dentry */ member
225 WARN_ON(src->fh_dentry); in fh_copy()
H A Dnfs3xdr.c375 fsid = (u64)huge_encode_dev(fhp->fh_dentry->d_sb->s_dev); in svcxdr_encode_fattr3()
432 struct dentry *dentry = fhp->fh_dentry; in svcxdr_encode_post_op_attr()
464 struct dentry *dentry = fhp->fh_dentry; in svcxdr_encode_wcc_data()
749 lease_get_mtime(d_inode(resp->fh.fh_dentry), &resp->stat.mtime); in nfs3svc_encode_getattrres()
990 dparent = cd->fh.fh_dentry; in compose_entry_fh()
H A Dnfs4proc.c85 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support()
135 dget(src->fh_dentry); in fh_dup2()
163 umode_t mode = d_inode(fh->fh_dentry)->i_mode; in nfsd_check_obj_isreg()
254 parent = fhp->fh_dentry; in nfsd4_create_file()
708 if (!cstate->save_fh.fh_dentry) in nfsd4_restorefh()
914 if (tmp_fh.fh_dentry == fh->fh_dentry) { in nfsd4_do_lookupp()
1153 inode = cstate->current_fh.fh_dentry->d_inode; in nfsd4_setattr()
1218 if (!cstate->save_fh.fh_dentry) in nfsd4_verify_copy()
2097 cstate->current_fh.fh_dentry, in _nfsd4_verify()
2279 nfserr = ops->proc_layoutget(d_inode(current_fh->fh_dentry), in nfsd4_layoutget()
[all …]
H A Dvfs.h174 .dentry = fh->fh_dentry}; in fh_getattr()
H A Dnfs3proc.c245 parent = fhp->fh_dentry; in nfsd3_create_file()
694 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_fsinfo()
730 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_pathconf()
H A Dnfs4state.c4145 if (!cstate->current_fh.fh_dentry) in nfsd4_reclaim_complete()
4337 fp->fi_inode = d_inode(fh->fh_dentry); in nfsd4_file_init()
4727 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd4_file_hash_lookup()
4757 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd4_file_hash_insert()
5276 status = nfserrno(nfsd_open_break_lease(cur_fh->fh_dentry->d_inode, in nfs4_get_vfs_file()
6535 status = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()
6909 cstate->current_fh.fh_dentry); in nfsd4_open_confirm()
6975 cstate->current_fh.fh_dentry); in nfsd4_open_downgrade()
7048 cstate->current_fh.fh_dentry); in nfsd4_close()
7109 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 Dtrace.h220 __entry->inode = d_inode(fhp->fh_dentry);
260 if (fhp->fh_dentry)
261 __entry->inode = d_inode(fhp->fh_dentry);
H A Dfilecache.c1007 inode = d_inode(fhp->fh_dentry); in nfsd_file_do_acquire()
H A Dnfs4xdr.c3533 dentry = lookup_positive_unlocked(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr()
3812 return nfsd4_encode_fattr(xdr, fhp, fhp->fh_export, fhp->fh_dentry, in nfsd4_encode_getattr()