/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfsimpl.c | 1599 if (ub->ub_magic == BSWAP_64((uint64_t)UBERBLOCK_MAGIC)) { in uberblock_verify()
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | edonr_zfs.c | 58 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 D | fletcher.c | 53 a0 += BSWAP_64(ip[0]); in fletcher_2_byteswap() 54 a1 += BSWAP_64(ip[1]); in fletcher_2_byteswap()
|
H A D | sha256.c | 321 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 D | skein_zfs.c | 57 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 D | zfsimpl.h | 129 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
|
H A D | zfssubr.c | 197 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 D | zdb.c | 2819 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 D | zstreamdump.c | 352 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 D | ztest.c | 1823 if (bt->bt_magic == BSWAP_64(BT_MAGIC)) in ztest_replay_write()
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_fletcher.c | 296 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 D | fsys_zfs.c | 1391 *intval = BSWAP_64(*(uint64_t *)nvp); in nvpair_value()
|
H A D | fsys_zfs.h | 102 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
|
H A D | zfs_fletcher.c | 52 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 D | libuutil_impl.h | 61 #define UU_PTR_ENCODE(ptr) BSWAP_64((uintptr_t)(void *)(ptr))
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 3149 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 D | arc.c | 9444 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 D | dmu.c | 2566 buf[i] = BSWAP_64(buf[i]); in byteswap_uint64_array()
|
H A D | dmu_objset.c | 359 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 D | dmu_recv.c | 743 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 D | dnode.c | 333 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 D | edonr_zfs.c | 72 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 D | sha256.c | 87 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 D | skein_zfs.c | 69 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 D | spa_checksum.h | 62 (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]); \
|