Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nfsd/
Dnfsfh.h184 dst->fh_size = src->fh_size; in fh_copy_shallow()
185 memcpy(&dst->fh_base, &src->fh_base, src->fh_size); in fh_copy_shallow()
198 if (fh1->fh_size != fh2->fh_size) in fh_match()
200 if (memcmp(fh1->fh_base.fh_pad, fh2->fh_base.fh_pad, fh1->fh_size) != 0) in fh_match()
226 return ~crc32_le(0xFFFFFFFF, (unsigned char *)&fh->fh_base, fh->fh_size); in knfsd_fh_hash()
Dnfsfh.c160 int data_left = fh->fh_size/4; in nfsd_set_fh_dentry()
166 if (rqstp->rq_vers == 4 && fh->fh_size == 0) in nfsd_set_fh_dentry()
203 if (fh->fh_size != NFS_FHSIZE) 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()
580 fhp->fh_handle.fh_size = NFS_FHSIZE; in fh_compose()
590 fhp->fh_handle.fh_size = in fh_compose()
677 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.c59 fhp->fh_handle.fh_size = size; in decode_fh()
72 unsigned int size = fhp->fh_handle.fh_size; in encode_fh()
Dnfsxdr.c33 fhp->fh_handle.fh_size = NFS_FHSIZE; in decode_fh()
Dnfs4callback.c119 u32 length = fh->fh_size; in encode_nfs_fh4()
Dnfsctl.c400 qword_addhex(&mesg, &len, (char*)&fh.fh_base, fh.fh_size); in write_filehandle()
Dnfs4proc.c511 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh()
1286 copy->c_fh.size = s_fh->fh_handle.fh_size; in nfsd4_setup_inter_ssc()
Dnfs4xdr.c2983 p = xdr_reserve_space(xdr, fhp->fh_handle.fh_size + 4); in nfsd4_encode_fattr()
2987 fhp->fh_handle.fh_size); in nfsd4_encode_fattr()
3552 len = fhp->fh_handle.fh_size; in nfsd4_encode_getfh()
Dnfs4state.c547 return jhash2(fh->fh_base.fh_pad, XDR_QUADLEN(fh->fh_size), 0); in nfsd_fh_hashval()
895 hash = jhash(&fh->fh_base, fh->fh_size, 0); in delegation_blocked()
914 hash = jhash(&fh->fh_base, fh->fh_size, 0); in block_delegations()
/kernel/linux/linux-5.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()
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()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/nfsd/
Dnfsfh.h43 unsigned int fh_size; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/nfsd/
Dnfsfh.h30 unsigned int fh_size; member
/kernel/linux/linux-5.10/include/uapi/linux/nfsd/
Dnfsfh.h77 unsigned int fh_size; /* significant for NFSv3. member