Searched refs:fh_size (Results 1 – 12 of 12) sorted by relevance
| /linux/fs/nfsd/ |
| H A D | nfsfh.h | 50 unsigned int fh_size; /* member 245 dst->fh_size = src->fh_size; in fh_copy_shallow() 246 memcpy(&dst->fh_raw, &src->fh_raw, src->fh_size); in fh_copy_shallow() 260 if (fh1->fh_size != fh2->fh_size) in fh_match() 262 if (memcmp(fh1->fh_raw, fh2->fh_raw, fh1->fh_size) != 0) in fh_match() 324 return ~crc32_le(0xFFFFFFFF, fh->fh_raw, fh->fh_size); in knfsd_fh_hash()
|
| H A D | nfsfh.c | 155 if (fh->fh_size + sizeof(hash) > fh_maxsize) in fh_append_mac() 158 hash = cpu_to_le64(siphash(&fh->fh_raw, fh->fh_size, fh_key)); in fh_append_mac() 159 memcpy(&fh->fh_raw[fh->fh_size], &hash, sizeof(hash)); in fh_append_mac() 160 fh->fh_size += sizeof(hash); in fh_append_mac() 169 fh->fh_size + sizeof(hash), fh_maxsize); in fh_append_mac() 189 hash = cpu_to_le64(siphash(&fh->fh_raw, fh->fh_size - sizeof(hash), fh_key)); in fh_verify_mac() 190 return crypto_memneq(&fh->fh_raw[fh->fh_size - sizeof(hash)], in fh_verify_mac() 210 int data_left = fh->fh_size/4; in nfsd_set_fh_dentry() 215 if (fh->fh_size == 0) in nfsd_set_fh_dentry() 556 (fh_fsid(&fhp->fh_handle) + fhp->fh_handle.fh_size/4 - 1); in _fh_update() [all …]
|
| H A D | lockd.c | 38 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 | 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()
|
| H A D | nfsxdr.c | 80 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle()
|
| H A D | nfs4callback.c | 147 u32 length = fh->fh_size; in encode_nfs_fh4() 929 args.cna_fh.len = dp->dl_stid.sc_file->fi_fhandle.fh_size; in nfs4_xdr_enc_cb_notify()
|
| H A D | nfs4xdr.c | 2739 return nfsd4_encode_opaque(xdr, fh_handle->fh_raw, fh_handle->fh_size); in nfsd4_encode_nfs_fh4() 4243 fhp->fh_size = 4 + fsid_len; in setup_notify_fhandle() 4246 memcpy(&fhp->fh_raw, &fi->fi_fhandle.fh_raw, fhp->fh_size); in setup_notify_fhandle() 4249 maxsize = (NFS4_FHSIZE - fhp->fh_size)/4; in setup_notify_fhandle() 4268 fhp->fh_size += maxsize * 4; in setup_notify_fhandle()
|
| H A D | nfs4proc.c | 732 cstate->current_fh.fh_handle.fh_size = putfh->pf_fhlen; in nfsd4_putfh() 1867 copy->c_fh.size = s_fh->fh_handle.fh_size; in nfsd4_setup_inter_ssc()
|
| H A D | nfsctl.c | 388 qword_addhex(&mesg, &len, fh.fh_raw, fh.fh_size); in write_filehandle()
|
| H A D | nfs4state.c | 1216 hash = jhash(&fh->fh_raw, fh->fh_size, 0); in delegation_blocked() 1235 hash = jhash(&fh->fh_raw, fh->fh_size, 0); in block_delegations()
|