Home
last modified time | relevance | path

Searched refs:BSWAP_64 (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Dzfs_byteswap.c110 zacep->z_fuid = BSWAP_64(zacep->z_fuid); in zfs_ace_byteswap()
165 zp->zp_crtime[0] = BSWAP_64(zp->zp_crtime[0]); in zfs_znode_byteswap()
166 zp->zp_crtime[1] = BSWAP_64(zp->zp_crtime[1]); in zfs_znode_byteswap()
167 zp->zp_atime[0] = BSWAP_64(zp->zp_atime[0]); in zfs_znode_byteswap()
168 zp->zp_atime[1] = BSWAP_64(zp->zp_atime[1]); in zfs_znode_byteswap()
169 zp->zp_mtime[0] = BSWAP_64(zp->zp_mtime[0]); in zfs_znode_byteswap()
170 zp->zp_mtime[1] = BSWAP_64(zp->zp_mtime[1]); in zfs_znode_byteswap()
171 zp->zp_ctime[0] = BSWAP_64(zp->zp_ctime[0]); in zfs_znode_byteswap()
172 zp->zp_ctime[1] = BSWAP_64(zp->zp_ctime[1]); in zfs_znode_byteswap()
173 zp->zp_gen = BSWAP_64(zp->zp_gen); in zfs_znode_byteswap()
[all …]
Dskein_zfs.c73 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]); in abd_checksum_skein_byteswap()
74 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]); in abd_checksum_skein_byteswap()
75 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]); in abd_checksum_skein_byteswap()
76 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]); in abd_checksum_skein_byteswap()
Dsha256.c101 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]); in abd_checksum_SHA512_byteswap()
102 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]); in abd_checksum_SHA512_byteswap()
103 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]); in abd_checksum_SHA512_byteswap()
104 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]); in abd_checksum_SHA512_byteswap()
Dedonr_zfs.c72 zcp->zc_word[0] = BSWAP_64(zcp->zc_word[0]); in abd_checksum_edonr_byteswap()
73 zcp->zc_word[1] = BSWAP_64(zcp->zc_word[1]); in abd_checksum_edonr_byteswap()
74 zcp->zc_word[2] = BSWAP_64(zcp->zc_word[2]); in abd_checksum_edonr_byteswap()
75 zcp->zc_word[3] = BSWAP_64(zcp->zc_word[3]); in abd_checksum_edonr_byteswap()
Dzio_checksum.c367 } else if (eck->zec_magic == BSWAP_64(ZEC_MAGIC)) { in zio_checksum_error_impl()
368 nused = BSWAP_64(zilc->zc_nused); in zio_checksum_error_impl()
391 byteswap = (eck->zec_magic == BSWAP_64(ZEC_MAGIC)); in zio_checksum_error_impl()
Duberblock.c34 if (ub->ub_magic == BSWAP_64((uint64_t)UBERBLOCK_MAGIC)) in uberblock_verify()
Dzap_leaf.c117 buf->l_hdr.lh_block_type = BSWAP_64(buf->l_hdr.lh_block_type); in zap_leaf_byteswap()
118 buf->l_hdr.lh_prefix = BSWAP_64(buf->l_hdr.lh_prefix); in zap_leaf_byteswap()
144 le->le_hash = BSWAP_64(le->le_hash); in zap_leaf_byteswap()
Dzap_micro.c253 buf->mz_block_type = BSWAP_64(buf->mz_block_type); in mzap_byteswap()
254 buf->mz_salt = BSWAP_64(buf->mz_salt); in mzap_byteswap()
255 buf->mz_normflags = BSWAP_64(buf->mz_normflags); in mzap_byteswap()
259 BSWAP_64(buf->mz_chunk[i].mze_value); in mzap_byteswap()
270 if (block_type == ZBT_MICRO || block_type == BSWAP_64(ZBT_MICRO)) { in zap_byteswap()
Ddnode.c334 dnp->dn_maxblkid = BSWAP_64(dnp->dn_maxblkid); in dnode_byteswap()
335 dnp->dn_used = BSWAP_64(dnp->dn_used); in dnode_byteswap()
344 buf64[i] = BSWAP_64(buf64[i]); in dnode_byteswap()
Dzfs_vfsops.c785 *userp = BSWAP_64(*userp); in zfs_space_delta_cb()
786 *groupp = BSWAP_64(*groupp); in zfs_space_delta_cb()
Ddmu_objset.c349 osp->os_type = BSWAP_64(osp->os_type); in dmu_objset_byteswap()
350 osp->os_flags = BSWAP_64(osp->os_flags); in dmu_objset_byteswap()
Dzap.c93 if (block_type == ZBT_LEAF || block_type == BSWAP_64(ZBT_LEAF)) in fzap_byteswap()
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zstreamdump/
Dzstreamdump.c276 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in main()
321 drrb->drr_magic = BSWAP_64(drrb->drr_magic); in main()
323 BSWAP_64(drrb->drr_versioninfo); in main()
325 BSWAP_64(drrb->drr_creation_time); in main()
328 drrb->drr_toguid = BSWAP_64(drrb->drr_toguid); in main()
330 BSWAP_64(drrb->drr_fromguid); in main()
374 BSWAP_64(drre->drr_checksum.zc_word[0]); in main()
376 BSWAP_64(drre->drr_checksum.zc_word[1]); in main()
378 BSWAP_64(drre->drr_checksum.zc_word[2]); in main()
380 BSWAP_64(drre->drr_checksum.zc_word[3]); in main()
[all …]
/freebsd-12-stable/sys/cddl/compat/opensolaris/sys/
Dbyteorder.h56 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
74 #define LE_64(x) BSWAP_64(x)
83 #define BE_64(x) BSWAP_64(x)
90 #define htonll(x) BSWAP_64(x)
91 #define ntohll(x) BSWAP_64(x)
/freebsd-12-stable/sys/cddl/boot/zfs/
Dskein_zfs.c59 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]); in zio_checksum_skein_byteswap()
60 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]); in zio_checksum_skein_byteswap()
61 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]); in zio_checksum_skein_byteswap()
62 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]); in zio_checksum_skein_byteswap()
Dsha256.c321 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]); in zio_checksum_SHA512_byteswap()
322 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]); in zio_checksum_SHA512_byteswap()
323 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]); in zio_checksum_SHA512_byteswap()
324 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]); in zio_checksum_SHA512_byteswap()
Dfletcher.c53 a0 += BSWAP_64(ip[0]); in fletcher_2_byteswap()
54 a1 += BSWAP_64(ip[1]); in fletcher_2_byteswap()
Dzfssubr.c196 buf[i] = BSWAP_64(buf[i]); in byteswap_uint64_array()
305 byteswap = (eck->zec_magic == BSWAP_64(ZEC_MAGIC)); in zio_checksum_verify()
Dzfsimpl.h130 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
/freebsd-12-stable/sys/cddl/contrib/opensolaris/common/zfs/
Dzfs_fletcher.c194 a0 += BSWAP_64(ip[0]); in fletcher_2_incremental_byteswap()
195 a1 += BSWAP_64(ip[1]); in fletcher_2_incremental_byteswap()
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libuutil/common/
Dlibuutil_impl.h63 #define UU_PTR_ENCODE(ptr) BSWAP_64((uintptr_t)(void *)(ptr))
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/
Dlibzfs_sendrecv.c2837 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[0]); in zfs_receive_package()
2839 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[1]); in zfs_receive_package()
2841 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[2]); in zfs_receive_package()
2843 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[3]); in zfs_receive_package()
3042 BSWAP_64( in recv_skip()
3045 BSWAP_64( in recv_skip()
3056 BSWAP_64(drr->drr_u.drr_spill.drr_length); in recv_skip()
3798 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in zfs_receive_impl()
3810 drrb->drr_magic = BSWAP_64(drrb->drr_magic); in zfs_receive_impl()
3811 drrb->drr_versioninfo = BSWAP_64(drrb->drr_versioninfo); in zfs_receive_impl()
[all …]
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
Dspa.h495 (zcp)->zc_word[0] = BSWAP_64((zcp)->zc_word[0]); \
496 (zcp)->zc_word[1] = BSWAP_64((zcp)->zc_word[1]); \
497 (zcp)->zc_word[2] = BSWAP_64((zcp)->zc_word[2]); \
498 (zcp)->zc_word[3] = BSWAP_64((zcp)->zc_word[3]); \
/freebsd-12-stable/contrib/xz/src/common/
Dtuklib_integer.h94 # ifdef BSWAP_64
95 # define bswap64(num) BSWAP_64(num)
/freebsd-12-stable/sys/dev/oce/
Doce_if.h213 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | \ macro

12