Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_byteswap.c173 zp->zp_gen = BSWAP_64(zp->zp_gen); in zfs_znode_byteswap()
174 zp->zp_mode = BSWAP_64(zp->zp_mode); in zfs_znode_byteswap()
175 zp->zp_size = BSWAP_64(zp->zp_size); in zfs_znode_byteswap()
176 zp->zp_parent = BSWAP_64(zp->zp_parent); in zfs_znode_byteswap()
177 zp->zp_links = BSWAP_64(zp->zp_links); in zfs_znode_byteswap()
178 zp->zp_xattr = BSWAP_64(zp->zp_xattr); in zfs_znode_byteswap()
179 zp->zp_rdev = BSWAP_64(zp->zp_rdev); in zfs_znode_byteswap()
180 zp->zp_flags = BSWAP_64(zp->zp_flags); in zfs_znode_byteswap()
181 zp->zp_uid = BSWAP_64(zp->zp_uid); in zfs_znode_byteswap()
182 zp->zp_gid = BSWAP_64(zp->zp_gid); in zfs_znode_byteswap()
[all …]
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()
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 Dzio_crypt.c828 bp->blk_cksum.zc_word[2] = BSWAP_64(val64); in zio_crypt_encode_mac_bp()
831 bp->blk_cksum.zc_word[3] = BSWAP_64(val64); in zio_crypt_encode_mac_bp()
1079 adnp->dn_used = BSWAP_64(adnp->dn_used); in zio_crypt_do_dnode_hmac_updates()
1179 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1183 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1240 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1244 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1422 txtype = BSWAP_64(lr->lrc_txtype); in zio_crypt_init_uios_zil()
1423 lr_len = BSWAP_64(lr->lrc_reclen); in zio_crypt_init_uios_zil()
1474 txtype = BSWAP_64(lr->lrc_txtype); in zio_crypt_init_uios_zil()
[all …]
H A Duberblock.c34 if (ub->ub_magic == BSWAP_64((uint64_t)UBERBLOCK_MAGIC)) in uberblock_verify()
H A Dzio_checksum.c443 } else if (eck.zec_magic == BSWAP_64(ZEC_MAGIC)) { in zio_checksum_error_impl()
444 nused = BSWAP_64(zilc.zc_nused); in zio_checksum_error_impl()
468 byteswap = (eck.zec_magic == BSWAP_64(ZEC_MAGIC)); in zio_checksum_error_impl()
H A 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()
H A 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()
/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/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]); \
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
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 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 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 Dfletcher.c53 a0 += BSWAP_64(ip[0]); in fletcher_2_byteswap()
54 a1 += BSWAP_64(ip[1]); in fletcher_2_byteswap()
/illumos-gate/usr/src/uts/common/sys/
H A Dbyteorder.h121 #define BSWAP_64(x) (((uint64_t)(x) << 56) | \ macro
130 #define BSWAP_64(x) htonll(x)
133 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32))
152 #define LE_64(x) BSWAP_64(x)
161 #define BE_64(x) BSWAP_64(x)
H A Dmdesc_impl.h86 #define mdtoh64(x) BSWAP_64((uint64_t)(x))
90 #define htomd64(x) BSWAP_64((uint64_t)(x))
/illumos-gate/usr/src/uts/common/netsmb/
H A Dmchain.h69 #define htobeq(x) BSWAP_64(x)
70 #define betohq(x) BSWAP_64(x)
79 #define letohq(x) BSWAP_64(x)
80 #define htoleq(x) BSWAP_64(x)
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dzfs_fletcher.c52 a0 += BSWAP_64(ip[0]); in fletcher_2_byteswap()
53 a1 += BSWAP_64(ip[1]); in fletcher_2_byteswap()
H A Dfsys_zfs.h102 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
/illumos-gate/usr/src/uts/common/io/skd/
H A Dskd.h57 #define be64_to_cpu(x) BSWAP_64(x)
59 #define cpu_to_be64(x) BSWAP_64(x)
/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/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c865 sm->sm_magic = BSWAP_64(sm->sm_magic); in sbd_swap_meta_start()
866 sm->sm_meta_size = BSWAP_64(sm->sm_meta_size); in sbd_swap_meta_start()
867 sm->sm_meta_size_used = BSWAP_64(sm->sm_meta_size_used); in sbd_swap_meta_start()
878 sm->sms_offset = BSWAP_64(sm->sms_offset); in sbd_swap_section_hdr()
894 sli->sli_total_meta_size = BSWAP_64(sli->sli_total_meta_size); in sbd_swap_lu_info_1_0()
895 sli->sli_lu_data_offset = BSWAP_64(sli->sli_lu_data_offset); in sbd_swap_lu_info_1_0()
896 sli->sli_lu_data_size = BSWAP_64(sli->sli_lu_data_size); in sbd_swap_lu_info_1_0()
910 sli->sli_lu_size = BSWAP_64(sli->sli_lu_size); in sbd_swap_lu_info_1_1()
913 sli->sli_serial_offset = BSWAP_64(sli->sli_serial_offset); in sbd_swap_lu_info_1_1()
914 sli->sli_alias_offset = BSWAP_64(sli->sli_alias_offset); in sbd_swap_lu_info_1_1()
[all …]
/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/io/qede/579xx/drivers/ecore/
H A Dbcm_osal.h355 #define OSAL_CPU_TO_LE64(val) BSWAP_64(val)
357 #define OSAL_CPU_TO_BE64(val) BSWAP_64(val)

12