Home
last modified time | relevance | path

Searched refs:fh_export (Results 1 – 13 of 13) sorted by relevance

/linux/fs/nfsd/
H A Dnfsfh.c142 * dentry. On success, the results are used to set fh_export and
273 fhp->fh_export = exp; in nfsd_set_fh_dentry()
335 exp = fhp->fh_export; in __fh_verify()
524 if (ref_fh && ref_fh->fh_export == exp) { in set_version_and_fsid_type()
612 fhp->fh_export = exp_get(exp); in fh_compose()
652 _fh_update(fhp, fhp->fh_export, dentry); in fh_update()
750 struct svc_export * exp = fhp->fh_export; in fh_put()
759 fhp->fh_export = NULL; in fh_put()
787 if (exp_sb(fhp->fh_export)->s_type->fs_flags & FS_REQUIRES_DEV) in fsid_source()
791 if (fhp->fh_export in fsid_source()
[all...]
H A Dvfs.h169 ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write()
179 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write()
186 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
H A Dvfs.c253 exp = exp_get(fhp->fh_export); in nfsd_lookup_dentry()
378 if (!EX_ISSYNC(fhp->fh_export)) in commit_metadata()
428 fhp->fh_export, fhp->fh_dentry, in nfsd_get_write_access()
813 export = fhp->fh_export; in nfsd_access()
884 path.mnt = fhp->fh_export->ex_path.mnt; in __nfsd_open()
1031 nfsd_stats_io_read_add(nn, fhp->fh_export, host_err); in nfsd_finish_read()
1213 exp = fhp->fh_export; in nfsd_vfs_write()
1407 if (EX_ISSYNC(fhp->fh_export)) { in nfsd_commit()
1519 err = nfsd_permission(&rqstp->rq_cred, fhp->fh_export, dentry, in nfsd_create_locked()
1615 err = fh_compose(resfhp, fhp->fh_export, dchil in nfsd_create()
[all...]
H A Dnfsxdr.c247 fsid = (u32)fhp->fh_export->ex_fsid; in svcxdr_encode_fattr()
250 fsid = ((u32 *)fhp->fh_export->ex_uuid)[0]; in svcxdr_encode_fattr()
251 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[1]; in svcxdr_encode_fattr()
252 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[2]; in svcxdr_encode_fattr()
253 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[3]; in svcxdr_encode_fattr()
H A Dnfs4layouts.c71 if (fhp->fh_export->ex_devid_map) in nfsd4_alloc_devid_map()
82 fhp->fh_export->ex_devid_map = old; in nfsd4_alloc_devid_map()
89 fhp->fh_export->ex_devid_map = map; in nfsd4_alloc_devid_map()
115 if (!fhp->fh_export->ex_devid_map) { in nfsd4_set_deviceid()
117 if (!fhp->fh_export->ex_devid_map) in nfsd4_set_deviceid()
121 id->fsid_idx = fhp->fh_export->ex_devid_map->idx; in nfsd4_set_deviceid()
H A Dlockd.c39 fh.fh_export = NULL; in nlm_fopen()
H A Dnfs4proc.c88 struct svc_export *exp = cstate->current_fh.fh_export; in check_attr_support()
138 if (src->fh_export) in fh_dup2()
139 exp_get(src->fh_export); in fh_dup2()
216 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd4_vfs_create()
283 status = fh_compose(resfhp, fhp->fh_export, child, fhp); in nfsd4_create_file()
1117 u->secinfo_no_name.sin_exp = exp_get(cstate->current_fh.fh_export); in nfsd4_secinfo_no_name()
1300 EX_ISSYNC(cstate->current_fh.fh_export)); in nfsd4_clone()
2242 cstate->current_fh.fh_export, in _nfsd4_verify()
2414 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type); in nfsd4_layoutget()
2489 ops = nfsd4_layout_verify(current_fh->fh_export, lc in nfsd4_layoutcommit()
[all...]
H A Dnfsfh.h83 struct svc_export * fh_export; /* export pointer */ member
H A Dnfs3xdr.c365 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 Dnfsproc.c317 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
363 newfhp->fh_export, in nfsd_proc_create()
H A Dnfs3proc.c300 status = fh_compose(resfhp, fhp->fh_export, child, fhp); in nfsd3_create_file()
623 if (resp->fh.fh_export->ex_flags & NFSEXP_NOREADDIRPLUS) { in nfsd3_proc_readdirplus()
H A Dnfs4xdr.c3825 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_entry4_fattr()
3943 if (cd->rd_fhp->fh_export->ex_flags & NFSEXP_V4ROOT) in nfsd4_encode_entry4()
4115 return nfsd4_encode_fattr4(resp->rqstp, xdr, fhp, fhp->fh_export, in nfsd4_encode_getattr()
H A Dnfs4state.c5602 (cstate->current_fh.fh_export->ex_flags & NFSEXP_PNFS)) { in nfsd4_process_open1()
6156 path.mnt = currentfh->fh_export->ex_path.mnt; in nfs4_delegation_stat()
7208 fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()