Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nfsd/
Dnfsfh.c285 fhp->fh_dentry = dentry; in nfsd_set_fh_dentry()
329 if (!fhp->fh_dentry) { in fh_verify()
334 dentry = fhp->fh_dentry; in fh_verify()
558 if (fhp->fh_locked || fhp->fh_dentry) { in fh_compose()
567 fhp->fh_dentry = dget(dentry); /* our internal copy */ in fh_compose()
613 if (!fhp->fh_dentry) in fh_update()
616 dentry = fhp->fh_dentry; in fh_update()
645 struct dentry * dentry = fhp->fh_dentry; in fh_put()
649 fhp->fh_dentry = NULL; in fh_put()
Dnfsfh.h33 struct dentry * fh_dentry; /* validated dentry */ member
172 WARN_ON(src->fh_dentry || src->fh_locked); in fh_copy()
287 struct dentry *dentry = fhp->fh_dentry; in fh_lock_nested()
318 inode_unlock(d_inode(fhp->fh_dentry)); in fh_unlock()
Dvfs.c211 dparent = fhp->fh_dentry; in nfsd_lookup_dentry()
312 struct inode *inode = d_inode(fhp->fh_dentry); in commit_metadata()
356 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd_get_write_access()
362 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_get_write_access()
418 get_write_count = !fhp->fh_dentry; in nfsd_setattr()
430 dentry = fhp->fh_dentry; in nfsd_setattr()
539 dentry = fhp->fh_dentry; in nfsd4_set_nfs4_label()
651 dentry = fhp->fh_dentry; in nfsd_access()
743 path.dentry = fhp->fh_dentry; in nfsd_open()
1190 dentry = fhp->fh_dentry; in nfsd_create_locked()
[all …]
Dnfs3acl.c44 inode = d_inode(fh->fh_dentry); in nfsd3_proc_getacl()
99 inode = d_inode(fh->fh_dentry); in nfsd3_proc_setacl()
175 struct dentry *dentry = resp->fh.fh_dentry; in nfs3svc_encode_getaclres()
Dnfsproc.c106 setattr_prepare(fhp->fh_dentry, iap) != 0) { in nfsd_proc_setattr()
286 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
304 if (!newfhp->fh_dentry) { in nfsd_proc_create()
311 inode = d_inode(newfhp->fh_dentry); in nfsd_proc_create()
338 newfhp->fh_dentry, in nfsd_proc_create()
503 if (resp->fh.fh_dentry) { in nfsd_proc_mkdir()
Dnfs2acl.c47 inode = d_inode(fh->fh_dentry); in nfsacld_proc_getacl()
108 inode = d_inode(fh->fh_dentry); in nfsacld_proc_setacl()
264 struct dentry *dentry = resp->fh.fh_dentry; in nfsaclsvc_encode_getaclres()
Dnfs3xdr.c150 (fhp->fh_dentry->d_sb->s_dev)); in encode_fsid()
210 struct dentry *dentry = fhp->fh_dentry; in encode_post_op_attr()
239 struct dentry *dentry = fhp->fh_dentry; in encode_wcc_data()
269 inode = d_inode(fhp->fh_dentry); in fill_pre_wcc()
297 d_inode(fhp->fh_dentry)); in fill_post_wcc()
301 fhp->fh_post_attr.ctime = d_inode(fhp->fh_dentry)->i_ctime; in fill_post_wcc()
648 lease_get_mtime(d_inode(resp->fh.fh_dentry), in nfs3svc_encode_attrstat()
841 dparent = cd->fh.fh_dentry; in compose_entry_fh()
Dnfs4proc.c56 struct inode *inode = d_inode(resfh->fh_dentry); in nfsd4_security_inode_setsecctx()
60 status = security_inode_setsecctx(resfh->fh_dentry, in nfsd4_security_inode_setsecctx()
98 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support()
168 dget(src->fh_dentry); in fh_dup2()
199 umode_t mode = d_inode(fh->fh_dentry)->i_mode; in nfsd_check_obj_isreg()
527 if (!cstate->save_fh.fh_dentry) in nfsd4_restorefh()
731 if (tmp_fh.fh_dentry == fh->fh_dentry) { in nfsd4_do_lookupp()
1039 if (!cstate->save_fh.fh_dentry) in nfsd4_verify_copy()
1247 cstate->current_fh.fh_dentry, in _nfsd4_verify()
1429 nfserr = ops->proc_layoutget(d_inode(current_fh->fh_dentry), in nfsd4_layoutget()
[all …]
Dvfs.h144 .dentry = fh->fh_dentry}; in fh_getattr()
Dnfs3proc.c177 struct inode *inode = d_inode(resp->fh.fh_dentry); in nfsd3_proc_read()
607 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_fsinfo()
644 struct super_block *sb = argp->fh.fh_dentry->d_sb; in nfsd3_proc_pathconf()
Dnfsxdr.c132 struct dentry *dentry = fhp->fh_dentry; in encode_fattr()
Dxdr4.h689 cinfo->change_supported = IS_I_VERSION(d_inode(fhp->fh_dentry)); in set_change_info()
Dnfs4acl.c770 dentry = fhp->fh_dentry; in nfsd4_set_nfs4_acl()
Dnfs4state.c3307 if (!cstate->current_fh.fh_dentry) in nfsd4_reclaim_complete()
5115 status = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()
5143 struct inode *ino = d_inode(fhp->fh_dentry); in nfs4_preprocess_stateid_op()
5383 cstate->current_fh.fh_dentry); in nfsd4_open_confirm()
5451 cstate->current_fh.fh_dentry); in nfsd4_open_downgrade()
5521 cstate->current_fh.fh_dentry); in nfsd4_close()
5910 struct inode *inode = d_inode(cstate->current_fh.fh_dentry); in lookup_or_create_lock_state()
Dnfs4xdr.c2987 dentry = lookup_positive_unlocked(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr()
3240 return nfsd4_encode_fattr(xdr, fhp, fhp->fh_export, fhp->fh_dentry, in nfsd4_encode_getattr()
3487 d_inode(read->rd_fhp->fh_dentry)->i_size); in nfsd4_encode_splice_read()
3566 d_inode(read->rd_fhp->fh_dentry)->i_size); in nfsd4_encode_readv()