Searched refs:BSWAP_64 (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-13-stable/sys/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]); \
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dzfs_byteswap.c116 zacep->z_fuid = BSWAP_64(zacep->z_fuid);
171 zp->zp_crtime[0] = BSWAP_64(zp->zp_crtime[0]);
172 zp->zp_crtime[1] = BSWAP_64(zp->zp_crtime[1]);
173 zp->zp_atime[0] = BSWAP_64(zp->zp_atime[0]);
174 zp->zp_atime[1] = BSWAP_64(zp->zp_atime[1]);
175 zp->zp_mtime[0] = BSWAP_64(zp->zp_mtime[0]);
176 zp->zp_mtime[1] = BSWAP_64(zp->zp_mtime[1]);
177 zp->zp_ctime[0] = BSWAP_64(zp->zp_ctime[0]);
178 zp->zp_ctime[1] = BSWAP_64(zp->zp_ctime[1]);
179 zp->zp_gen = BSWAP_64(z
[all...]
H A Dskein_zfs.c70 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]);
71 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]);
72 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]);
73 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]);
H A Dedonr_zfs.c73 zcp->zc_word[0] = BSWAP_64(zcp->zc_word[0]);
74 zcp->zc_word[1] = BSWAP_64(zcp->zc_word[1]);
75 zcp->zc_word[2] = BSWAP_64(zcp->zc_word[2]);
76 zcp->zc_word[3] = BSWAP_64(zcp->zc_word[3]);
H A Dsha256.c101 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]);
102 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]);
103 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]);
104 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]);
H A Duberblock.c34 if (ub->ub_magic == BSWAP_64((uint64_t)UBERBLOCK_MAGIC))
H A Dzfs_quota.c100 flags = BSWAP_64(flags);
108 zoi->zfi_user = BSWAP_64(zoi->zfi_user);
109 zoi->zfi_group = BSWAP_64(zoi->zfi_group);
110 zoi->zfi_project = BSWAP_64(zoi->zfi_project);
111 zoi->zfi_generation = BSWAP_64(zoi->zfi_generation);
H A Dzio_checksum.c440 } else if (eck.zec_magic == BSWAP_64(ZEC_MAGIC)) {
441 nused = BSWAP_64(zilc.zc_nused);
465 byteswap = (eck.zec_magic == BSWAP_64(ZEC_MAGIC));
H A Dzap_leaf.c116 buf->l_hdr.lh_block_type = BSWAP_64(buf->l_hdr.lh_block_type);
117 buf->l_hdr.lh_prefix = BSWAP_64(buf->l_hdr.lh_prefix);
143 le->le_hash = BSWAP_64(le->le_hash);
H A Dzap_micro.c251 buf->mz_block_type = BSWAP_64(buf->mz_block_type);
252 buf->mz_salt = BSWAP_64(buf->mz_salt);
253 buf->mz_normflags = BSWAP_64(buf->mz_normflags);
257 BSWAP_64(buf->mz_chunk[i].mze_value);
268 if (block_type == ZBT_MICRO || block_type == BSWAP_64(ZBT_MICRO)) {
/freebsd-13-stable/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_dump.c306 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) {
353 drrb->drr_magic = BSWAP_64(drrb->drr_magic);
355 BSWAP_64(drrb->drr_versioninfo);
357 BSWAP_64(drrb->drr_creation_time);
360 drrb->drr_toguid = BSWAP_64(drrb->drr_toguid);
362 BSWAP_64(drrb->drr_fromguid);
411 BSWAP_64(drre->drr_checksum.zc_word[0]);
413 BSWAP_64(drre->drr_checksum.zc_word[1]);
415 BSWAP_64(drre->drr_checksum.zc_word[2]);
417 BSWAP_64(drr
[all...]
/freebsd-13-stable/sys/cddl/boot/zfs/
H A Dskein_zfs.c59 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]);
60 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]);
61 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]);
62 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]);
H A Dfletcher.c53 a0 += BSWAP_64(ip[0]);
54 a1 += BSWAP_64(ip[1]);
H A Dsha256.c321 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]);
322 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]);
323 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]);
324 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]);
/freebsd-13-stable/sys/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)
/freebsd-13-stable/sys/cddl/compat/opensolaris/sys/
H A Dbyteorder.h56 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
74 #define LE_64(x) BSWAP_64(x)
83 #define BE_64(x) BSWAP_64(x)
90 #define htonll(x) BSWAP_64(x)
91 #define ntohll(x) BSWAP_64(x)
/freebsd-13-stable/sys/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)
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dbyteorder.h42 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
/freebsd-13-stable/sys/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)
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c698 bp->blk_dva[2].dva_word[0] = BSWAP_64(val64);
701 bp->blk_dva[2].dva_word[1] = BSWAP_64(val64);
730 val64 = BSWAP_64(bp->blk_dva[2].dva_word[0]);
733 val64 = BSWAP_64(bp->blk_dva[2].dva_word[1]);
755 bp->blk_cksum.zc_word[2] = BSWAP_64(val64);
758 bp->blk_cksum.zc_word[3] = BSWAP_64(val64);
780 val64 = BSWAP_64(bp->blk_cksum.zc_word[2]);
783 val64 = BSWAP_64(bp->blk_cksum.zc_word[3]);
984 adnp->dn_maxblkid = BSWAP_64(adnp->dn_maxblkid);
985 adnp->dn_used = BSWAP_64(adn
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c758 bp->blk_dva[2].dva_word[0] = BSWAP_64(val64);
761 bp->blk_dva[2].dva_word[1] = BSWAP_64(val64);
790 val64 = BSWAP_64(bp->blk_dva[2].dva_word[0]);
793 val64 = BSWAP_64(bp->blk_dva[2].dva_word[1]);
815 bp->blk_cksum.zc_word[2] = BSWAP_64(val64);
818 bp->blk_cksum.zc_word[3] = BSWAP_64(val64);
840 val64 = BSWAP_64(bp->blk_cksum.zc_word[2]);
843 val64 = BSWAP_64(bp->blk_cksum.zc_word[3]);
1062 adnp->dn_maxblkid = BSWAP_64(adnp->dn_maxblkid);
1063 adnp->dn_used = BSWAP_64(adn
[all...]
/freebsd-13-stable/sys/contrib/openzfs/include/
H A Dlibuutil_impl.h63 #define UU_PTR_ENCODE(ptr) BSWAP_64((uintptr_t)(void *)(ptr))
/freebsd-13-stable/contrib/xz/src/common/
H A Dtuklib_integer.h94 # ifdef BSWAP_64
95 # define bswap64(num) BSWAP_64(num)
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_sendrecv.c3580 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[0]);
3582 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[1]);
3584 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[2]);
3586 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[3]);
3794 BSWAP_64(
3797 BSWAP_64(
3809 BSWAP_64(drr->drr_u.drr_spill.drr_length);
3811 BSWAP_64(drr->drr_u.drr_spill.
5047 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) {
5058 drrb->drr_magic = BSWAP_64(drr
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c285 a0 += BSWAP_64(ip[0]);
286 a1 += BSWAP_64(ip[1]);

Completed in 192 milliseconds

12