Home
last modified time | relevance | path

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

/Linux-v5.15/fs/nfsd/
Dnfsfh.c156 struct knfsd_fh *fh = &fhp->fh_handle; in nfsd_set_fh_dentry()
443 (fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1); in _fh_update()
444 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update()
447 fhp->fh_handle.fh_fileid_type = in _fh_update()
449 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update()
451 fhp->fh_handle.fh_fileid_type = FILEID_ROOT; in _fh_update()
511 version = ref_fh->fh_handle.fh_version; in set_version_and_fsid_type()
512 fsid_type = ref_fh->fh_handle.fh_fsid_type; in set_version_and_fsid_type()
553 fhp->fh_handle.fh_version = version; in set_version_and_fsid_type()
555 fhp->fh_handle.fh_fsid_type = fsid_type; in set_version_and_fsid_type()
[all …]
Dlockd.c37 fh.fh_handle.fh_size = f->size; in nlm_fopen()
38 memcpy((char*)&fh.fh_handle.fh_base, f->data, f->size); in nlm_fopen()
Dflexfilelayout.c63 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
64 memcpy(fl->fh.data, &fhp->fh_handle.fh_base, fl->fh.size); in nfsd4_ff_proc_layoutget()
Dnfsxdr.c67 memcpy(&fhp->fh_handle.fh_base, 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_base, NFS_FHSIZE); in svcxdr_encode_fhandle()
Dnfs4layouts.c58 const struct knfsd_fh *fh = &fhp->fh_handle; in nfsd4_alloc_devid_map()
282 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid()
550 &cstate->current_fh.fh_handle)) in nfsd4_return_client_layouts()
Dnfs3xdr.c94 fhp->fh_handle.fh_size = size; in svcxdr_decode_nfs_fh3()
95 memcpy(&fhp->fh_handle.fh_base, 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_base, size); in svcxdr_encode_nfs_fh3()
Dtrace.h210 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
333 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
374 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
406 __entry->fh_hash = fhp ? knfsd_fh_hash(&fhp->fh_handle) : 0;
Dnfsfh.h32 struct knfsd_fh fh_handle; /* FH data */ member
Dnfs4proc.c235 &resfh->fh_handle); in nfsd4_set_open_owner_reply_cache()
400 fh_copy_shallow(&cstate->current_fh.fh_handle, in nfsd4_open()
521 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh()
522 memcpy(&cstate->current_fh.fh_handle.fh_base, putfh->pf_fhval, in nfsd4_putfh()
1385 copy->c_fh.size = s_fh->fh_handle.fh_size; in nfsd4_setup_inter_ssc()
1386 memcpy(copy->c_fh.data, &s_fh->fh_handle.fh_base, copy->c_fh.size); in nfsd4_setup_inter_ssc()
1674 memcpy(&copy->fh, &cstate->current_fh.fh_handle, in nfsd4_copy()
Dnfs4xdr.c3110 p = xdr_reserve_space(xdr, fhp->fh_handle.fh_size + 4); in nfsd4_encode_fattr()
3113 p = xdr_encode_opaque(p, &fhp->fh_handle.fh_base, in nfsd4_encode_fattr()
3114 fhp->fh_handle.fh_size); in nfsd4_encode_fattr()
3669 len = fhp->fh_handle.fh_size; in nfsd4_encode_getfh()
3673 p = xdr_encode_opaque(p, &fhp->fh_handle.fh_base, len); in nfsd4_encode_getfh()
Dnfs4state.c1056 if (delegation_blocked(&current_fh->fh_handle)) in alloc_init_deleg()
4152 fh_copy_shallow(&fp->fi_fhandle, &fh->fh_handle); in nfsd4_init_file()
4504 if (fh_match(&fp->fi_fhandle, &fh->fh_handle)) { in find_file_locked()
4522 if (fh_match(&fp->fi_fhandle, &fh->fh_handle)) { in insert_file()
5709 if (!fh_match(&fhp->fh_handle, &stp->sc_file->fi_fhandle)) in nfs4_check_fh()
Dexport.c1010 memcpy(f, &fh.fh_handle, sizeof(struct knfsd_fh)); in exp_rootfh()