Searched refs:fh_export (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/fs/nfsd/ |
D | nfsfh.c | 279 fhp->fh_export = exp; in nfsd_set_fh_dentry() 340 exp = fhp->fh_export; in fh_verify() 468 if (ref_fh && ref_fh->fh_export == exp) { in set_version_and_fsid_type() 556 fhp->fh_export = exp_get(exp); in fh_compose() 596 _fh_update(fhp, fhp->fh_export, dentry); in fh_update() 695 struct svc_export * exp = fhp->fh_export; in fh_put() 704 fhp->fh_export = NULL; in fh_put() 732 if (exp_sb(fhp->fh_export)->s_type->fs_flags & FS_REQUIRES_DEV) in fsid_source() 736 if (fhp->fh_export->ex_flags & NFSEXP_FSID) in fsid_source() 745 if (fhp->fh_export->ex_flags & NFSEXP_FSID) in fsid_source() [all …]
|
D | vfs.h | 156 ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write() 166 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write() 172 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
|
D | vfs.c | 185 exp = exp_get(fhp->fh_export); in nfsd_lookup_dentry() 291 if (!EX_ISSYNC(fhp->fh_export)) in commit_metadata() 338 err = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfsd_get_write_access() 688 export = fhp->fh_export; in nfsd_access() 760 path.mnt = fhp->fh_export->ex_path.mnt; in __nfsd_open() 906 nfsd_stats_io_read_add(fhp->fh_export, host_err); in nfsd_finish_read() 1027 exp = fhp->fh_export; in nfsd_vfs_write() 1177 if (EX_ISSYNC(fhp->fh_export)) { in nfsd_commit() 1289 err = nfsd_permission(rqstp, fhp->fh_export, dentry, NFSD_MAY_CREATE); in nfsd_create_locked() 1394 err = fh_compose(resfhp, fhp->fh_export, dchild, fhp); in nfsd_create() [all …]
|
D | nfsxdr.c | 247 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()
|
D | nfs4layouts.c | 71 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()
|
D | lockd.c | 39 fh.fh_export = NULL; in nlm_fopen()
|
D | nfs4proc.c | 86 struct svc_export *exp = cstate->current_fh.fh_export; in check_attr_support() 136 if (src->fh_export) in fh_dup2() 137 exp_get(src->fh_export); in fh_dup2() 213 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd4_vfs_create() 278 status = fh_compose(resfhp, fhp->fh_export, child, fhp); in nfsd4_create_file() 1084 u->secinfo_no_name.sin_exp = exp_get(cstate->current_fh.fh_export); in nfsd4_secinfo_no_name() 1250 EX_ISSYNC(cstate->current_fh.fh_export)); in nfsd4_clone() 2082 cstate->current_fh.fh_export, in _nfsd4_verify() 2229 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type); in nfsd4_layoutget() 2303 ops = nfsd4_layout_verify(current_fh->fh_export, lcp->lc_layout_type); in nfsd4_layoutcommit() [all …]
|
D | nfsfh.h | 82 struct svc_export * fh_export; /* export pointer */ member
|
D | nfs3xdr.c | 368 fsid = (u64)fhp->fh_export->ex_fsid; in svcxdr_encode_fattr3() 371 fsid = ((u64 *)fhp->fh_export->ex_uuid)[0]; in svcxdr_encode_fattr3() 372 fsid ^= ((u64 *)fhp->fh_export->ex_uuid)[1]; in svcxdr_encode_fattr3() 988 exp = cd->fh.fh_export; in compose_entry_fh()
|
D | nfsproc.c | 302 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create() 347 newfhp->fh_export, in nfsd_proc_create()
|
D | nfs3proc.c | 278 status = fh_compose(resfhp, fhp->fh_export, child, fhp); in nfsd3_create_file() 640 if (resp->fh.fh_export->ex_flags & NFSEXP_NOREADDIRPLUS) { in nfsd3_proc_readdirplus()
|
D | nfs4xdr.c | 3459 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr() 3581 if (cd->rd_fhp->fh_export->ex_flags & NFSEXP_V4ROOT) in nfsd4_encode_dirent() 3716 return nfsd4_encode_fattr(xdr, fhp, fhp->fh_export, fhp->fh_dentry, in nfsd4_encode_getattr()
|
D | nfs4state.c | 5057 (cstate->current_fh.fh_export->ex_flags & NFSEXP_PNFS)) { in nfsd4_process_open1() 6360 status = nfsd_permission(rqstp, fhp->fh_export, fhp->fh_dentry, in nfs4_check_file()
|