Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfsd/
Dnfsfh.h48 unsigned int fh_size; /* member
234 dst->fh_size = src->fh_size; in fh_copy_shallow()
235 memcpy(&dst->fh_raw, &src->fh_raw, src->fh_size); in fh_copy_shallow()
248 if (fh1->fh_size != fh2->fh_size) in fh_match()
250 if (memcmp(fh1->fh_raw, fh2->fh_raw, fh1->fh_size) != 0) in fh_match()
274 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()
415 (fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1); in _fh_update()
416 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update()
421 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update()
558 fhp->fh_handle.fh_size = in fh_compose()
718 if (fh->fh_size < 0 || fh->fh_size> 64) in SVCFH_fmt()
720 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.c380 qword_addhex(&mesg, &len, fh.fh_raw, fh.fh_size); in write_filehandle()
Dnfs4proc.c648 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh()
1509 copy->c_fh.size = s_fh->fh_handle.fh_size; in nfsd4_setup_inter_ssc()
Dnfs4xdr.c3153 p = xdr_reserve_space(xdr, fhp->fh_handle.fh_size + 4); in nfsd4_encode_fattr()
3157 fhp->fh_handle.fh_size); in nfsd4_encode_fattr()
3728 len = fhp->fh_handle.fh_size; in nfsd4_encode_getfh()
Dnfs4state.c1129 hash = jhash(&fh->fh_raw, fh->fh_size, 0); in delegation_blocked()
1148 hash = jhash(&fh->fh_raw, fh->fh_size, 0); in block_delegations()
/linux-6.1.9/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()