Home
last modified time | relevance | path

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

/fs/nfsd/
Dnfsfh.c293 fhp->fh_export = exp; in nfsd_set_fh_dentry()
342 exp = fhp->fh_export; in fh_verify()
487 if (ref_fh && ref_fh->fh_export == exp) { in set_version_and_fsid_type()
575 fhp->fh_export = exp_get(exp); in fh_compose()
627 _fh_update_old(dentry, fhp->fh_export, &fhp->fh_handle); in fh_update()
632 _fh_update(fhp, fhp->fh_export, dentry); in fh_update()
653 struct svc_export * exp = fhp->fh_export; in fh_put()
663 fhp->fh_export = NULL; in fh_put()
695 if (exp_sb(fhp->fh_export)->s_type->fs_flags & FS_REQUIRES_DEV) in fsid_source()
699 if (fhp->fh_export->ex_flags & NFSEXP_FSID) in fsid_source()
[all …]
Dvfs.c185 exp = exp_get(fhp->fh_export); in nfsd_lookup_dentry()
297 if (!EX_ISSYNC(fhp->fh_export)) in commit_metadata()
341 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_get_write_access()
677 export = fhp->fh_export; in nfsd_access()
750 path.mnt = fhp->fh_export->ex_path.mnt; in __nfsd_open()
1011 exp = fhp->fh_export; in nfsd_vfs_write()
1158 if (EX_ISSYNC(fhp->fh_export)) { in nfsd_commit()
1248 err = nfsd_permission(rqstp, fhp->fh_export, dentry, NFSD_MAY_CREATE); in nfsd_create_locked()
1364 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in nfsd_create()
1429 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in do_nfsd_create()
[all …]
Dvfs.h141 ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write()
151 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write()
157 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
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()
Dnfsxdr.c163 *p++ = htonl((u32) fhp->fh_export->ex_fsid); in encode_fattr()
166 f = ((u32*)fhp->fh_export->ex_uuid)[0]; in encode_fattr()
167 f ^= ((u32*)fhp->fh_export->ex_uuid)[1]; in encode_fattr()
168 f ^= ((u32*)fhp->fh_export->ex_uuid)[2]; in encode_fattr()
169 f ^= ((u32*)fhp->fh_export->ex_uuid)[3]; in encode_fattr()
Dlockd.c37 fh.fh_export = NULL; in nlm_fopen()
Dnfs4proc.c102 struct svc_export *exp = cstate->current_fh.fh_export; in check_attr_support()
172 if (src->fh_export) in fh_dup2()
173 exp_get(src->fh_export); in fh_dup2()
937 u->secinfo_no_name.sin_exp = exp_get(cstate->current_fh.fh_export); in nfsd4_secinfo_no_name()
1100 EX_ISSYNC(cstate->current_fh.fh_export)); in nfsd4_clone()
1778 cstate->current_fh.fh_export, in _nfsd4_verify()
1925 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type); in nfsd4_layoutget()
1999 ops = nfsd4_layout_verify(current_fh->fh_export, lcp->lc_layout_type); in nfsd4_layoutcommit()
2058 if (!nfsd4_layout_verify(current_fh->fh_export, lrp->lr_layout_type)) in nfsd4_layoutreturn()
2386 } else if (current_fh->fh_export && in nfsd4_proc_compound()
[all …]
Dnfs3xdr.c154 p = xdr_encode_hyper(p, (u64) fhp->fh_export->ex_fsid); in encode_fsid()
157 f = ((u64*)fhp->fh_export->ex_uuid)[0]; in encode_fsid()
158 f ^= ((u64*)fhp->fh_export->ex_uuid)[1]; in encode_fsid()
861 exp = cd->fh.fh_export; in compose_entry_fh()
Dnfsfh.h34 struct svc_export * fh_export; /* export pointer */ member
Dnfsproc.c294 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
339 newfhp->fh_export, in nfsd_proc_create()
Dnfs3proc.c523 if (resp->fh.fh_export->ex_flags & NFSEXP_NOREADDIRPLUS) { in nfsd3_proc_readdirplus()
Dnfs4xdr.c3294 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr()
3416 if (cd->rd_fhp->fh_export->ex_flags & NFSEXP_V4ROOT) in nfsd4_encode_dirent()
3551 return nfsd4_encode_fattr(xdr, fhp, fhp->fh_export, fhp->fh_dentry, in nfsd4_encode_getattr()
Dnfs4state.c4767 (cstate->current_fh.fh_export->ex_flags & NFSEXP_PNFS)) { in nfsd4_process_open1()
5773 status = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()