Home
last modified time | relevance | path

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

/linux-6.15/fs/nfsd/
H A Dnfsfh.c151 struct knfsd_fh *fh = &fhp->fh_handle; in nfsd_set_fh_dentry()
466 (fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1); in _fh_update()
473 fhp->fh_handle.fh_fileid_type = in _fh_update()
565 fhp->fh_handle.fh_version = version; in set_version_and_fsid_type()
612 fhp->fh_handle.fh_size = in fh_compose()
614 fhp->fh_handle.fh_auth_type = 0; in fh_compose()
616 mk_fsid(fhp->fh_handle.fh_fsid_type, in fh_compose()
617 fhp->fh_handle.fh_fsid, in fh_compose()
768 struct knfsd_fh *fh = &fhp->fh_handle; in SVCFH_fmt()
779 if (fhp->fh_handle.fh_version != 1) in fsid_source()
[all …]
H A Dlockd.c37 fh.fh_handle.fh_size = f->size; in nlm_fopen()
38 memcpy(&fh.fh_handle.fh_raw, f->data, f->size); in nlm_fopen()
H A Dlocalio.c76 fh.fh_handle.fh_size = nfs_fh->size; in nfsd_open_local_fh()
77 memcpy(fh.fh_handle.fh_raw, nfs_fh->data, nfs_fh->size); in nfsd_open_local_fh()
H A Dflexfilelayout.c64 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
65 memcpy(fl->fh.data, &fhp->fh_handle.fh_raw, fl->fh.size); in nfsd4_ff_proc_layoutget()
H A Dnfsxdr.c67 memcpy(&fhp->fh_handle.fh_raw, p, NFS_FHSIZE); in svcxdr_decode_fhandle()
68 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle()
81 memcpy(p, &fhp->fh_handle.fh_raw, NFS_FHSIZE); in svcxdr_encode_fhandle()
H A Dnfs4layouts.c58 const struct knfsd_fh *fh = &fhp->fh_handle; in nfsd4_alloc_devid_map()
297 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid()
566 &cstate->current_fh.fh_handle)) in nfsd4_return_client_layouts()
H A Dnfsfh.h79 struct knfsd_fh fh_handle; /* FH data */ member
H A Dnfs3xdr.c94 fhp->fh_handle.fh_size = size; in svcxdr_decode_nfs_fh3()
95 memcpy(&fhp->fh_handle.fh_raw, p, size); in svcxdr_decode_nfs_fh3()
125 u32 size = fhp->fh_handle.fh_size; in svcxdr_encode_nfs_fh3()
134 memcpy(p, &fhp->fh_handle.fh_raw, size); in svcxdr_encode_nfs_fh3()
H A Dtrace.h235 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
275 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
304 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
428 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
469 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
501 __entry->fh_hash = fhp ? knfsd_fh_hash(&fhp->fh_handle) : 0;
530 __entry->src_fh_hash = knfsd_fh_hash(&src_fhp->fh_handle);
532 __entry->dst_fh_hash = knfsd_fh_hash(&dst_fhp->fh_handle);
H A Dnfs4proc.c187 &resfh->fh_handle); in nfsd4_set_open_owner_reply_cache()
568 fh_copy_shallow(&cstate->current_fh.fh_handle, in nfsd4_open()
685 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh()
686 memcpy(&cstate->current_fh.fh_handle.fh_raw, putfh->pf_fhval, in nfsd4_putfh()
1624 copy->c_fh.size = s_fh->fh_handle.fh_size; in nfsd4_setup_inter_ssc()
1625 memcpy(copy->c_fh.data, &s_fh->fh_handle.fh_raw, copy->c_fh.size); in nfsd4_setup_inter_ssc()
1942 memcpy(&copy->fh, &cstate->current_fh.fh_handle, in nfsd4_copy()
H A Dnfs4xdr.c2578 struct knfsd_fh *fh_handle) in nfsd4_encode_nfs_fh4() argument
2580 return nfsd4_encode_opaque(xdr, fh_handle->fh_raw, fh_handle->fh_size); in nfsd4_encode_nfs_fh4()
3146 return nfsd4_encode_nfs_fh4(xdr, &args->fhp->fh_handle); in nfsd4_encode_fattr4_filehandle()
4110 return nfsd4_encode_nfs_fh4(xdr, &fhp->fh_handle); in nfsd4_encode_getfh()
H A Dexport.c1060 memcpy(f, &fh.fh_handle, sizeof(struct knfsd_fh)); in exp_rootfh()
H A Dnfs4state.c4747 fh_copy_shallow(&fp->fi_fhandle, &fh->fh_handle); in nfsd4_file_init()
5228 if (fh_match(&fi->fi_fhandle, &fhp->fh_handle)) { in nfsd4_file_hash_lookup()
5263 if (fh_match(&fi->fi_fhandle, &fhp->fh_handle)) { in nfsd4_file_hash_insert()
6929 if (!fh_match(&fhp->fh_handle, &stp->sc_file->fi_fhandle)) in nfs4_check_fh()