Searched refs:fh_export (Results 1 – 12 of 12) sorted by relevance
| /linux/fs/nfsd/ |
| H A D | nfsfh.c | 362 fhp->fh_export = exp; in nfsd_set_fh_dentry() 403 exp = fhp->fh_export; in __fh_verify() 617 if (ref_fh && ref_fh->fh_export == exp) { in set_version_and_fsid_type() 705 fhp->fh_export = exp_get(exp); in fh_compose() 745 _fh_update(fhp, fhp->fh_export, dentry); in fh_update() 769 .mnt = fhp->fh_export->ex_path.mnt, in fh_getattr() 870 struct svc_export * exp = fhp->fh_export; in fh_put() 879 fhp->fh_export = NULL; in fh_put() 930 return fsid_source_fh(&fhp->fh_handle, fhp->fh_export); in fsid_source()
|
| H A D | nfsfh.h | 85 struct svc_export * fh_export; /* export pointer */ member 297 ret = mnt_want_write(fhp->fh_export->ex_path.mnt); in fh_want_write() 311 mnt_drop_write(fhp->fh_export->ex_path.mnt); in fh_drop_write()
|
| H A D | nfsxdr.c | 261 fsid = (u32)fhp->fh_export->ex_fsid; in svcxdr_encode_fattr() 264 fsid = ((u32 *)fhp->fh_export->ex_uuid)[0]; in svcxdr_encode_fattr() 265 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[1]; in svcxdr_encode_fattr() 266 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[2]; in svcxdr_encode_fattr() 267 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[3]; in svcxdr_encode_fattr()
|
| H A D | vfs.c | 257 exp = exp_get(fhp->fh_export); in nfsd_lookup_dentry() 382 if (!EX_ISSYNC(fhp->fh_export)) in commit_metadata() 431 return nfsd_permission(&rqstp->rq_cred, fhp->fh_export, fhp->fh_dentry, in nfsd_may_truncate() 843 export = fhp->fh_export; in nfsd_access() 914 path.mnt = fhp->fh_export->ex_path.mnt; in __nfsd_open() 1062 nfsd_stats_io_read_add(nn, fhp->fh_export, host_err); in nfsd_finish_read() 1473 exp = fhp->fh_export; in nfsd_vfs_write() 1699 if (EX_ISSYNC(fhp->fh_export)) { in nfsd_commit() 1813 err = nfsd_permission(&rqstp->rq_cred, fhp->fh_export, dentry, in nfsd_create_locked() 1907 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in nfsd_create() [all …]
|
| H A D | nfs4layouts.c | 73 if (fhp->fh_export->ex_devid_map) in nfsd4_alloc_devid_map() 84 fhp->fh_export->ex_devid_map = old; in nfsd4_alloc_devid_map() 91 fhp->fh_export->ex_devid_map = map; in nfsd4_alloc_devid_map() 117 if (!fhp->fh_export->ex_devid_map) { in nfsd4_set_deviceid() 119 if (!fhp->fh_export->ex_devid_map) in nfsd4_set_deviceid() 123 id->fsid_idx = fhp->fh_export->ex_devid_map->idx; in nfsd4_set_deviceid()
|
| H A D | lockd.c | 40 fh.fh_export = NULL; in nlm_fopen()
|
| H A D | nfs4proc.c | 89 struct svc_export *exp = cstate->current_fh.fh_export; in check_attr_support() 147 if (src->fh_export) in fh_dup2() 148 exp_get(src->fh_export); in fh_dup2() 228 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd4_vfs_create() 335 status = fh_compose(resfhp, fhp->fh_export, child, fhp); in nfsd4_create_file() 389 status = fh_compose(resfhp, fhp->fh_export, child, fhp); in nfsd4_create_file() 1195 u->secinfo_no_name.sin_exp = exp_get(cstate->current_fh.fh_export); in nfsd4_secinfo_no_name() 1443 EX_ISSYNC(cstate->current_fh.fh_export)); in nfsd4_clone() 2594 cstate->current_fh.fh_export, in _nfsd4_verify() 2808 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type); in nfsd4_layoutget() [all …]
|
| H A D | nfs3xdr.c | 365 fsid = (u64)fhp->fh_export->ex_fsid; in svcxdr_encode_fattr3() 368 fsid = ((u64 *)fhp->fh_export->ex_uuid)[0]; in svcxdr_encode_fattr3() 369 fsid ^= ((u64 *)fhp->fh_export->ex_uuid)[1]; in svcxdr_encode_fattr3() 988 exp = cd->fh.fh_export; in compose_entry_fh()
|
| H A D | nfsproc.c | 323 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create() 368 newfhp->fh_export, in nfsd_proc_create()
|
| H A D | nfs3proc.c | 323 status = fh_compose(resfhp, fhp->fh_export, child, fhp); in nfsd3_create_file() 659 if (resp->fh.fh_export->ex_flags & NFSEXP_NOREADDIRPLUS) { in nfsd3_proc_readdirplus()
|
| H A D | nfs4state.c | 6321 (cstate->current_fh.fh_export->ex_flags & NFSEXP_PNFS)) { in nfsd4_process_open1() 6894 path.mnt = currentfh->fh_export->ex_path.mnt; in nfs4_delegation_stat() 7143 exp_get(current_fh->fh_export); in nfsd4_process_open2() 8038 fhp->fh_export, fhp->fh_dentry, in nfs4_check_file() 10297 if (cstate->current_fh.fh_export) in nfsd_get_dir_deleg() 10299 exp_get(cstate->current_fh.fh_export); in nfsd_get_dir_deleg()
|
| H A D | nfs4xdr.c | 4556 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_entry4_fattr() 4682 if (cd->rd_fhp->fh_export->ex_flags & NFSEXP_V4ROOT) in nfsd4_encode_entry4() 4854 return nfsd4_encode_fattr4(resp->rqstp, xdr, fhp, fhp->fh_export, in nfsd4_encode_getattr()
|