Home
last modified time | relevance | path

Searched refs:BSWAP_32 (Results 1 – 25 of 31) sorted by relevance

12

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_byteswap.c39 ace->a_who = BSWAP_32(ace->a_who); in zfs_oldace_byteswap()
40 ace->a_access_mask = BSWAP_32(ace->a_access_mask); in zfs_oldace_byteswap()
81 BSWAP_32(zacep->z_hdr.z_access_mask); in zfs_ace_byteswap()
92 acep->a_access_mask = BSWAP_32(acep->a_access_mask); in zfs_ace_byteswap()
95 acep->a_who = BSWAP_32(acep->a_who); in zfs_ace_byteswap()
189 zp->zp_acl.z_acl_size = BSWAP_32(zp->zp_acl.z_acl_size); in zfs_znode_byteswap()
H A Dzap_leaf.c118 buf->l_hdr.lh_magic = BSWAP_32(buf->l_hdr.lh_magic); in zap_leaf_byteswap()
142 le->le_cd = BSWAP_32(le->le_cd); in zap_leaf_byteswap()
H A Dsa.c1244 sa_hdr_phys->sa_magic = BSWAP_32(sa_hdr_phys->sa_magic); in sa_byteswap()
1283 VERIFY(BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC); in sa_build_index()
H A Ddmu_send.c1777 #define DO32(X) (drr->drr_u.X = BSWAP_32(drr->drr_u.X)) in byteswap_record()
1778 drr->drr_type = BSWAP_32(drr->drr_type); in byteswap_record()
1779 drr->drr_payloadlen = BSWAP_32(drr->drr_payloadlen); in byteswap_record()
/titanic_41/usr/src/uts/common/sys/
H A Dbyteorder.h110 #define BSWAP_32(x) (((uint32_t)(x) << 24) | \ macro
116 #define BSWAP_32(x) htonl(x)
133 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32))
151 #define LE_32(x) BSWAP_32(x)
160 #define BE_32(x) BSWAP_32(x)
H A Dmdesc_impl.h85 #define mdtoh32(x) BSWAP_32((uint32_t)(x))
89 #define htomd32(x) BSWAP_32((uint32_t)(x))
/titanic_41/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c293 drr->drr_type = BSWAP_32(drr->drr_type); in main()
295 BSWAP_32(drr->drr_payloadlen); in main()
323 drrb->drr_type = BSWAP_32(drrb->drr_type); in main()
324 drrb->drr_flags = BSWAP_32(drrb->drr_flags); in main()
407 drro->drr_type = BSWAP_32(drro->drr_type); in main()
409 BSWAP_32(drro->drr_bonustype); in main()
410 drro->drr_blksz = BSWAP_32(drro->drr_blksz); in main()
412 BSWAP_32(drro->drr_bonuslen); in main()
453 drrw->drr_type = BSWAP_32(drrw->drr_type); in main()
566 BSWAP_32(drrwe->drr_lsize); in main()
[all …]
/titanic_41/usr/src/uts/common/netsmb/
H A Dmchain.h65 #define htobel(x) BSWAP_32(x)
66 #define betohl(x) BSWAP_32(x)
75 #define letohl(x) BSWAP_32(x)
76 #define htolel(x) BSWAP_32(x)
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h101 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16)) macro
102 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32))
H A Dfsys_zfs.c1258 while (encode_size = BSWAP_32(*(uint32_t *)nvlist)) in nvlist_array()
1286 encode_size = BSWAP_32(*(uint32_t *)nvpair); in nvlist_next_nvpair()
1309 len = BSWAP_32(*(uint32_t *)nvp); in nvpair_name()
1333 name_len = BSWAP_32(*(uint32_t *)nvp); in nvpair_type()
1339 type = BSWAP_32(*(uint32_t *)nvp); in nvpair_type()
1355 name_len = BSWAP_32(*(uint32_t *)nvp); in nvpair_value()
1362 type = BSWAP_32(*(uint32_t *)nvp); in nvpair_value()
1368 nelm = BSWAP_32(*(uint32_t *)nvp); in nvpair_value()
1378 slen = BSWAP_32(*(uint32_t *)nvp); in nvpair_value()
1412 int name_len = BSWAP_32(*(uint32_t *)(nvpair + 4 * 2)); in nvlist_lookup_value()
H A Dzfs_fletcher.c88 a += BSWAP_32(ip[0]); in fletcher_4_byteswap()
/titanic_41/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c47 #define __TO_B(bacc) (int32_t)(tos32((((BSWAP_32(bacc) & \
49 ((BSWAP_32(bacc) & 0xc00000) >> 14)), 10))
51 #define __TO_ACC(bacc) (uint32_t)(((BSWAP_32(bacc) & 0x3f0000) >> 16) | \
52 ((BSWAP_32(bacc) & 0xf000) >> 6))
54 #define __TO_ACC_EXP(bacc) (uint32_t)((BSWAP_32(bacc) & 0xc00) >> 10)
55 #define __TO_R_EXP(bacc) (int32_t)(tos32(((BSWAP_32(bacc) & 0xf0) >> 4),\
57 #define __TO_B_EXP(bacc) (int32_t)(tos32((BSWAP_32(bacc) & 0xf), 4))
/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_osdep.h110 #define IXGBE_CPU_TO_LE32 BSWAP_32
111 #define IXGBE_LE32_TO_CPUS BSWAP_32
/titanic_41/usr/src/common/zfs/
H A Dzfs_fletcher.c193 a += BSWAP_32(ip[0]); in fletcher_4_byteswap()
239 a += BSWAP_32(ip[0]); in fletcher_4_incremental_byteswap()
/titanic_41/usr/src/tools/cscope-fast/
H A Dinvlib.c516 *s = BSWAP_32(*s); in swap_ints()
550 count = 1 + BSWAP_32(*(uint32_t *)invcntl->iindex); in read_superfinger()
588 ecur->post = BSWAP_32(ecur->post); in read_logblock()
597 *postptr = BSWAP_32(*postptr); in read_logblock()
608 posting->lineoffset = BSWAP_32(posting->lineoffset); in read_next_posting()
609 posting->fcnoffset = BSWAP_32(posting->fcnoffset); in read_next_posting()
613 posting->fileindex = BSWAP_32(posting->fileindex << 8); in read_next_posting()
633 BSWAP_32(invcntl->param.version) != VERSION) { in invopen()
/titanic_41/usr/src/common/unicode/
H A Duconv.c401 u32s[u32l++] = (outendian) ? lo : BSWAP_32(lo); in uconv_u16tou32()
557 hi = (inendian) ? u32s[u32l] : BSWAP_32(u32s[u32l]); in uconv_u32tou16()
634 lo = (inendian) ? u32s[u32l] : BSWAP_32(u32s[u32l]); in uconv_u32tou8()
848 u32s[u32l++] = (outendian) ? hi : BSWAP_32(hi); in uconv_u8tou32()
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamlib.c50 #define letohl(x) BSWAP_32(x)
51 #define htolel(x) BSWAP_32(x)
/titanic_41/usr/src/lib/libuutil/common/
H A Dlibuutil_impl.h65 #define UU_PTR_ENCODE(ptr) BSWAP_32((uintptr_t)(void *)(ptr))
/titanic_41/usr/src/uts/common/io/skd/
H A Dskd.h58 #define be32_to_cpu(x) BSWAP_32(x)
60 #define cpu_to_be32(x) BSWAP_32(x)
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dosdep.h148 #define swab32(x) BSWAP_32(x)
/titanic_41/usr/src/uts/sparc/v9/os/
H A Dsimulator.c677 reven = BSWAP_32(reven); in simulate_lddstd()
678 rodd = BSWAP_32(rodd); in simulate_lddstd()
701 reven = BSWAP_32(reven); in simulate_lddstd()
702 rodd = BSWAP_32(rodd); in simulate_lddstd()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c2666 drre.drr_type = BSWAP_32(drre.drr_type); in zfs_receive_package()
2838 drr->drr_type = BSWAP_32(drr->drr_type); in recv_skip()
2855 BSWAP_32(drr->drr_u.drr_object. in recv_skip()
2882 BSWAP_32(drr->drr_u.drr_write_embedded. in recv_skip()
3537 if (drr.drr_type == DRR_END || drr.drr_type == BSWAP_32(DRR_END)) { in zfs_receive_impl()
3555 drr.drr_type = BSWAP_32(drr.drr_type); in zfs_receive_impl()
3556 drr.drr_payloadlen = BSWAP_32(drr.drr_payloadlen); in zfs_receive_impl()
3560 drrb->drr_type = BSWAP_32(drrb->drr_type); in zfs_receive_impl()
3561 drrb->drr_flags = BSWAP_32(drrb->drr_flags); in zfs_receive_impl()
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_signing.c55 #define htolel(x) BSWAP_32(x)
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h87 #define cpu_to_le32(x) BSWAP_32(x)
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c267 spi->pgr_rsvholder_indx = BSWAP_32(spi->pgr_rsvholder_indx); in sbd_swap_pgr_info()
268 spi->pgr_numkeys = BSWAP_32(spi->pgr_numkeys); in sbd_swap_pgr_info()

12