Searched refs:fh_size (Results 1 – 10 of 10) sorted by relevance
| /linux/fs/nfsd/ |
| H A D | nfsfh.h | 50 unsigned int fh_size; /* member 242 dst->fh_size = src->fh_size; in fh_copy_shallow() 243 memcpy(&dst->fh_raw, &src->fh_raw, src->fh_size); in fh_copy_shallow() 257 if (fh1->fh_size != fh2->fh_size) in fh_match() 259 if (memcmp(fh1->fh_raw, fh2->fh_raw, fh1->fh_size) != 0) in fh_match() 321 return ~crc32_le(0xFFFFFFFF, fh->fh_raw, fh->fh_size); in knfsd_fh_hash()
|
| H A D | nfsfh.c | 156 int data_left = fh->fh_size/4; in nfsd_set_fh_dentry() 161 if (fh->fh_size == 0) in nfsd_set_fh_dentry() 488 (fh_fsid(&fhp->fh_handle) + fhp->fh_handle.fh_size/4 - 1); in _fh_update() 489 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update() 497 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update() 634 fhp->fh_handle.fh_size = in fh_compose() 820 if (fh->fh_size > 64) in SVCFH_fmt() 822 sprintf(buf, "%d: %*ph", fh->fh_size, fh->fh_size, fh->fh_raw); in SVCFH_fmt()
|
| H A D | lockd.c | 37 fh.fh_handle.fh_size = f->size; in nlm_fopen()
|
| H A D | flexfilelayout.c | 64 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
|
| H A D | localio.c | 72 fh.fh_handle.fh_size = nfs_fh->size; in nfsd_open_local_fh()
|
| H A D | nfs4callback.c | 142 u32 length = fh->fh_size; in encode_nfs_fh4()
|
| H A D | nfs4proc.c | 683 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh() 1676 copy->c_fh.size = s_fh->fh_handle.fh_size; in nfsd4_setup_inter_ssc()
|
| H A D | nfsctl.c | 373 qword_addhex(&mesg, &len, fh.fh_raw, fh.fh_size); in write_filehandle()
|
| H A D | nfs4state.c | 1096 hash = jhash(&fh->fh_raw, fh->fh_size, 0); in delegation_blocked() 1115 hash = jhash(&fh->fh_raw, fh->fh_size, 0); in block_delegations()
|
| /linux/fs/nfs/ |
| H A 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); in nfs_fh_to_dentry() local 78 if (fh_len < len + XDR_QUADLEN(fh_size) || in nfs_fh_to_dentry() 82 fh_size += server_fh->size; in nfs_fh_to_dentry() 83 len += XDR_QUADLEN(fh_size); in nfs_fh_to_dentry()
|