Searched refs:BSWAP_64 (Results 1 - 25 of 39) 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);
165 zp->zp_crtime[0] = BSWAP_64(zp->zp_crtime[0]);
166 zp->zp_crtime[1] = BSWAP_64(zp->zp_crtime[1]);
167 zp->zp_atime[0] = BSWAP_64(zp->zp_atime[0]);
168 zp->zp_atime[1] = BSWAP_64(zp->zp_atime[1]);
169 zp->zp_mtime[0] = BSWAP_64(zp->zp_mtime[0]);
170 zp->zp_mtime[1] = BSWAP_64(zp->zp_mtime[1]);
171 zp->zp_ctime[0] = BSWAP_64(zp->zp_ctime[0]);
172 zp->zp_ctime[1] = BSWAP_64(zp->zp_ctime[1]);
173 zp->zp_gen = BSWAP_64(z
[all...]
H A Dsha256.c87 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]);
88 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]);
89 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]);
90 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]);
H A Dskein_zfs.c69 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]);
70 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]);
71 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]);
72 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]);
H A Dedonr_zfs.c72 zcp->zc_word[0] = BSWAP_64(zcp->zc_word[0]);
73 zcp->zc_word[1] = BSWAP_64(zcp->zc_word[1]);
74 zcp->zc_word[2] = BSWAP_64(zcp->zc_word[2]);
75 zcp->zc_word[3] = BSWAP_64(zcp->zc_word[3]);
H A Duberblock.c34 if (ub->ub_magic == BSWAP_64((uint64_t)UBERBLOCK_MAGIC))
H A Dzio_crypt.c771 bp->blk_dva[2].dva_word[0] = BSWAP_64(val64);
774 bp->blk_dva[2].dva_word[1] = BSWAP_64(val64);
803 val64 = BSWAP_64(bp->blk_dva[2].dva_word[0]);
806 val64 = BSWAP_64(bp->blk_dva[2].dva_word[1]);
828 bp->blk_cksum.zc_word[2] = BSWAP_64(val64);
831 bp->blk_cksum.zc_word[3] = BSWAP_64(val64);
853 val64 = BSWAP_64(bp->blk_cksum.zc_word[2]);
856 val64 = BSWAP_64(bp->blk_cksum.zc_word[3]);
1075 adnp->dn_maxblkid = BSWAP_64(adnp->dn_maxblkid);
1076 adnp->dn_used = BSWAP_64(adn
[all...]
H A Dzio_checksum.c422 } else if (eck.zec_magic == BSWAP_64(ZEC_MAGIC)) {
423 nused = BSWAP_64(zilc.zc_nused);
447 byteswap = (eck.zec_magic == BSWAP_64(ZEC_MAGIC));
H A Dzap_leaf.c117 buf->l_hdr.lh_block_type = BSWAP_64(buf->l_hdr.lh_block_type);
118 buf->l_hdr.lh_prefix = BSWAP_64(buf->l_hdr.lh_prefix);
144 le->le_hash = BSWAP_64(le->le_hash);
/illumos-gate/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c297 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) {
342 drrb->drr_magic = BSWAP_64(drrb->drr_magic);
344 BSWAP_64(drrb->drr_versioninfo);
346 BSWAP_64(drrb->drr_creation_time);
349 drrb->drr_toguid = BSWAP_64(drrb->drr_toguid);
351 BSWAP_64(drrb->drr_fromguid);
395 BSWAP_64(drre->drr_checksum.zc_word[0]);
397 BSWAP_64(drre->drr_checksum.zc_word[1]);
399 BSWAP_64(drre->drr_checksum.zc_word[2]);
401 BSWAP_64(drr
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dedonr_zfs.c58 zcp->zc_word[0] = BSWAP_64(zcp->zc_word[0]);
59 zcp->zc_word[1] = BSWAP_64(zcp->zc_word[1]);
60 zcp->zc_word[2] = BSWAP_64(zcp->zc_word[2]);
61 zcp->zc_word[3] = BSWAP_64(zcp->zc_word[3]);
H A Dskein_zfs.c57 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]);
58 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]);
59 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]);
60 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]);
/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.c54 a0 += BSWAP_64(ip[0]);
55 a1 += BSWAP_64(ip[1]);
H A Dfsys_zfs.h102 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
/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) macro
133 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) macro
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/common/zfs/
H A Dzfs_fletcher.c194 a0 += BSWAP_64(ip[0]);
195 a1 += BSWAP_64(ip[1]);
/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/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/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c833 sm->sm_magic = BSWAP_64(sm->sm_magic);
834 sm->sm_meta_size = BSWAP_64(sm->sm_meta_size);
835 sm->sm_meta_size_used = BSWAP_64(sm->sm_meta_size_used);
846 sm->sms_offset = BSWAP_64(sm->sms_offset);
861 sli->sli_total_store_size = BSWAP_64(sli->sli_total_store_size);
862 sli->sli_total_meta_size = BSWAP_64(sli->sli_total_meta_size);
863 sli->sli_lu_data_offset = BSWAP_64(sli->sli_lu_data_offset);
864 sli->sli_lu_data_size = BSWAP_64(sli->sli_lu_data_size);
878 sli->sli_lu_size = BSWAP_64(sli->sli_lu_size);
879 sli->sli_meta_fname_offset = BSWAP_64(sl
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c3105 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[0]);
3107 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[1]);
3109 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[2]);
3111 BSWAP_64(drre.drr_u.drr_end.drr_checksum.zc_word[3]);
3315 BSWAP_64(
3318 BSWAP_64(
3329 BSWAP_64(drr->drr_u.drr_spill.drr_length);
4502 if (drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC)) {
4514 drrb->drr_magic = BSWAP_64(drrb->drr_magic);
4515 drrb->drr_versioninfo = BSWAP_64(drr
[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)
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h614 (zcp)->zc_word[0] = BSWAP_64((zcp)->zc_word[0]); \
615 (zcp)->zc_word[1] = BSWAP_64((zcp)->zc_word[1]); \
616 (zcp)->zc_word[2] = BSWAP_64((zcp)->zc_word[2]); \
617 (zcp)->zc_word[3] = BSWAP_64((zcp)->zc_word[3]); \

Completed in 180 milliseconds

12