/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_byteswap.c | 39 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 D | zstreamdump.c | 273 drr->drr_type = BSWAP_32(drr->drr_type); in main() 275 BSWAP_32(drr->drr_payloadlen); in main() 303 drrb->drr_type = BSWAP_32(drrb->drr_type); in main() 304 drrb->drr_flags = BSWAP_32(drrb->drr_flags); in main() 387 drro->drr_type = BSWAP_32(drro->drr_type); in main() 389 BSWAP_32(drro->drr_bonustype); in main() 390 drro->drr_blksz = BSWAP_32(drro->drr_blksz); in main() 392 BSWAP_32(drro->drr_bonuslen); in main() 394 BSWAP_32(drro->drr_raw_bonuslen); in main() 446 drrw->drr_type = BSWAP_32(drrw->drr_type); in main() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | byteorder.h | 110 #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 D | mdesc_impl.h | 85 #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 D | ixgbe_osdep.h | 116 #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 D | mchain.h | 67 #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 D | fsys_zfs.h | 101 #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 D | fsys_zfs.c | 1264 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 D | zfs_fletcher.c | 86 a += BSWAP_32(ip[0]); in fletcher_4_byteswap()
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_sdr.c | 51 #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 D | zfs_fletcher_superscalar4.c | 183 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 D | zfs_fletcher_sse.c | 144 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 D | zfs_fletcher_superscalar.c | 133 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 D | invlib.c | 514 *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 D | uconv.c | 399 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 D | bcm_osal.h | 351 #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 D | samlib.c | 50 #define letohl(x) BSWAP_32(x) 51 #define htolel(x) BSWAP_32(x)
|
/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.h | 58 #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 D | libuutil_impl.h | 63 #define UU_PTR_ENCODE(ptr) BSWAP_32((uintptr_t)(void *)(ptr))
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | fletcher.c | 89 a += BSWAP_32(ip[0]); in fletcher_4_byteswap()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/shared/ |
H A D | osdep.h | 85 #define swab32(x) BSWAP_32(x)
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_ntlmssp.c | 39 #define letohl(x) BSWAP_32(x) 40 #define htolel(x) BSWAP_32(x)
|
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | simulator.c | 677 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 D | smb2_fsctl_odx.c | 878 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 D | smb_signing.c | 55 #define htolel(x) BSWAP_32(x)
|