Searched refs:BSWAP_16 (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_byteswap.c41 ace->a_flags = BSWAP_16(ace->a_flags);
42 ace->a_type = BSWAP_16(ace->a_type);
82 zacep->z_hdr.z_flags = BSWAP_16(zacep->z_hdr.z_flags);
84 BSWAP_16(zacep->z_hdr.z_type);
93 acep->a_flags = BSWAP_16(acep->a_flags);
94 ace_type = acep->a_type = BSWAP_16(acep->a_type);
190 zp->zp_acl.z_acl_version = BSWAP_16(zp->zp_acl.z_acl_version);
191 zp->zp_acl.z_acl_count = BSWAP_16(zp->zp_acl.z_acl_count);
H A Dzap_leaf.c119 buf->l_hdr.lh_nfree = BSWAP_16(buf->l_hdr.lh_nfree);
120 buf->l_hdr.lh_nentries = BSWAP_16(buf->l_hdr.lh_nentries);
121 buf->l_hdr.lh_prefix_len = BSWAP_16(buf->l_hdr.lh_prefix_len);
122 buf->l_hdr.lh_freelist = BSWAP_16(buf->l_hdr.lh_freelist);
125 buf->l_hash[i] = BSWAP_16(buf->l_hash[i]);
137 le->le_next = BSWAP_16(le->le_next);
138 le->le_name_chunk = BSWAP_16(le->le_name_chunk);
139 le->le_name_numints = BSWAP_16(le->le_name_numints);
140 le->le_value_chunk = BSWAP_16(le->le_value_chunk);
141 le->le_value_numints = BSWAP_16(l
[all...]
H A Dsa.c1244 sa_hdr_phys->sa_layout_info = BSWAP_16(sa_hdr_phys->sa_layout_info);
1255 BSWAP_16(sa_hdr_phys->sa_lengths[i]);
H A Ddnode.c293 dnp->dn_datablkszsec = BSWAP_16(dnp->dn_datablkszsec);
294 dnp->dn_bonuslen = BSWAP_16(dnp->dn_bonuslen);
H A Ddmu.c2098 buf[i] = BSWAP_16(buf[i]);
H A Dzfs_vfsops.c613 sa.sa_layout_info = BSWAP_16(sa.sa_layout_info);
/illumos-gate/usr/src/uts/common/netsmb/
H A Dmchain.h63 #define htobes(x) BSWAP_16(x)
64 #define betohs(x) BSWAP_16(x)
73 #define letohs(x) BSWAP_16(x)
74 #define htoles(x) BSWAP_16(x)
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h100 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro
101 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16))
/illumos-gate/usr/src/uts/common/sys/
H A Dmdesc_impl.h84 #define mdtoh16(x) BSWAP_16((uint16_t)(x))
88 #define htomd16(x) BSWAP_16((uint16_t)(x))
H A Dbyteorder.h109 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro
115 #define BSWAP_16(x) htons(x) macro
150 #define LE_16(x) BSWAP_16(x)
159 #define BE_16(x) BSWAP_16(x)
/illumos-gate/usr/src/common/unicode/
H A Duconv.c380 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l]));
459 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l]));
584 u16s[u16l++] = BSWAP_16(((uint16_t)hi));
585 u16s[u16l++] = BSWAP_16(((uint16_t)lo));
591 BSWAP_16(((uint16_t)hi));
762 u16s[u16l++] = BSWAP_16(((uint16_t)hi));
763 u16s[u16l++] = BSWAP_16(((uint16_t)lo));
770 BSWAP_16(((uint16_t)hi));
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_osdep.h120 #define IXGBE_CPU_TO_BE16 BSWAP_16
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c42 #define __TO_TOL(mtol) (uint16_t)(BSWAP_16(mtol) & 0x3f)
44 #define __TO_M(mtol) (int16_t)(tos32((((BSWAP_16(mtol) & 0xff00) >> 8) | \
45 ((BSWAP_16(mtol) & 0xc0) << 2)), 10))
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h113 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro
114 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16))
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c836 sm->sm_ver_major = BSWAP_16(sm->sm_ver_major);
837 sm->sm_ver_minor = BSWAP_16(sm->sm_ver_minor);
838 sm->sm_ver_subminor = BSWAP_16(sm->sm_ver_subminor);
848 sm->sms_id = BSWAP_16(sm->sms_id);
866 sli->sli_blocksize = BSWAP_16(sli->sli_blocksize);
H A Dsbd_pgr.c275 key->pgr_key_lpt_len = BSWAP_16(key->pgr_key_lpt_len);
276 key->pgr_key_rpt_len = BSWAP_16(key->pgr_key_rpt_len);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.c587 ecur->offset = BSWAP_16(ecur->offset);
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h88 #define cpu_to_le16(x) BSWAP_16(x)
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_process.c2043 *wcharp = BSWAP_16(*wcharp);

Completed in 287 milliseconds