Searched refs:fh_dentry (Results 1 – 15 of 15) sorted by relevance
/linux-4.4.14/fs/nfsd/ |
D | nfsfh.h | 30 struct dentry * fh_dentry; /* validated dentry */ member 169 WARN_ON(src->fh_dentry || src->fh_locked); in fh_copy() 228 inode = d_inode(fhp->fh_dentry); in fill_pre_wcc() 256 struct dentry *dentry = fhp->fh_dentry; in fh_lock_nested() 287 mutex_unlock(&d_inode(fhp->fh_dentry)->i_mutex); in fh_unlock()
|
D | nfsfh.c | 268 fhp->fh_dentry = dentry; in nfsd_set_fh_dentry() 312 if (!fhp->fh_dentry) { in fh_verify() 317 dentry = fhp->fh_dentry; in fh_verify() 541 if (fhp->fh_locked || fhp->fh_dentry) { in fh_compose() 550 fhp->fh_dentry = dget(dentry); /* our internal copy */ in fh_compose() 596 if (!fhp->fh_dentry) in fh_update() 599 dentry = fhp->fh_dentry; in fh_update() 628 struct dentry * dentry = fhp->fh_dentry; in fh_put() 632 fhp->fh_dentry = NULL; in fh_put()
|
D | vfs.c | 192 dparent = fhp->fh_dentry; in nfsd_lookup_dentry() 287 struct inode *inode = d_inode(fhp->fh_dentry); in commit_metadata() 331 struct inode *inode = d_inode(fhp->fh_dentry); in nfsd_get_write_access() 337 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_get_write_access() 380 get_write_count = !fhp->fh_dentry; in nfsd_setattr() 392 dentry = fhp->fh_dentry; in nfsd_setattr() 486 dentry = fhp->fh_dentry; in nfsd4_set_nfs4_label() 575 dentry = fhp->fh_dentry; in nfsd_access() 667 path.dentry = fhp->fh_dentry; in nfsd_open() 1012 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_write() [all …]
|
D | nfs3acl.c | 42 inode = d_inode(fh->fh_dentry); in nfsd3_proc_getacl() 97 inode = d_inode(fh->fh_dentry); in nfsd3_proc_setacl() 174 struct dentry *dentry = resp->fh.fh_dentry; in nfs3svc_encode_getaclres()
|
D | nfs4proc.c | 55 struct inode *inode = d_inode(resfh->fh_dentry); in nfsd4_security_inode_setsecctx() 59 status = security_inode_setsecctx(resfh->fh_dentry, in nfsd4_security_inode_setsecctx() 97 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support() 181 dget(src->fh_dentry); in fh_dup2() 212 umode_t mode = d_inode(fh->fh_dentry)->i_mode; in nfsd_check_obj_isreg() 501 if (!cstate->current_fh.fh_dentry) in nfsd4_getfh() 534 if (!cstate->save_fh.fh_dentry) in nfsd4_restorefh() 549 if (!cstate->current_fh.fh_dentry) in nfsd4_savefh() 713 if (!cstate->save_fh.fh_dentry) in nfsd4_link() 731 if (tmp_fh.fh_dentry == fh->fh_dentry) { in nfsd4_do_lookupp() [all …]
|
D | nfsproc.c | 100 inode = d_inode(fhp->fh_dentry); in nfsd_proc_setattr() 267 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create() 285 if (!newfhp->fh_dentry) { in nfsd_proc_create() 292 inode = d_inode(newfhp->fh_dentry); in nfsd_proc_create() 319 newfhp->fh_dentry, in nfsd_proc_create() 479 if (resp->fh.fh_dentry) { in nfsd_proc_mkdir()
|
D | nfs2acl.c | 45 inode = d_inode(fh->fh_dentry); in nfsacld_proc_getacl() 106 inode = d_inode(fh->fh_dentry); in nfsacld_proc_setacl() 257 struct dentry *dentry = resp->fh.fh_dentry; in nfsaclsvc_encode_getaclres()
|
D | nfs3xdr.c | 149 (d_inode(fhp->fh_dentry)->i_sb->s_dev)); in encode_fsid() 205 struct dentry *dentry = fhp->fh_dentry; in encode_post_op_attr() 234 struct dentry *dentry = fhp->fh_dentry; in encode_wcc_data() 263 fhp->fh_post_change = d_inode(fhp->fh_dentry)->i_version; in fill_post_wcc() 267 fhp->fh_post_attr.ctime = d_inode(fhp->fh_dentry)->i_ctime; in fill_post_wcc() 631 lease_get_mtime(d_inode(resp->fh.fh_dentry), in nfs3svc_encode_attrstat() 814 dparent = cd->fh.fh_dentry; in compose_entry_fh()
|
D | vfs.h | 130 .dentry = fh->fh_dentry}; in fh_getattr()
|
D | nfs3proc.c | 169 struct inode *inode = d_inode(resp->fh.fh_dentry); in nfsd3_proc_read() 554 struct super_block *sb = d_inode(argp->fh.fh_dentry)->i_sb; in nfsd3_proc_fsinfo() 590 struct super_block *sb = d_inode(argp->fh.fh_dentry)->i_sb; in nfsd3_proc_pathconf()
|
D | nfsxdr.c | 147 struct dentry *dentry = fhp->fh_dentry; in encode_fattr()
|
D | xdr4.h | 636 cinfo->change_supported = IS_I_VERSION(d_inode(fhp->fh_dentry)); in set_change_info()
|
D | nfs4acl.c | 770 dentry = fhp->fh_dentry; in nfsd4_set_nfs4_acl()
|
D | nfs4state.c | 3074 if (!cstate->current_fh.fh_dentry) in nfsd4_reclaim_complete() 4775 status = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfs4_check_file() 4804 struct inode *ino = d_inode(fhp->fh_dentry); in nfs4_preprocess_stateid_op() 5024 cstate->current_fh.fh_dentry); in nfsd4_open_confirm() 5092 cstate->current_fh.fh_dentry); in nfsd4_open_downgrade() 5162 cstate->current_fh.fh_dentry); in nfsd4_close() 5485 struct inode *inode = d_inode(cstate->current_fh.fh_dentry); in lookup_or_create_lock_state()
|
D | nfs4xdr.c | 2844 dentry = lookup_one_len(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr() 3106 nfserr = nfsd4_encode_fattr(xdr, fhp, fhp->fh_export, fhp->fh_dentry, in nfsd4_encode_getattr() 3369 d_inode(read->rd_fhp->fh_dentry)->i_size); in nfsd4_encode_splice_read() 3446 d_inode(read->rd_fhp->fh_dentry)->i_size); in nfsd4_encode_readv()
|