/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_byteswap.c | 110 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 …]
|
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()
|
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 | zio_crypt.c | 771 bp->blk_dva[2].dva_word[0] = BSWAP_64(val64); in zio_crypt_encode_params_bp() 774 bp->blk_dva[2].dva_word[1] = BSWAP_64(val64); in zio_crypt_encode_params_bp() 803 val64 = BSWAP_64(bp->blk_dva[2].dva_word[0]); in zio_crypt_decode_params_bp() 806 val64 = BSWAP_64(bp->blk_dva[2].dva_word[1]); in zio_crypt_decode_params_bp() 828 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() 853 val64 = BSWAP_64(bp->blk_cksum.zc_word[2]); in zio_crypt_decode_mac_bp() 856 val64 = BSWAP_64(bp->blk_cksum.zc_word[3]); in zio_crypt_decode_mac_bp() 1078 adnp->dn_maxblkid = BSWAP_64(adnp->dn_maxblkid); in zio_crypt_do_dnode_hmac_updates() 1079 adnp->dn_used = BSWAP_64(adnp->dn_used); in zio_crypt_do_dnode_hmac_updates() [all …]
|
H A D | uberblock.c | 34 if (ub->ub_magic == BSWAP_64((uint64_t)UBERBLOCK_MAGIC)) in uberblock_verify()
|
H A D | zio_checksum.c | 443 } 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 D | zap_leaf.c | 117 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 D | zap_micro.c | 253 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 D | zstreamdump.c | 253 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in main() 298 drrb->drr_magic = BSWAP_64(drrb->drr_magic); in main() 300 BSWAP_64(drrb->drr_versioninfo); in main() 302 BSWAP_64(drrb->drr_creation_time); in main() 305 drrb->drr_toguid = BSWAP_64(drrb->drr_toguid); in main() 307 BSWAP_64(drrb->drr_fromguid); in main() 351 BSWAP_64(drre->drr_checksum.zc_word[0]); in main() 353 BSWAP_64(drre->drr_checksum.zc_word[1]); in main() 355 BSWAP_64(drre->drr_checksum.zc_word[2]); in main() 357 BSWAP_64(drre->drr_checksum.zc_word[3]); in main() [all …]
|
/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]); \
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
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 | 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 | 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 | fletcher.c | 53 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 D | byteorder.h | 121 #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 D | mdesc_impl.h | 86 #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 D | mchain.h | 69 #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 D | zfs_fletcher.c | 52 a0 += BSWAP_64(ip[0]); in fletcher_2_byteswap() 53 a1 += BSWAP_64(ip[1]); in fletcher_2_byteswap()
|
H A D | fsys_zfs.h | 102 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
|
/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.h | 57 #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 D | libuutil_impl.h | 61 #define UU_PTR_ENCODE(ptr) BSWAP_64((uintptr_t)(void *)(ptr))
|
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd.c | 865 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() 893 sli->sli_total_store_size = BSWAP_64(sli->sli_total_store_size); in sbd_swap_lu_info_1_0() 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() 911 sli->sli_meta_fname_offset = BSWAP_64(sli->sli_meta_fname_offset); in sbd_swap_lu_info_1_1() [all …]
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 3150 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[0]); in zfs_receive_package() 3152 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[1]); in zfs_receive_package() 3154 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[2]); in zfs_receive_package() 3156 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[3]); in zfs_receive_package() 3360 BSWAP_64( in recv_skip() 3363 BSWAP_64( in recv_skip() 3375 BSWAP_64(drr->drr_u.drr_spill.drr_length); in recv_skip() 4560 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in zfs_receive_impl() 4572 drrb->drr_magic = BSWAP_64(drrb->drr_magic); in zfs_receive_impl() 4573 drrb->drr_versioninfo = BSWAP_64(drrb->drr_versioninfo); in zfs_receive_impl() [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | bcm_osal.h | 355 #define OSAL_CPU_TO_LE64(val) BSWAP_64(val) 357 #define OSAL_CPU_TO_BE64(val) BSWAP_64(val)
|