Home
last modified time | relevance | path

Searched refs:fh_size (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-6.6/fs/nfsd/
H A 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()
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()
276 return ~crc32_le(0xFFFFFFFF, fh->fh_raw, fh->fh_size); in knfsd_fh_hash()
H 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()
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()
424 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update()
561 fhp->fh_handle.fh_size = in fh_compose()
723 if (fh->fh_size < 0 || fh->fh_size> 64) in SVCFH_fmt()
725 sprintf(buf, "%d: %*ph", fh->fh_size, fh->fh_size, f in SVCFH_fmt()
[all...]
H A Dlockd.c37 fh.fh_handle.fh_size = f->size; in nlm_fopen()
H A Dflexfilelayout.c64 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
H 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()
H A Dnfsxdr.c68 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle()
H A Dnfs4callback.c130 u32 length = fh->fh_size; in encode_nfs_fh4()
H A Dnfsctl.c360 qword_addhex(&mesg, &len, fh.fh_raw, fh.fh_size); in write_filehandle()
H A Dnfs4xdr.c3239 p = xdr_reserve_space(xdr, fhp->fh_handle.fh_size + 4); in nfsd4_encode_fattr()
3243 fhp->fh_handle.fh_size); in nfsd4_encode_fattr()
3834 len = fhp->fh_handle.fh_size; in nfsd4_encode_getfh()
/kernel/linux/linux-5.10/fs/nfsd/
H A 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()
H A 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()
H A Dlockd.c35 fh.fh_handle.fh_size = f->size; in nlm_fopen()
H A Dflexfilelayout.c63 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
H A Dnfs3xdr.c59 fhp->fh_handle.fh_size = size; in decode_fh()
72 unsigned int size = fhp->fh_handle.fh_size; in encode_fh()
H A Dnfsxdr.c33 fhp->fh_handle.fh_size = NFS_FHSIZE; in decode_fh()
H A Dnfs4callback.c119 u32 length = fh->fh_size; in encode_nfs_fh4()
H A Dnfsctl.c400 qword_addhex(&mesg, &len, (char*)&fh.fh_base, fh.fh_size); in write_filehandle()
H A 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()
3563 len = fhp->fh_handle.fh_size; in nfsd4_encode_getfh()
H A Dnfs4proc.c511 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh()
1282 copy->c_fh.size = s_fh->fh_handle.fh_size; in nfsd4_setup_inter_ssc()
/kernel/linux/linux-5.10/fs/nfs/
H 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()
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/linux-6.6/fs/nfs/
H 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()
/kernel/linux/linux-5.10/include/uapi/linux/nfsd/
H A Dnfsfh.h77 unsigned int fh_size; /* significant for NFSv3. member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/nfsd/
H A Dnfsfh.h43 unsigned int fh_size; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/nfsd/
H A Dnfsfh.h43 unsigned int fh_size; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/nfsd/
H A Dnfsfh.h30 unsigned int fh_size; member

Completed in 34 milliseconds

12