Home
last modified time | relevance | path

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

/linux-5.19.10/fs/nfsd/
Dnfsfh.h48 unsigned int fh_size; /* member
235 dst->fh_size = src->fh_size; in fh_copy_shallow()
236 memcpy(&dst->fh_raw, &src->fh_raw, src->fh_size); in fh_copy_shallow()
249 if (fh1->fh_size != fh2->fh_size) in fh_match()
251 if (memcmp(fh1->fh_raw, fh2->fh_raw, fh1->fh_size) != 0) in fh_match()
275 return ~crc32_le(0xFFFFFFFF, fh->fh_raw, fh->fh_size); in knfsd_fh_hash()
Dnfsfh.c161 int data_left = fh->fh_size/4; in nfsd_set_fh_dentry()
168 if (rqstp->rq_vers == 4 && fh->fh_size == 0) in nfsd_set_fh_dentry()
420 (fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1); in _fh_update()
421 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update()
426 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update()
563 fhp->fh_handle.fh_size = in fh_compose()
705 if (fh->fh_size < 0 || fh->fh_size> 64) in SVCFH_fmt()
707 sprintf(buf, "%d: %*ph", fh->fh_size, fh->fh_size, fh->fh_raw); in SVCFH_fmt()
Dlockd.c37 fh.fh_handle.fh_size = f->size; in nlm_fopen()
Dflexfilelayout.c63 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
Dnfs3xdr.c94 fhp->fh_handle.fh_size = size; in svcxdr_decode_nfs_fh3()
125 u32 size = fhp->fh_handle.fh_size; in svcxdr_encode_nfs_fh3()
Dnfsxdr.c68 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle()
Dnfs4callback.c119 u32 length = fh->fh_size; in encode_nfs_fh4()
Dnfsctl.c401 qword_addhex(&mesg, &len, fh.fh_raw, fh.fh_size); in write_filehandle()
Dnfs4proc.c690 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh()
1558 copy->c_fh.size = s_fh->fh_handle.fh_size; in nfsd4_setup_inter_ssc()
Dnfs4xdr.c3108 p = xdr_reserve_space(xdr, fhp->fh_handle.fh_size + 4); in nfsd4_encode_fattr()
3112 fhp->fh_handle.fh_size); in nfsd4_encode_fattr()
3674 len = fhp->fh_handle.fh_size; in nfsd4_encode_getfh()
Dnfs4state.c1101 hash = jhash(&fh->fh_raw, fh->fh_size, 0); in delegation_blocked()
1120 hash = jhash(&fh->fh_raw, fh->fh_size, 0); in block_delegations()
/linux-5.19.10/fs/nfs/
Dexport.c39 size_t fh_size = offsetof(struct nfs_fh, data) + server_fh->size; in nfs_encode_fh() local
40 int len = EMBED_FH_OFF + XDR_QUADLEN(fh_size); in nfs_encode_fh()
69 size_t fh_size = offsetof(struct nfs_fh, data) + server_fh->size; in nfs_fh_to_dentry() local
73 int len = EMBED_FH_OFF + XDR_QUADLEN(fh_size); in nfs_fh_to_dentry()