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.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 …]
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.c771 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 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.c298 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in main()
343 drrb->drr_magic = BSWAP_64(drrb->drr_magic); in main()
345 BSWAP_64(drrb->drr_versioninfo); in main()
347 BSWAP_64(drrb->drr_creation_time); in main()
350 drrb->drr_toguid = BSWAP_64(drrb->drr_toguid); in main()
352 BSWAP_64(drrb->drr_fromguid); in main()
396 BSWAP_64(drre->drr_checksum.zc_word[0]); in main()
398 BSWAP_64(drre->drr_checksum.zc_word[1]); in main()
400 BSWAP_64(drre->drr_checksum.zc_word[2]); in main()
402 BSWAP_64(drre->drr_checksum.zc_word[3]); 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()
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 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()
3155 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[3]); 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()
[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