Home
last modified time | relevance | path

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

/linux/fs/nfsd/
A Dnfsfh.h48 unsigned int fh_size; /* member
237 dst->fh_size = src->fh_size; in fh_copy_shallow()
238 memcpy(&dst->fh_raw, &src->fh_raw, src->fh_size); in fh_copy_shallow()
251 if (fh1->fh_size != fh2->fh_size) in fh_match()
253 if (memcmp(fh1->fh_raw, fh2->fh_raw, fh1->fh_size) != 0) in fh_match()
277 return ~crc32_le(0xFFFFFFFF, fh->fh_raw, fh->fh_size); in knfsd_fh_hash()
A 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()
645 if (fh->fh_size < 0 || fh->fh_size> 64) in SVCFH_fmt()
647 sprintf(buf, "%d: %*ph", fh->fh_size, fh->fh_size, fh->fh_raw); in SVCFH_fmt()
A Dlockd.c37 fh.fh_handle.fh_size = f->size; in nlm_fopen()
A Dflexfilelayout.c63 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
A 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()
A Dnfsxdr.c68 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle()
A Dnfs4callback.c119 u32 length = fh->fh_size; in encode_nfs_fh4()
A Dnfsctl.c401 qword_addhex(&mesg, &len, fh.fh_raw, fh.fh_size); in write_filehandle()
A Dnfs4proc.c521 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh()
1384 copy->c_fh.size = s_fh->fh_handle.fh_size; in nfsd4_setup_inter_ssc()
A Dnfs4xdr.c3107 p = xdr_reserve_space(xdr, fhp->fh_handle.fh_size + 4); in nfsd4_encode_fattr()
3111 fhp->fh_handle.fh_size); in nfsd4_encode_fattr()
3666 len = fhp->fh_handle.fh_size; in nfsd4_encode_getfh()
A Dnfs4state.c1013 hash = jhash(&fh->fh_raw, fh->fh_size, 0); in delegation_blocked()
1032 hash = jhash(&fh->fh_raw, fh->fh_size, 0); in block_delegations()
/linux/fs/nfs/
A 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()

Completed in 46 milliseconds