Home
last modified time | relevance | path

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

/linux-6.6.21/fs/nfsd/
Dnfsfh.c278 fhp->fh_dentry = dentry; in nfsd_set_fh_dentry()
334 if (!fhp->fh_dentry) { in fh_verify()
339 dentry = fhp->fh_dentry; in fh_verify()
549 if (fhp->fh_dentry) { in fh_compose()
558 fhp->fh_dentry = dget(dentry); /* our internal copy */ in fh_compose()
590 if (!fhp->fh_dentry) in fh_update()
593 dentry = fhp->fh_dentry; in fh_update()
627 inode = d_inode(fhp->fh_dentry); in fh_fill_pre_attrs()
650 struct inode *inode = d_inode(fhp->fh_dentry); in fh_fill_post_attrs()
699 struct dentry * dentry = fhp->fh_dentry; in fh_put()
[all …]
Dvfs.c251 dparent = fhp->fh_dentry; in nfsd_lookup_dentry()
356 struct inode *inode = d_inode(fhp->fh_dentry); in commit_metadata()
402 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd_get_write_access()
407 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_get_write_access()
506 get_write_count = !fhp->fh_dentry; in nfsd_setattr()
518 dentry = fhp->fh_dentry; in nfsd_setattr()
766 dentry = fhp->fh_dentry; in nfsd_access()
837 path.dentry = fhp->fh_dentry; in __nfsd_open()
1301 maxbytes = (u64)fhp->fh_dentry->d_sb->s_maxbytes; in nfsd_commit()
1417 dentry = fhp->fh_dentry; in nfsd_create_locked()
[all …]
Dnfs3acl.c41 inode = d_inode(fh->fh_dentry); in nfsd3_proc_getacl()
98 inode = d_inode(fh->fh_dentry); in nfsd3_proc_setacl()
106 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_ACCESS, in nfsd3_proc_setacl()
110 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_DEFAULT, in nfsd3_proc_setacl()
173 struct dentry *dentry = resp->fh.fh_dentry; in nfs3svc_encode_getaclres()
Dnfs2acl.c45 inode = d_inode(fh->fh_dentry); in nfsacld_proc_getacl()
108 inode = d_inode(fh->fh_dentry); in nfsacld_proc_setacl()
116 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_ACCESS, in nfsacld_proc_setacl()
120 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_DEFAULT, in nfsacld_proc_setacl()
247 struct dentry *dentry = resp->fh.fh_dentry; in nfsaclsvc_encode_getaclres()
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()
Dnfsfh.h81 struct dentry * fh_dentry; /* validated dentry */ member
225 WARN_ON(src->fh_dentry); in fh_copy()
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()
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()
923 if (tmp_fh.fh_dentry == fh->fh_dentry) { in nfsd4_do_lookupp()
1162 inode = cstate->current_fh.fh_dentry->d_inode; in nfsd4_setattr()
1227 if (!cstate->save_fh.fh_dentry) in nfsd4_verify_copy()
2096 cstate->current_fh.fh_dentry, in _nfsd4_verify()
2278 nfserr = ops->proc_layoutget(d_inode(current_fh->fh_dentry), in nfsd4_layoutget()
[all …]
Dvfs.h174 .dentry = fh->fh_dentry}; in fh_getattr()
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()
Dnfs4state.c4139 if (!cstate->current_fh.fh_dentry) in nfsd4_reclaim_complete()
4331 fp->fi_inode = d_inode(fh->fh_dentry); in nfsd4_file_init()
4715 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd4_file_hash_lookup()
4745 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd4_file_hash_insert()
5264 status = nfserrno(nfsd_open_break_lease(cur_fh->fh_dentry->d_inode, in nfs4_get_vfs_file()
6518 status = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()
6892 cstate->current_fh.fh_dentry); in nfsd4_open_confirm()
6958 cstate->current_fh.fh_dentry); in nfsd4_open_downgrade()
7031 cstate->current_fh.fh_dentry); in nfsd4_close()
7092 wake_up_var(d_inode(cstate->current_fh.fh_dentry)); in nfsd4_delegreturn()
[all …]
Dnfsxdr.c218 struct dentry *dentry = fhp->fh_dentry; in svcxdr_encode_fattr()
Dtrace.h220 __entry->inode = d_inode(fhp->fh_dentry);
260 if (fhp->fh_dentry)
261 __entry->inode = d_inode(fhp->fh_dentry);
Dfilecache.c1003 inode = d_inode(fhp->fh_dentry); in nfsd_file_do_acquire()
Dnfs4xdr.c3541 dentry = lookup_positive_unlocked(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr()
3820 return nfsd4_encode_fattr(xdr, fhp, fhp->fh_export, fhp->fh_dentry, in nfsd4_encode_getattr()