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

12

/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/uts/common/fs/zfs/
H A Dzfs_byteswap.c39 ace->a_who = BSWAP_32(ace->a_who);
40 ace->a_access_mask = BSWAP_32(ace->a_access_mask);
81 BSWAP_32(zacep->z_hdr.z_access_mask);
92 acep->a_access_mask = BSWAP_32(acep->a_access_mask);
95 acep->a_who = BSWAP_32(acep->a_who);
189 zp->zp_acl.z_acl_size = BSWAP_32(zp->zp_acl.z_acl_size);
/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) macro
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/cmd/zstreamdump/
H A Dzstreamdump.c317 drr->drr_type = BSWAP_32(drr->drr_type);
319 BSWAP_32(drr->drr_payloadlen);
347 drrb->drr_type = BSWAP_32(drrb->drr_type);
348 drrb->drr_flags = BSWAP_32(drrb->drr_flags);
431 drro->drr_type = BSWAP_32(drro->drr_type);
433 BSWAP_32(drro->drr_bonustype);
434 drro->drr_blksz = BSWAP_32(drro->drr_blksz);
436 BSWAP_32(drro->drr_bonuslen);
438 BSWAP_32(drro->drr_raw_bonuslen);
490 drrw->drr_type = BSWAP_32(drr
[all...]
/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 Dzfs_fletcher.c88 a += BSWAP_32(ip[0]);
H A Dfsys_zfs.c1263 while (encode_size = BSWAP_32(*(uint32_t *)nvlist))
1291 encode_size = BSWAP_32(*(uint32_t *)nvpair);
1314 len = BSWAP_32(*(uint32_t *)nvp);
1338 name_len = BSWAP_32(*(uint32_t *)nvp);
1344 type = BSWAP_32(*(uint32_t *)nvp);
1360 name_len = BSWAP_32(*(uint32_t *)nvp);
1367 type = BSWAP_32(*(uint32_t *)nvp);
1373 nelm = BSWAP_32(*(uint32_t *)nvp);
1383 slen = BSWAP_32(*(uint32_t *)nvp);
1417 int name_len = BSWAP_32(*(uint32_
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_osdep.h114 #define IXGBE_CPU_TO_LE32 BSWAP_32
115 #define IXGBE_LE32_TO_CPUS BSWAP_32
122 #define IXGBE_CPU_TO_BE32 BSWAP_32
/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/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]);
H A Dzfsimpl.h116 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16)) macro
117 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32))
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.c516 *s = BSWAP_32(*s);
550 count = 1 + BSWAP_32(*(uint32_t *)invcntl->iindex);
588 ecur->post = BSWAP_32(ecur->post);
597 *postptr = BSWAP_32(*postptr);
608 posting->lineoffset = BSWAP_32(posting->lineoffset);
609 posting->fcnoffset = BSWAP_32(posting->fcnoffset);
613 posting->fileindex = BSWAP_32(posting->fileindex << 8);
633 BSWAP_32(invcntl->param.version) != VERSION) {
/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/common/unicode/
H A Duconv.c401 u32s[u32l++] = (outendian) ? lo : BSWAP_32(lo);
557 hi = (inendian) ? u32s[u32l] : BSWAP_32(u32s[u32l]);
634 lo = (inendian) ? u32s[u32l] : BSWAP_32(u32s[u32l]);
848 u32s[u32l++] = (outendian) ? hi : BSWAP_32(hi);
/illumos-gate/usr/src/common/zfs/
H A Dzfs_fletcher.c262 a += BSWAP_32(ip[0]);
/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/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/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/common/fs/smbsrv/
H A Dsmb2_fsctl_odx.c737 tok->tok_type = BSWAP_32(tok->tok_type);
805 BSWAP_32(tok->tok_type),
H A Dsmb_signing.c54 #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)
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dsimulator.c677 reven = BSWAP_32(reven);
678 rodd = BSWAP_32(rodd);
701 reven = BSWAP_32(reven);
702 rodd = BSWAP_32(rodd);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c3103 drre.drr_type = BSWAP_32(drre.drr_type);
3287 drr->drr_type = BSWAP_32(drr->drr_type);
3304 BSWAP_32(drr->drr_u.drr_object.
3337 BSWAP_32(drr->drr_u.drr_write_embedded.
4493 if (drr.drr_type == DRR_END || drr.drr_type == BSWAP_32(DRR_END)) {
4512 drr.drr_type = BSWAP_32(drr.drr_type);
4513 drr.drr_payloadlen = BSWAP_32(drr.drr_payloadlen);
4517 drrb->drr_type = BSWAP_32(drrb->drr_type);
4518 drrb->drr_flags = BSWAP_32(drrb->drr_flags);

Completed in 252 milliseconds

12