Searched refs:fh_size (Results 1 – 12 of 12) sorted by relevance
/linux-5.19.10/fs/nfsd/ |
D | nfsfh.h | 48 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()
|
D | nfsfh.c | 161 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()
|
D | lockd.c | 37 fh.fh_handle.fh_size = f->size; in nlm_fopen()
|
D | flexfilelayout.c | 63 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
|
D | nfs3xdr.c | 94 fhp->fh_handle.fh_size = size; in svcxdr_decode_nfs_fh3() 125 u32 size = fhp->fh_handle.fh_size; in svcxdr_encode_nfs_fh3()
|
D | nfsxdr.c | 68 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle()
|
D | nfs4callback.c | 119 u32 length = fh->fh_size; in encode_nfs_fh4()
|
D | nfsctl.c | 401 qword_addhex(&mesg, &len, fh.fh_raw, fh.fh_size); in write_filehandle()
|
D | nfs4proc.c | 690 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()
|
D | nfs4xdr.c | 3108 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()
|
D | nfs4state.c | 1101 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/ |
D | export.c | 39 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()
|