Home
last modified time | relevance | path

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

/Linux-v5.15/fs/nfsd/
Dvfs.c184 dparent = fhp->fh_dentry; in nfsd_lookup_dentry()
294 struct inode *inode = d_inode(fhp->fh_dentry); in commit_metadata()
334 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd_get_write_access()
339 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_get_write_access()
382 get_write_count = !fhp->fh_dentry; in nfsd_setattr()
394 dentry = fhp->fh_dentry; in nfsd_setattr()
504 dentry = fhp->fh_dentry; in nfsd4_set_nfs4_label()
656 dentry = fhp->fh_dentry; in nfsd_access()
729 path.dentry = fhp->fh_dentry; in __nfsd_open()
1214 dentry = fhp->fh_dentry; in nfsd_create_locked()
[all …]
Dnfsfh.c301 fhp->fh_dentry = dentry; in nfsd_set_fh_dentry()
359 if (!fhp->fh_dentry) { in fh_verify()
364 dentry = fhp->fh_dentry; in fh_verify()
591 if (fhp->fh_locked || fhp->fh_dentry) { in fh_compose()
600 fhp->fh_dentry = dget(dentry); /* our internal copy */ in fh_compose()
646 if (!fhp->fh_dentry) in fh_update()
649 dentry = fhp->fh_dentry; in fh_update()
678 struct dentry * dentry = fhp->fh_dentry; in fh_put()
682 fhp->fh_dentry = NULL; in fh_put()
Dnfsfh.h34 struct dentry * fh_dentry; /* validated dentry */ member
181 WARN_ON(src->fh_dentry || src->fh_locked); in fh_copy()
298 struct dentry *dentry = fhp->fh_dentry; in fh_lock_nested()
329 inode_unlock(d_inode(fhp->fh_dentry)); in fh_unlock()
Dnfs3acl.c41 inode = d_inode(fh->fh_dentry); in nfsd3_proc_getacl()
98 inode = d_inode(fh->fh_dentry); 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()
247 struct dentry *dentry = resp->fh.fh_dentry; in nfsaclsvc_encode_getaclres()
Dnfsproc.c93 setattr_prepare(&init_user_ns, fhp->fh_dentry, iap) != 0) { in nfsd_proc_setattr()
295 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
313 if (!newfhp->fh_dentry) { in nfsd_proc_create()
320 inode = d_inode(newfhp->fh_dentry); in nfsd_proc_create()
347 newfhp->fh_dentry, in nfsd_proc_create()
523 if (resp->fh.fh_dentry) { in nfsd_proc_mkdir()
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()
506 inode = d_inode(fhp->fh_dentry); in fill_pre_wcc()
532 struct inode *inode = d_inode(fhp->fh_dentry); in fill_post_wcc()
848 lease_get_mtime(d_inode(resp->fh.fh_dentry), &resp->stat.mtime); in nfs3svc_encode_getattrres()
1095 dparent = cd->fh.fh_dentry; in compose_entry_fh()
Dnfs4proc.c71 struct inode *inode = d_inode(resfh->fh_dentry); in nfsd4_security_inode_setsecctx()
75 status = security_inode_setsecctx(resfh->fh_dentry, in nfsd4_security_inode_setsecctx()
113 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support()
183 dget(src->fh_dentry); in fh_dup2()
214 umode_t mode = d_inode(fh->fh_dentry)->i_mode; in nfsd_check_obj_isreg()
549 if (!cstate->save_fh.fh_dentry) in nfsd4_restorefh()
753 if (tmp_fh.fh_dentry == fh->fh_dentry) { in nfsd4_do_lookupp()
1059 if (!cstate->save_fh.fh_dentry) in nfsd4_verify_copy()
1933 cstate->current_fh.fh_dentry, in _nfsd4_verify()
2115 nfserr = ops->proc_layoutget(d_inode(current_fh->fh_dentry), in nfsd4_layoutget()
[all …]
Dvfs.h158 .dentry = fh->fh_dentry}; in fh_getattr()
Dnfs3proc.c593 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_fsinfo()
629 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_pathconf()
Dnfs4state.c667 struct inode *inode = d_inode(fh->fh_dentry); in file_hashval()
3967 if (!cstate->current_fh.fh_dentry) in nfsd4_reclaim_complete()
4159 fp->fi_inode = d_inode(fh->fh_dentry); in nfsd4_init_file()
4525 } else if (d_inode(fh->fh_dentry) == fp->fi_inode) in insert_file()
4968 status = nfserrno(nfsd_open_break_lease(cur_fh->fh_dentry->d_inode, in nfs4_get_vfs_file()
5919 status = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()
6268 cstate->current_fh.fh_dentry); in nfsd4_open_confirm()
6334 cstate->current_fh.fh_dentry); in nfsd4_open_downgrade()
6404 cstate->current_fh.fh_dentry); in nfsd4_close()
6785 struct inode *inode = d_inode(cstate->current_fh.fh_dentry); in lookup_or_create_lock_state()
[all …]
Dnfsxdr.c218 struct dentry *dentry = fhp->fh_dentry; in svcxdr_encode_fattr()
Dnfs4acl.c770 dentry = fhp->fh_dentry; in nfsd4_set_nfs4_acl()
Dfilecache.c955 inode = d_inode(fhp->fh_dentry); in nfsd_file_acquire()
Dnfs4xdr.c3416 dentry = lookup_positive_unlocked(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr()
3657 return nfsd4_encode_fattr(xdr, fhp, fhp->fh_export, fhp->fh_dentry, in nfsd4_encode_getattr()