Searched refs:fh_raw (Results 1 – 12 of 12) sorted by relevance
| /linux/fs/nfsd/ |
| H A D | nfsfh.h | 54 u8 fh_raw[NFS4_FHSIZE]; member 57 #define fh_version fh_raw[0] 58 #define fh_auth_type fh_raw[1] 59 #define fh_fsid_type fh_raw[2] 60 #define fh_fileid_type fh_raw[3] 64 return (u32 *)&fh->fh_raw[4]; in fh_fsid() 246 memcpy(&dst->fh_raw, &src->fh_raw, src->fh_size); in fh_copy_shallow() 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 | 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() 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() 895 sprintf(buf, "%d: %*ph", fh->fh_size, fh->fh_size, fh->fh_raw); in SVCFH_fmt()
|
| H A D | lockd.c | 39 memcpy(&fh.fh_handle.fh_raw, f->data, f->size); in nlm_fopen()
|
| H A D | flexfilelayout.c | 65 memcpy(fl->fh.data, &fhp->fh_handle.fh_raw, fl->fh.size); in nfsd4_ff_proc_layoutget()
|
| H A D | localio.c | 73 memcpy(fh.fh_handle.fh_raw, nfs_fh->data, nfs_fh->size); in nfsd_open_local_fh()
|
| H A D | nfsxdr.c | 79 memcpy(&fhp->fh_handle.fh_raw, p, NFS_FHSIZE); in svcxdr_decode_fhandle() 93 memcpy(p, &fhp->fh_handle.fh_raw, NFS_FHSIZE); in svcxdr_encode_fhandle()
|
| H A D | nfs3xdr.c | 95 memcpy(&fhp->fh_handle.fh_raw, p, size); in svcxdr_decode_nfs_fh3() 134 memcpy(p, &fhp->fh_handle.fh_raw, size); in svcxdr_encode_nfs_fh3()
|
| H A D | nfs4callback.c | 152 xdr_encode_opaque(p, &fh->fh_raw, length); in encode_nfs_fh4() 930 args.cna_fh.data = dp->dl_stid.sc_file->fi_fhandle.fh_raw; in nfs4_xdr_enc_cb_notify()
|
| H A D | nfs4proc.c | 733 memcpy(&cstate->current_fh.fh_handle.fh_raw, putfh->pf_fhval, in nfsd4_putfh() 1868 memcpy(copy->c_fh.data, &s_fh->fh_handle.fh_raw, copy->c_fh.size); in nfsd4_setup_inter_ssc()
|
| H A D | nfs4xdr.c | 2739 return nfsd4_encode_opaque(xdr, fh_handle->fh_raw, fh_handle->fh_size); in nfsd4_encode_nfs_fh4() 4246 memcpy(&fhp->fh_raw, &fi->fi_fhandle.fh_raw, fhp->fh_size); in setup_notify_fhandle()
|
| 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()
|