Home
last modified time | relevance | path

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

12

/illumos-gate/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()
/illumos-gate/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c318 drr->drr_type = BSWAP_32(drr->drr_type); in main()
320 BSWAP_32(drr->drr_payloadlen); in main()
348 drrb->drr_type = BSWAP_32(drrb->drr_type); in main()
432 drro->drr_type = BSWAP_32(drro->drr_type); in main()
434 BSWAP_32(drro->drr_bonustype); in main()
437 BSWAP_32(drro->drr_bonuslen); in main()
439 BSWAP_32(drro->drr_raw_bonuslen); in main()
491 drrw->drr_type = BSWAP_32(drrw->drr_type); in main()
608 drrs->drr_type = BSWAP_32(drrs->drr_type); in main()
653 BSWAP_32(drrwe->drr_lsize); in main()
[all …]
/illumos-gate/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))
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_osdep.h116 #define IXGBE_CPU_TO_LE32 BSWAP_32
117 #define IXGBE_LE32_TO_CPUS(x) *(x) = BSWAP_32(*(x))
126 #define IXGBE_CPU_TO_BE32 BSWAP_32
127 #define IXGBE_BE32_TO_CPU BSWAP_32
/illumos-gate/usr/src/uts/common/netsmb/
H A Dmchain.h67 #define htobel(x) BSWAP_32(x)
68 #define betohl(x) BSWAP_32(x)
77 #define letohl(x) BSWAP_32(x)
78 #define htolel(x) BSWAP_32(x)
/illumos-gate/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.c1264 while (encode_size = BSWAP_32(*(uint32_t *)nvlist)) in nvlist_array()
1292 encode_size = BSWAP_32(*(uint32_t *)nvpair); in nvlist_next_nvpair()
1315 len = BSWAP_32(*(uint32_t *)nvp); in nvpair_name()
1339 name_len = BSWAP_32(*(uint32_t *)nvp); in nvpair_type()
1345 type = BSWAP_32(*(uint32_t *)nvp); in nvpair_type()
1361 name_len = BSWAP_32(*(uint32_t *)nvp); in nvpair_value()
1368 type = BSWAP_32(*(uint32_t *)nvp); in nvpair_value()
1374 nelm = BSWAP_32(*(uint32_t *)nvp); in nvpair_value()
1384 slen = BSWAP_32(*(uint32_t *)nvp); in nvpair_value()
1418 int name_len = BSWAP_32(*(uint32_t *)(nvpair + 4 * 2)); in nvlist_lookup_value()
H A Dzfs_fletcher.c86 a += BSWAP_32(ip[0]); in fletcher_4_byteswap()
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c51 #define __TO_B(bacc) (int32_t)(tos32((((BSWAP_32(bacc) & \
53 ((BSWAP_32(bacc) & 0xc00000) >> 14)), 10))
55 #define __TO_ACC(bacc) (uint32_t)(((BSWAP_32(bacc) & 0x3f0000) >> 16) | \
56 ((BSWAP_32(bacc) & 0xf000) >> 6))
58 #define __TO_ACC_EXP(bacc) (uint32_t)((BSWAP_32(bacc) & 0xc00) >> 10)
59 #define __TO_R_EXP(bacc) (int32_t)(tos32(((BSWAP_32(bacc) & 0xf0) >> 4),\
61 #define __TO_B_EXP(bacc) (int32_t)(tos32((BSWAP_32(bacc) & 0xf), 4))
/illumos-gate/usr/src/common/zfs/
H A Dzfs_fletcher_superscalar4.c183 a += BSWAP_32(ip[0]); in fletcher_4_superscalar4_byteswap()
184 a2 += BSWAP_32(ip[1]); in fletcher_4_superscalar4_byteswap()
185 a3 += BSWAP_32(ip[2]); in fletcher_4_superscalar4_byteswap()
186 a4 += BSWAP_32(ip[3]); in fletcher_4_superscalar4_byteswap()
H A Dzfs_fletcher_sse.c144 uint32_t scratch1 = BSWAP_32(ip[0]); in fletcher_4_sse2_byteswap()
145 uint32_t scratch2 = BSWAP_32(ip[1]); in fletcher_4_sse2_byteswap()
H A Dzfs_fletcher_superscalar.c133 a += BSWAP_32(ip[0]); in fletcher_4_superscalar_byteswap()
134 a2 += BSWAP_32(ip[1]); in fletcher_4_superscalar_byteswap()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.c514 *s = BSWAP_32(*s); in swap_ints()
548 count = 1 + BSWAP_32(*(uint32_t *)invcntl->iindex); in read_superfinger()
586 ecur->post = BSWAP_32(ecur->post); in read_logblock()
595 *postptr = BSWAP_32(*postptr); in read_logblock()
606 posting->lineoffset = BSWAP_32(posting->lineoffset); in read_next_posting()
607 posting->fcnoffset = BSWAP_32(posting->fcnoffset); in read_next_posting()
611 posting->fileindex = BSWAP_32(posting->fileindex << 8); in read_next_posting()
631 BSWAP_32(invcntl->param.version) != VERSION) { in invopen()
/illumos-gate/usr/src/common/unicode/
H A Duconv.c399 u32s[u32l++] = (outendian) ? lo : BSWAP_32(lo); in uconv_u16tou32()
555 hi = (inendian) ? u32s[u32l] : BSWAP_32(u32s[u32l]); in uconv_u32tou16()
632 lo = (inendian) ? u32s[u32l] : BSWAP_32(u32s[u32l]); in uconv_u32tou8()
846 u32s[u32l++] = (outendian) ? hi : BSWAP_32(hi); in uconv_u8tou32()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Dbcm_osal.h351 #define OSAL_CPU_TO_LE32(val) BSWAP_32(val)
353 #define OSAL_LE32_TO_CPU(val) BSWAP_32(val)
358 #define OSAL_CPU_TO_BE32(val) BSWAP_32(val)
359 #define OSAL_BE32_TO_CPU(val) BSWAP_32(val)
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamlib.c50 #define letohl(x) BSWAP_32(x)
51 #define htolel(x) BSWAP_32(x)
/illumos-gate/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)
/illumos-gate/usr/src/lib/libuutil/common/
H A Dlibuutil_impl.h63 #define UU_PTR_ENCODE(ptr) BSWAP_32((uintptr_t)(void *)(ptr))
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dfletcher.c89 a += BSWAP_32(ip[0]); in fletcher_4_byteswap()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_ntlmssp.c39 #define letohl(x) BSWAP_32(x)
40 #define htolel(x) BSWAP_32(x)
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_fsctl_odx.c878 tok->tok_type = BSWAP_32(tok->tok_type); in smb_odx_get_token()
947 BSWAP_32(tok->tok_type), in smb_odx_put_token()
H A Dsmb_signing.c55 #define htolel(x) BSWAP_32(x)
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dosdep.h166 #define swab32(x) BSWAP_32(x)

12