Home
last modified time | relevance | path

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

12

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_byteswap.c179 zp->zp_gen = BSWAP_64(zp->zp_gen); in zfs_znode_byteswap()
180 zp->zp_mode = BSWAP_64(zp->zp_mode); in zfs_znode_byteswap()
181 zp->zp_size = BSWAP_64(zp->zp_size); in zfs_znode_byteswap()
182 zp->zp_parent = BSWAP_64(zp->zp_parent); in zfs_znode_byteswap()
183 zp->zp_links = BSWAP_64(zp->zp_links); in zfs_znode_byteswap()
184 zp->zp_xattr = BSWAP_64(zp->zp_xattr); in zfs_znode_byteswap()
185 zp->zp_rdev = BSWAP_64(zp->zp_rdev); in zfs_znode_byteswap()
186 zp->zp_flags = BSWAP_64(zp->zp_flags); in zfs_znode_byteswap()
187 zp->zp_uid = BSWAP_64(zp->zp_uid); in zfs_znode_byteswap()
188 zp->zp_gid = BSWAP_64(zp->zp_gid); in zfs_znode_byteswap()
[all …]
H A Dskein_zfs.c70 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]); in abd_checksum_skein_byteswap()
71 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]); in abd_checksum_skein_byteswap()
72 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]); in abd_checksum_skein_byteswap()
73 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]); in abd_checksum_skein_byteswap()
H A Dedonr_zfs.c73 zcp->zc_word[0] = BSWAP_64(zcp->zc_word[0]); in abd_checksum_edonr_byteswap()
74 zcp->zc_word[1] = BSWAP_64(zcp->zc_word[1]); in abd_checksum_edonr_byteswap()
75 zcp->zc_word[2] = BSWAP_64(zcp->zc_word[2]); in abd_checksum_edonr_byteswap()
76 zcp->zc_word[3] = BSWAP_64(zcp->zc_word[3]); in abd_checksum_edonr_byteswap()
H A Dsha256.c101 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]); in abd_checksum_SHA512_byteswap()
102 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]); in abd_checksum_SHA512_byteswap()
103 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]); in abd_checksum_SHA512_byteswap()
104 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]); in abd_checksum_SHA512_byteswap()
H A Dzfs_quota.c100 flags = BSWAP_64(flags); in zpl_get_file_info()
108 zoi->zfi_user = BSWAP_64(zoi->zfi_user); in zpl_get_file_info()
109 zoi->zfi_group = BSWAP_64(zoi->zfi_group); in zpl_get_file_info()
110 zoi->zfi_project = BSWAP_64(zoi->zfi_project); in zpl_get_file_info()
111 zoi->zfi_generation = BSWAP_64(zoi->zfi_generation); in zpl_get_file_info()
H A Duberblock.c34 if (ub->ub_magic == BSWAP_64((uint64_t)UBERBLOCK_MAGIC)) in uberblock_verify()
H A Dzio_checksum.c440 } else if (eck.zec_magic == BSWAP_64(ZEC_MAGIC)) { in zio_checksum_error_impl()
441 nused = BSWAP_64(zilc.zc_nused); in zio_checksum_error_impl()
465 byteswap = (eck.zec_magic == BSWAP_64(ZEC_MAGIC)); in zio_checksum_error_impl()
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 Dzap_micro.c251 buf->mz_block_type = BSWAP_64(buf->mz_block_type); in mzap_byteswap()
252 buf->mz_salt = BSWAP_64(buf->mz_salt); in mzap_byteswap()
253 buf->mz_normflags = BSWAP_64(buf->mz_normflags); in mzap_byteswap()
257 BSWAP_64(buf->mz_chunk[i].mze_value); in mzap_byteswap()
268 if (block_type == ZBT_MICRO || block_type == BSWAP_64(ZBT_MICRO)) { in zap_byteswap()
H A Ddnode.c328 dnp->dn_maxblkid = BSWAP_64(dnp->dn_maxblkid); in dnode_byteswap()
329 dnp->dn_used = BSWAP_64(dnp->dn_used); in dnode_byteswap()
338 buf64[i] = BSWAP_64(buf64[i]); in dnode_byteswap()
H A Ddmu_objset.c364 osp->os_type = BSWAP_64(osp->os_type); in dmu_objset_byteswap()
365 osp->os_flags = BSWAP_64(osp->os_flags); in dmu_objset_byteswap()
H A Ddmu_recv.c138 #define DO64(X) (drr->drr_u.X = BSWAP_64(drr->drr_u.X)) in byteswap_record()
1155 if (drc->drc_drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in dmu_recv_begin()
H A Dzap.c92 if (block_type == ZBT_LEAF || block_type == BSWAP_64(ZBT_LEAF)) in fzap_byteswap()
/f-stack/freebsd/contrib/openzfs/cmd/zstream/
H A Dzstream_dump.c362 BSWAP_64(drrb->drr_fromguid); in zstream_do_dump()
461 BSWAP_64(drro->drr_maxblkid); in zstream_do_dump()
498 BSWAP_64(drrfo->drr_numobjs); in zstream_do_dump()
574 BSWAP_64(drrwbr->drr_object); in zstream_do_dump()
576 BSWAP_64(drrwbr->drr_offset); in zstream_do_dump()
578 BSWAP_64(drrwbr->drr_length); in zstream_do_dump()
580 BSWAP_64(drrwbr->drr_toguid); in zstream_do_dump()
665 BSWAP_64(drrwe->drr_object); in zstream_do_dump()
667 BSWAP_64(drrwe->drr_offset); in zstream_do_dump()
669 BSWAP_64(drrwe->drr_length); in zstream_do_dump()
[all …]
/f-stack/freebsd/contrib/openzfs/include/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]); \
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dbyteorder.h53 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
71 #define LE_64(x) BSWAP_64(x)
80 #define BE_64(x) BSWAP_64(x)
101 #define htonll(x) BSWAP_64(x)
102 #define ntohll(x) BSWAP_64(x)
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c749 bp->blk_cksum.zc_word[2] = BSWAP_64(val64); in zio_crypt_encode_mac_bp()
979 adnp->dn_used = BSWAP_64(adnp->dn_used); in zio_crypt_do_dnode_hmac_updates()
1055 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1059 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1081 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1108 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1112 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1295 txtype = BSWAP_64(lr->lrc_txtype); in zio_crypt_init_uios_zil()
1296 lr_len = BSWAP_64(lr->lrc_reclen); in zio_crypt_init_uios_zil()
1336 txtype = BSWAP_64(lr->lrc_txtype); in zio_crypt_init_uios_zil()
[all …]
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/freebsd/sys/
H A Dbyteorder.h68 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
86 #define LE_64(x) BSWAP_64(x)
95 #define BE_64(x) BSWAP_64(x)
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c815 bp->blk_cksum.zc_word[2] = BSWAP_64(val64); in zio_crypt_encode_mac_bp()
1063 adnp->dn_used = BSWAP_64(adnp->dn_used); in zio_crypt_do_dnode_hmac_updates()
1166 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1169 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1208 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1239 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1242 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1430 txtype = BSWAP_64(lr->lrc_txtype); in zio_crypt_init_uios_zil()
1431 lr_len = BSWAP_64(lr->lrc_reclen); in zio_crypt_init_uios_zil()
1482 txtype = BSWAP_64(lr->lrc_txtype); in zio_crypt_init_uios_zil()
[all …]
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dbyteorder.h99 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
117 #define LE_64(x) BSWAP_64(x)
126 #define BE_64(x) BSWAP_64(x)
/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dbyteorder.h42 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
/f-stack/freebsd/contrib/openzfs/include/
H A Dlibuutil_impl.h63 #define UU_PTR_ENCODE(ptr) BSWAP_64((uintptr_t)(void *)(ptr))
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_sendrecv.c3576 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[0]); in zfs_receive_package()
3578 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[1]); in zfs_receive_package()
3792 BSWAP_64( in recv_skip()
3795 BSWAP_64( in recv_skip()
3807 BSWAP_64(drr->drr_u.drr_spill.drr_length); in recv_skip()
3809 BSWAP_64(drr->drr_u.drr_spill. in recv_skip()
5036 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) { in zfs_receive_impl()
5047 drrb->drr_magic = BSWAP_64(drrb->drr_magic); in zfs_receive_impl()
5048 drrb->drr_versioninfo = BSWAP_64(drrb->drr_versioninfo); in zfs_receive_impl()
5052 drrb->drr_toguid = BSWAP_64(drrb->drr_toguid); in zfs_receive_impl()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c285 a0 += BSWAP_64(ip[0]); in fletcher_2_incremental_byteswap()
286 a1 += BSWAP_64(ip[1]); in fletcher_2_incremental_byteswap()
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c4306 if (this_lb.lb_magic == BSWAP_64(L2ARC_LOG_BLK_MAGIC)) in dump_l2arc_log_blocks()
4359 if (l2dhdr.dh_magic == BSWAP_64(L2ARC_DEV_HDR_MAGIC)) in dump_l2arc_header()
7628 (u_longlong_t)(do_bswap ? BSWAP_64(d[i]) : d[i]), in zdb_dump_block()
7629 (u_longlong_t)(do_bswap ? BSWAP_64(d[i + 1]) : d[i + 1])); in zdb_dump_block()

12