Home
last modified time | relevance | path

Searched refs:BSWAP_64 (Results 1 – 25 of 41) sorted by path

12

/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfsimpl.c1599 if (ub->ub_magic == BSWAP_64((uint64_t)UBERBLOCK_MAGIC)) { in uberblock_verify()
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dedonr_zfs.c58 zcp->zc_word[0] = BSWAP_64(zcp->zc_word[0]); in zio_checksum_edonr_byteswap()
59 zcp->zc_word[1] = BSWAP_64(zcp->zc_word[1]); in zio_checksum_edonr_byteswap()
60 zcp->zc_word[2] = BSWAP_64(zcp->zc_word[2]); in zio_checksum_edonr_byteswap()
61 zcp->zc_word[3] = BSWAP_64(zcp->zc_word[3]); in zio_checksum_edonr_byteswap()
H A Dfletcher.c53 a0 += BSWAP_64(ip[0]); in fletcher_2_byteswap()
54 a1 += BSWAP_64(ip[1]); in fletcher_2_byteswap()
H A 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()
H A Dskein_zfs.c57 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]); in zio_checksum_skein_byteswap()
58 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]); in zio_checksum_skein_byteswap()
59 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]); in zio_checksum_skein_byteswap()
60 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]); in zio_checksum_skein_byteswap()
H A Dzfsimpl.h129 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
H A Dzfssubr.c197 buf[i] = BSWAP_64(buf[i]); in byteswap_uint64_array()
306 byteswap = (eck->zec_magic == BSWAP_64(ZEC_MAGIC)); in zio_checksum_verify()
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c2819 if (this_lb.lb_magic == BSWAP_64(L2ARC_LOG_BLK_MAGIC)) in dump_l2arc_log_blocks()
2872 if (l2dhdr.dh_magic == BSWAP_64(L2ARC_DEV_HDR_MAGIC)) in dump_l2arc_header()
5910 (u_longlong_t)(do_bswap ? BSWAP_64(d[i]) : d[i]), in zdb_dump_block()
5911 (u_longlong_t)(do_bswap ? BSWAP_64(d[i + 1]) : d[i + 1])); in zdb_dump_block()
/illumos-gate/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c352 BSWAP_64(drrb->drr_fromguid); in main()
475 BSWAP_64(drrfo->drr_firstobj); in main()
477 BSWAP_64(drrfo->drr_numobjs); in main()
554 BSWAP_64(drrwbr->drr_object); in main()
556 BSWAP_64(drrwbr->drr_offset); in main()
558 BSWAP_64(drrwbr->drr_length); in main()
560 BSWAP_64(drrwbr->drr_toguid); in main()
645 BSWAP_64(drrwe->drr_object); in main()
647 BSWAP_64(drrwe->drr_offset); in main()
649 BSWAP_64(drrwe->drr_length); in main()
[all …]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1823 if (bt->bt_magic == BSWAP_64(BT_MAGIC)) in ztest_replay_write()
/illumos-gate/usr/src/common/zfs/
H A Dzfs_fletcher.c296 a0 += BSWAP_64(ip[0]); in fletcher_2_incremental_byteswap()
297 a1 += BSWAP_64(ip[1]); in fletcher_2_incremental_byteswap()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1391 *intval = BSWAP_64(*(uint64_t *)nvp); in nvpair_value()
H A Dfsys_zfs.h102 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
H A Dzfs_fletcher.c52 a0 += BSWAP_64(ip[0]); in fletcher_2_byteswap()
53 a1 += BSWAP_64(ip[1]); in fletcher_2_byteswap()
/illumos-gate/usr/src/lib/libuutil/common/
H A Dlibuutil_impl.h61 #define UU_PTR_ENCODE(ptr) BSWAP_64((uintptr_t)(void *)(ptr))
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c3149 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[0]); in zfs_receive_package()
3151 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[1]); in zfs_receive_package()
3153 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[2]); in zfs_receive_package()
3359 BSWAP_64( in recv_skip()
3362 BSWAP_64( in recv_skip()
3374 BSWAP_64(drr->drr_u.drr_spill.drr_length); in recv_skip()
4559 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in zfs_receive_impl()
4571 drrb->drr_magic = BSWAP_64(drrb->drr_magic); in zfs_receive_impl()
4572 drrb->drr_versioninfo = BSWAP_64(drrb->drr_versioninfo); in zfs_receive_impl()
4576 drrb->drr_toguid = BSWAP_64(drrb->drr_toguid); in zfs_receive_impl()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Darc.c9444 if (l2dhdr->dh_magic == BSWAP_64(L2ARC_DEV_HDR_MAGIC)) in l2arc_dev_hdr_read()
9574 if (this_lb->lb_magic == BSWAP_64(L2ARC_LOG_BLK_MAGIC)) in l2arc_log_blk_read()
H A Ddmu.c2566 buf[i] = BSWAP_64(buf[i]); in byteswap_uint64_array()
H A Ddmu_objset.c359 osp->os_type = BSWAP_64(osp->os_type); in dmu_objset_byteswap()
360 osp->os_flags = BSWAP_64(osp->os_flags); in dmu_objset_byteswap()
H A Ddmu_recv.c743 if (drc->drc_drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in dmu_recv_begin()
965 #define DO64(X) (drr->drr_u.X = BSWAP_64(drr->drr_u.X)) in byteswap_record()
H A Ddnode.c333 dnp->dn_maxblkid = BSWAP_64(dnp->dn_maxblkid); in dnode_byteswap()
334 dnp->dn_used = BSWAP_64(dnp->dn_used); in dnode_byteswap()
343 buf64[i] = BSWAP_64(buf64[i]); in dnode_byteswap()
H A 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()
H A Dsha256.c87 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]); in abd_checksum_SHA512_byteswap()
88 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]); in abd_checksum_SHA512_byteswap()
89 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]); in abd_checksum_SHA512_byteswap()
90 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]); in abd_checksum_SHA512_byteswap()
H A Dskein_zfs.c69 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]); in abd_checksum_skein_byteswap()
70 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]); in abd_checksum_skein_byteswap()
71 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]); in abd_checksum_skein_byteswap()
72 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]); in abd_checksum_skein_byteswap()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_checksum.h62 (zcp)->zc_word[0] = BSWAP_64((zcp)->zc_word[0]); \
63 (zcp)->zc_word[1] = BSWAP_64((zcp)->zc_word[1]); \
64 (zcp)->zc_word[2] = BSWAP_64((zcp)->zc_word[2]); \
65 (zcp)->zc_word[3] = BSWAP_64((zcp)->zc_word[3]); \

12