Home
last modified time | relevance | path

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

/linux-2.6.39/fs/nfsd/
Dnfsfh.c264 fhp->fh_export = exp; in nfsd_set_fh_dentry()
313 exp = fhp->fh_export; in fh_verify()
459 if (ref_fh && ref_fh->fh_export == exp) { in set_version_and_fsid_type()
549 fhp->fh_export = 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()
631 struct svc_export * exp = fhp->fh_export; in fh_put()
643 fhp->fh_export = NULL; in fh_put()
675 if (exp_sb(fhp->fh_export)->s_type->fs_flags & FS_REQUIRES_DEV) in fsid_source()
679 if (fhp->fh_export->ex_flags & NFSEXP_FSID) in fsid_source()
[all …]
Dvfs.c195 exp = fhp->fh_export; in nfsd_lookup_dentry()
292 if (!EX_ISSYNC(fhp->fh_export)) in commit_metadata()
379 err = nfsd_permission(rqstp, fhp->fh_export, dentry, in nfsd_setattr()
656 export = fhp->fh_export; in nfsd_access()
765 *filp = dentry_open(dget(dentry), mntget(fhp->fh_export->ex_path.mnt), in nfsd_open()
978 exp = fhp->fh_export; in nfsd_vfs_write()
1079 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_read_file()
1103 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_write()
1153 if (EX_ISSYNC(fhp->fh_export)) { in nfsd_commit()
1250 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in nfsd_create()
[all …]
Dnfsxdr.c174 *p++ = htonl((u32) fhp->fh_export->ex_fsid); in encode_fattr()
177 f = ((u32*)fhp->fh_export->ex_uuid)[0]; in encode_fattr()
178 f ^= ((u32*)fhp->fh_export->ex_uuid)[1]; in encode_fattr()
179 f ^= ((u32*)fhp->fh_export->ex_uuid)[2]; in encode_fattr()
180 f ^= ((u32*)fhp->fh_export->ex_uuid)[3]; in encode_fattr()
200 vfs_getattr(fhp->fh_export->ex_path.mnt, fhp->fh_dentry, &stat); in nfs2svc_encode_fattr()
Dnfs4proc.c145 if (src->fh_export) in fh_dup2()
146 cache_get(&src->fh_export->h); in fh_dup2()
730 if (locks_in_grace() && !(cstate->save_fh.fh_export->ex_flags in nfsd4_rename()
799 exp_get(cstate->current_fh.fh_export); in nfsd4_secinfo_no_name()
800 sin->sin_exp = cstate->current_fh.fh_export; in nfsd4_secinfo_no_name()
821 status = mnt_want_write(cstate->current_fh.fh_export->ex_path.mnt); in nfsd4_setattr()
839 mnt_drop_write(cstate->current_fh.fh_export->ex_path.mnt); in nfsd4_setattr()
924 cstate->current_fh.fh_export, in _nfsd4_verify()
1118 } else if (cstate->current_fh.fh_export->ex_fslocs.migrated && in nfsd4_proc_compound()
Dlockd.c36 fh.fh_export = NULL; in nlm_fopen()
Dnfsproc.c29 return nfserrno(vfs_getattr(resp->fh.fh_export->ex_path.mnt, in nfsd_return_attrs()
37 return nfserrno(vfs_getattr(resp->fh.fh_export->ex_path.mnt, in nfsd_return_dirop()
153 return nfserrno(vfs_getattr(resp->fh.fh_export->ex_path.mnt, in nfsd_proc_read()
224 nfserr = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create()
269 newfhp->fh_export, in nfsd_proc_create()
Dnfs3xdr.c150 p = xdr_encode_hyper(p, (u64) fhp->fh_export->ex_fsid); in encode_fsid()
153 f = ((u64*)fhp->fh_export->ex_uuid)[0]; in encode_fsid()
154 f ^= ((u64*)fhp->fh_export->ex_uuid)[1]; in encode_fsid()
208 err = vfs_getattr(fhp->fh_export->ex_path.mnt, dentry, &stat); in encode_post_op_attr()
260 err = vfs_getattr(fhp->fh_export->ex_path.mnt, fhp->fh_dentry, in fill_post_wcc()
815 exp = cd->fh.fh_export; in compose_entry_fh()
Dnfs3proc.c58 err = vfs_getattr(resp->fh.fh_export->ex_path.mnt, in nfsd3_proc_getattr()
Dnfs4xdr.c1644 rootpath = tmp_fh.fh_export->ex_pathname; in nfsd4_path()
2232 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr()
2465 nfserr = nfsd4_encode_fattr(fhp, fhp->fh_export, fhp->fh_dentry, in nfsd4_encode_getattr()
/linux-2.6.39/include/linux/nfsd/
Dnfsfh.h139 struct svc_export * fh_export; /* export pointer */ member