Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nfsd/
Dnfsfh.h181 dst->fh_size = src->fh_size; in fh_copy_shallow()
182 memcpy(&dst->fh_base, &src->fh_base, src->fh_size); in fh_copy_shallow()
195 if (fh1->fh_size != fh2->fh_size) in fh_match()
197 if (memcmp(fh1->fh_base.fh_pad, fh2->fh_base.fh_pad, fh1->fh_size) != 0) in fh_match()
223 return ~crc32_le(0xFFFFFFFF, (unsigned char *)&fh->fh_base, fh->fh_size); in knfsd_fh_hash()
Dnfsfh.c159 int data_left = fh->fh_size/4; in nfsd_set_fh_dentry()
165 if (rqstp->rq_vers == 4 && fh->fh_size == 0) in nfsd_set_fh_dentry()
202 if (fh->fh_size != NFS_FHSIZE) in nfsd_set_fh_dentry()
413 (fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1); in _fh_update()
414 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update()
419 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update()
573 fhp->fh_handle.fh_size = NFS_FHSIZE; in fh_compose()
583 fhp->fh_handle.fh_size = in fh_compose()
670 fh->fh_size, in SVCFH_fmt()
Dlockd.c35 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.c58 fhp->fh_handle.fh_size = size; in decode_fh()
71 unsigned int size = fhp->fh_handle.fh_size; in encode_fh()
Dnfsxdr.c33 fhp->fh_handle.fh_size = NFS_FHSIZE; in decode_fh()
Dnfs4callback.c126 u32 length = fh->fh_size; in encode_nfs_fh4()
Dnfsctl.c396 qword_addhex(&mesg, &len, (char*)&fh.fh_base, fh.fh_size); in write_filehandle()
Dnfs4xdr.c2680 p = xdr_reserve_space(xdr, fhp->fh_handle.fh_size + 4); in nfsd4_encode_fattr()
2684 fhp->fh_handle.fh_size); in nfsd4_encode_fattr()
3252 len = fhp->fh_handle.fh_size; in nfsd4_encode_getfh()
Dnfs4state.c513 return jhash2(fh->fh_base.fh_pad, XDR_QUADLEN(fh->fh_size), 0); in nfsd_fh_hashval()
782 hash = jhash(&fh->fh_base, fh->fh_size, 0); in delegation_blocked()
801 hash = jhash(&fh->fh_base, fh->fh_size, 0); in block_delegations()
Dnfs4proc.c506 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh()
/linux-4.19.296/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()
70 size_t fh_size = offsetof(struct nfs_fh, data) + server_fh->size; in nfs_fh_to_dentry() local
74 int len = EMBED_FH_OFF + XDR_QUADLEN(fh_size); in nfs_fh_to_dentry()
/linux-4.19.296/include/uapi/linux/nfsd/
Dnfsfh.h77 unsigned int fh_size; /* significant for NFSv3. member