Home
last modified time | relevance | path

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

12

/titanic_44/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 Dzio_checksum.c219 else if (eck->zec_magic == BSWAP_64(ZEC_MAGIC)) in zio_checksum_error()
220 nused = BSWAP_64(zilc->zc_nused); in zio_checksum_error()
239 byteswap = (eck->zec_magic == BSWAP_64(ZEC_MAGIC)); in zio_checksum_error()
H A Duberblock.c33 if (ub->ub_magic == BSWAP_64((uint64_t)UBERBLOCK_MAGIC)) in uberblock_verify()
H A Dzap_micro.c226 buf->mz_block_type = BSWAP_64(buf->mz_block_type); in mzap_byteswap()
227 buf->mz_salt = BSWAP_64(buf->mz_salt); in mzap_byteswap()
228 buf->mz_normflags = BSWAP_64(buf->mz_normflags); in mzap_byteswap()
232 BSWAP_64(buf->mz_chunk[i].mze_value); in mzap_byteswap()
245 if (block_type == ZBT_MICRO || block_type == BSWAP_64(ZBT_MICRO)) { in zap_byteswap()
H A Dzap_leaf.c116 buf->l_hdr.lh_block_type = BSWAP_64(buf->l_hdr.lh_block_type); in zap_leaf_byteswap()
117 buf->l_hdr.lh_prefix = BSWAP_64(buf->l_hdr.lh_prefix); in zap_leaf_byteswap()
143 le->le_hash = BSWAP_64(le->le_hash); in zap_leaf_byteswap()
H A Ddnode.c296 dnp->dn_maxblkid = BSWAP_64(dnp->dn_maxblkid); in dnode_byteswap()
297 dnp->dn_used = BSWAP_64(dnp->dn_used); in dnode_byteswap()
306 buf64[i] = BSWAP_64(buf64[i]); in dnode_byteswap()
H A Ddmu_objset.c289 osp->os_type = BSWAP_64(osp->os_type); in dmu_objset_byteswap()
290 osp->os_flags = BSWAP_64(osp->os_flags); in dmu_objset_byteswap()
H A Dzfs_vfsops.c651 *userp = BSWAP_64(*userp); in zfs_space_delta_cb()
652 *groupp = BSWAP_64(*groupp); in zfs_space_delta_cb()
H A Ddmu_send.c1615 if (drc->drc_drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in dmu_recv_begin()
1776 #define DO64(X) (drr->drr_u.X = BSWAP_64(drr->drr_u.X)) in byteswap_record()
H A Dzap.c65 if (block_type == ZBT_LEAF || block_type == BSWAP_64(ZBT_LEAF)) in fzap_byteswap()
/titanic_44/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c273 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in main()
318 drrb->drr_magic = BSWAP_64(drrb->drr_magic); in main()
320 BSWAP_64(drrb->drr_versioninfo); in main()
322 BSWAP_64(drrb->drr_creation_time); in main()
325 drrb->drr_toguid = BSWAP_64(drrb->drr_toguid); in main()
327 BSWAP_64(drrb->drr_fromguid); in main()
371 BSWAP_64(drre->drr_checksum.zc_word[0]); in main()
373 BSWAP_64(drre->drr_checksum.zc_word[1]); in main()
375 BSWAP_64(drre->drr_checksum.zc_word[2]); in main()
377 BSWAP_64(drre->drr_checksum.zc_word[3]); in main()
[all …]
/titanic_44/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))
/titanic_44/usr/src/uts/common/netsmb/
H A Dmchain.h67 #define htobeq(x) BSWAP_64(x)
68 #define betohq(x) BSWAP_64(x)
77 #define letohq(x) BSWAP_64(x)
78 #define htoleq(x) BSWAP_64(x)
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dzfs_fletcher.c54 a0 += BSWAP_64(ip[0]); in fletcher_2_byteswap()
55 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
H A Dfsys_zfs.c1385 *intval = BSWAP_64(*(uint64_t *)nvp); in nvpair_value()
/titanic_44/usr/src/common/zfs/
H A Dzfs_fletcher.c159 a0 += BSWAP_64(ip[0]); in fletcher_2_byteswap()
160 a1 += BSWAP_64(ip[1]); in fletcher_2_byteswap()
/titanic_44/usr/src/lib/libuutil/common/
H A Dlibuutil_impl.h63 #define UU_PTR_ENCODE(ptr) BSWAP_64((uintptr_t)(void *)(ptr))
/titanic_44/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)
/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h454 zc->zc_word[0] = BSWAP_64(zc->zc_word[0]); \
455 zc->zc_word[1] = BSWAP_64(zc->zc_word[1]); \
456 zc->zc_word[2] = BSWAP_64(zc->zc_word[2]); \
457 zc->zc_word[3] = BSWAP_64(zc->zc_word[3]); \
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c2668 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[0]); in zfs_receive_package()
2670 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[1]); in zfs_receive_package()
2672 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[2]); in zfs_receive_package()
2674 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[3]); in zfs_receive_package()
2865 BSWAP_64(drr->drr_u.drr_write.drr_length); in recv_skip()
2873 BSWAP_64(drr->drr_u.drr_spill.drr_length); in recv_skip()
3545 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in zfs_receive_impl()
3556 drrb->drr_magic = BSWAP_64(drrb->drr_magic); in zfs_receive_impl()
3557 drrb->drr_versioninfo = BSWAP_64(drrb->drr_versioninfo); in zfs_receive_impl()
3558 drrb->drr_creation_time = BSWAP_64(drrb->drr_creation_time); in zfs_receive_impl()
[all …]
/titanic_44/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c833 sm->sm_magic = BSWAP_64(sm->sm_magic); in sbd_swap_meta_start()
834 sm->sm_meta_size = BSWAP_64(sm->sm_meta_size); in sbd_swap_meta_start()
835 sm->sm_meta_size_used = BSWAP_64(sm->sm_meta_size_used); in sbd_swap_meta_start()
846 sm->sms_offset = BSWAP_64(sm->sms_offset); in sbd_swap_section_hdr()
861 sli->sli_total_store_size = BSWAP_64(sli->sli_total_store_size); in sbd_swap_lu_info_1_0()
862 sli->sli_total_meta_size = BSWAP_64(sli->sli_total_meta_size); in sbd_swap_lu_info_1_0()
863 sli->sli_lu_data_offset = BSWAP_64(sli->sli_lu_data_offset); in sbd_swap_lu_info_1_0()
864 sli->sli_lu_data_size = BSWAP_64(sli->sli_lu_data_size); in sbd_swap_lu_info_1_0()
878 sli->sli_lu_size = BSWAP_64(sli->sli_lu_size); in sbd_swap_lu_info_1_1()
879 sli->sli_meta_fname_offset = BSWAP_64(sli->sli_meta_fname_offset); in sbd_swap_lu_info_1_1()
[all …]
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h86 #define cpu_to_le64(x) BSWAP_64(x)
/titanic_44/usr/src/cmd/zdb/
H A Dzdb.c3209 (u_longlong_t)(do_bswap ? BSWAP_64(d[i]) : d[i]), in zdb_dump_block()
3210 (u_longlong_t)(do_bswap ? BSWAP_64(d[i + 1]) : d[i + 1])); in zdb_dump_block()

12