Home
last modified time | relevance | path

Searched refs:BSWAP_32 (Results 1 – 25 of 40) sorted by last modified time

12

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c3147 drre.drr_type = BSWAP_32(drre.drr_type); in zfs_receive_package()
3331 drr->drr_type = BSWAP_32(drr->drr_type); in recv_skip()
3348 BSWAP_32(drr->drr_u.drr_object. in recv_skip()
3382 BSWAP_32(drr->drr_u.drr_write_embedded. in recv_skip()
4550 if (drr.drr_type == DRR_END || drr.drr_type == BSWAP_32(DRR_END)) { in zfs_receive_impl()
4569 drr.drr_type = BSWAP_32(drr.drr_type); in zfs_receive_impl()
4570 drr.drr_payloadlen = BSWAP_32(drr.drr_payloadlen); in zfs_receive_impl()
4574 drrb->drr_type = BSWAP_32(drrb->drr_type); in zfs_receive_impl()
4575 drrb->drr_flags = BSWAP_32(drrb->drr_flags); in zfs_receive_impl()
/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.c361 a += BSWAP_32(ip[0]); in fletcher_4_scalar_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/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/fs/zfs/
H A Dsa.c1248 sa_hdr_phys->sa_magic = BSWAP_32(sa_hdr_phys->sa_magic); in sa_byteswap()
1287 VERIFY(BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC); in sa_build_index()
H A Ddmu.c2579 buf[i] = BSWAP_32(buf[i]); in byteswap_uint32_array()
H A Dzfs_vfsops.c627 if (sa.sa_magic == BSWAP_32(SA_MAGIC)) { in zfs_space_delta_cb()
H A Ddmu_recv.c966 #define DO32(X) (drr->drr_u.X = BSWAP_32(drr->drr_u.X)) in byteswap_record()
967 drr->drr_type = BSWAP_32(drr->drr_type); in byteswap_record()
968 drr->drr_payloadlen = BSWAP_32(drr->drr_payloadlen); in byteswap_record()
H A Dzio_crypt.c777 BP_SET_IV2(bp, BSWAP_32(val32)); in zio_crypt_encode_params_bp()
809 val32 = BSWAP_32((uint32_t)BP_GET_IV2(bp)); in zio_crypt_decode_params_bp()
/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/comstar/port/qlt/
H A Dqlt.c2807 intp[i] = BSWAP_32(intp[i]); in qlt_ioctl()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_signing.c55 #define htolel(x) BSWAP_32(x)
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()
/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/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/grub/grub-0.97/stage2/
H A Dzfs_fletcher.c86 a += BSWAP_32(ip[0]); in fletcher_4_byteswap()
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()
/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/scsi/adapters/pmcs/
H A Dpmcs_subr.c8371 ila_len = BSWAP_32(pmcs_rd_gsm_reg(pwp, GSM_FLASH_BASE_UPPER, in pmcs_get_fw_version()
8382 ver_hi = BSWAP_32(pmcs_rd_gsm_reg(pwp, GSM_FLASH_BASE_UPPER, in pmcs_get_fw_version()
8384 ver_lo = BSWAP_32(pmcs_rd_gsm_reg(pwp, GSM_FLASH_BASE_UPPER, in pmcs_get_fw_version()
8393 img_flag = (BSWAP_32(pmcs_rd_gsm_reg(pwp, GSM_FLASH_BASE_UPPER, in pmcs_get_fw_version()
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c879 sm->sms_size = BSWAP_32(sm->sms_size); in sbd_swap_section_hdr()
897 sli->sli_flags = BSWAP_32(sli->sli_flags); in sbd_swap_lu_info_1_0()
909 sli->sli_flags = BSWAP_32(sli->sli_flags); in sbd_swap_lu_info_1_1()
/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/sys/
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/sys/fibre-channel/fca/qlge/
H A Dqlge.h87 #define cpu_to_le32(x) BSWAP_32(x)

12