Home
last modified time | relevance | path

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

/linux-4.1.27/fs/nfsd/
Dnfsfh.c269 fhp->fh_export = exp; in nfsd_set_fh_dentry()
318 exp = fhp->fh_export; in fh_verify()
463 if (ref_fh && ref_fh->fh_export == exp) { in set_version_and_fsid_type()
551 fhp->fh_export = exp_get(exp); in fh_compose()
603 _fh_update_old(dentry, fhp->fh_export, &fhp->fh_handle); in fh_update()
608 _fh_update(fhp, fhp->fh_export, dentry); in fh_update()
629 struct svc_export * exp = fhp->fh_export; in fh_put()
642 fhp->fh_export = NULL; in fh_put()
674 if (exp_sb(fhp->fh_export)->s_type->fs_flags & FS_REQUIRES_DEV) in fsid_source()
678 if (fhp->fh_export->ex_flags & NFSEXP_FSID) in fsid_source()
[all …]
Dvfs.h109 int ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write()
120 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write()
126 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
Dvfs.c193 exp = exp_get(fhp->fh_export); in nfsd_lookup_dentry()
290 if (!EX_ISSYNC(fhp->fh_export)) in commit_metadata()
373 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_get_write_access()
547 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, NFSD_MAY_WRITE); in nfsd4_vfs_fallocate()
615 export = fhp->fh_export; in nfsd_access()
707 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_open()
974 exp = fhp->fh_export; in nfsd_vfs_write()
1082 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_write()
1132 if (EX_ISSYNC(fhp->fh_export)) { in nfsd_commit()
1234 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in nfsd_create()
[all …]
Dnfs4layouts.c61 if (fhp->fh_export->ex_devid_map) in nfsd4_alloc_devid_map()
72 fhp->fh_export->ex_devid_map = old; in nfsd4_alloc_devid_map()
79 fhp->fh_export->ex_devid_map = map; in nfsd4_alloc_devid_map()
105 if (!fhp->fh_export->ex_devid_map) { in nfsd4_set_deviceid()
107 if (!fhp->fh_export->ex_devid_map) in nfsd4_set_deviceid()
111 id->fsid_idx = fhp->fh_export->ex_devid_map->idx; in nfsd4_set_deviceid()
Dnfsxdr.c177 *p++ = htonl((u32) fhp->fh_export->ex_fsid); in encode_fattr()
180 f = ((u32*)fhp->fh_export->ex_uuid)[0]; in encode_fattr()
181 f ^= ((u32*)fhp->fh_export->ex_uuid)[1]; in encode_fattr()
182 f ^= ((u32*)fhp->fh_export->ex_uuid)[2]; in encode_fattr()
183 f ^= ((u32*)fhp->fh_export->ex_uuid)[3]; in encode_fattr()
Dlockd.c36 fh.fh_export = NULL; in nlm_fopen()
Dnfs4proc.c182 if (src->fh_export) in fh_dup2()
183 exp_get(src->fh_export); in fh_dup2()
854 !(cstate->save_fh.fh_export->ex_flags & NFSEXP_NOSUBTREECHECK)) in nfsd4_rename()
915 sin->sin_exp = exp_get(cstate->current_fh.fh_export); in nfsd4_secinfo_no_name()
1142 cstate->current_fh.fh_export, in _nfsd4_verify()
1280 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type); in nfsd4_layoutget()
1347 ops = nfsd4_layout_verify(current_fh->fh_export, lcp->lc_layout_type); in nfsd4_layoutcommit()
1407 if (!nfsd4_layout_verify(current_fh->fh_export, lrp->lr_layout_type)) in nfsd4_layoutreturn()
1673 } else if (current_fh->fh_export->ex_fslocs.migrated && in nfsd4_proc_compound()
1712 op->status = check_nfsd_access(current_fh->fh_export, rqstp); in nfsd4_proc_compound()
Dnfsfh.h30 struct svc_export * fh_export; /* export pointer */ member
Dnfs3xdr.c152 p = xdr_encode_hyper(p, (u64) fhp->fh_export->ex_fsid); in encode_fsid()
155 f = ((u64*)fhp->fh_export->ex_uuid)[0]; in encode_fsid()
156 f ^= ((u64*)fhp->fh_export->ex_uuid)[1]; in encode_fsid()
815 exp = cd->fh.fh_export; in compose_entry_fh()
Dnfsproc.c225 nfserr = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
270 newfhp->fh_export, in nfsd_proc_create()
Dnfs3proc.c474 if (resp->fh.fh_export->ex_flags & NFSEXP_NOREADDIRPLUS) in nfsd3_proc_readdirplus()
Dnfs4xdr.c2823 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr()
3091 nfserr = nfsd4_encode_fattr(xdr, fhp, fhp->fh_export, fhp->fh_dentry, in nfsd4_encode_getattr()
3471 err = nfsd_permission(resp->rqstp, fhp->fh_export, in nfsd4_encode_read()
Dnfs4state.c3754 (cstate->current_fh.fh_export->ex_flags & NFSEXP_PNFS)) { in nfsd4_process_open1()