Home
last modified time | relevance | path

Searched refs:BSWAP_16 (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_byteswap.c41 ace->a_flags = BSWAP_16(ace->a_flags); in zfs_oldace_byteswap()
42 ace->a_type = BSWAP_16(ace->a_type); in zfs_oldace_byteswap()
82 zacep->z_hdr.z_flags = BSWAP_16(zacep->z_hdr.z_flags); in zfs_ace_byteswap()
84 BSWAP_16(zacep->z_hdr.z_type); in zfs_ace_byteswap()
93 acep->a_flags = BSWAP_16(acep->a_flags); in zfs_ace_byteswap()
94 ace_type = acep->a_type = BSWAP_16(acep->a_type); in zfs_ace_byteswap()
190 zp->zp_acl.z_acl_version = BSWAP_16(zp->zp_acl.z_acl_version); in zfs_znode_byteswap()
191 zp->zp_acl.z_acl_count = BSWAP_16(zp->zp_acl.z_acl_count); in zfs_znode_byteswap()
H A Dzap_leaf.c120 buf->l_hdr.lh_nfree = BSWAP_16(buf->l_hdr.lh_nfree); in zap_leaf_byteswap()
121 buf->l_hdr.lh_nentries = BSWAP_16(buf->l_hdr.lh_nentries); in zap_leaf_byteswap()
123 buf->l_hdr.lh_freelist = BSWAP_16(buf->l_hdr.lh_freelist); in zap_leaf_byteswap()
126 buf->l_hash[i] = BSWAP_16(buf->l_hash[i]); in zap_leaf_byteswap()
138 le->le_next = BSWAP_16(le->le_next); in zap_leaf_byteswap()
139 le->le_name_chunk = BSWAP_16(le->le_name_chunk); in zap_leaf_byteswap()
140 le->le_name_numints = BSWAP_16(le->le_name_numints); in zap_leaf_byteswap()
141 le->le_value_chunk = BSWAP_16(le->le_value_chunk); in zap_leaf_byteswap()
142 le->le_value_numints = BSWAP_16(le->le_value_numints); in zap_leaf_byteswap()
148 lc->l_free.lf_next = BSWAP_16(lc->l_free.lf_next); in zap_leaf_byteswap()
[all …]
H A Dzio_crypt.c1076 adnp->dn_datablkszsec = BSWAP_16(adnp->dn_datablkszsec); in zio_crypt_do_dnode_hmac_updates()
1077 adnp->dn_bonuslen = BSWAP_16(adnp->dn_bonuslen); in zio_crypt_do_dnode_hmac_updates()
H A Dsa.c1249 sa_hdr_phys->sa_layout_info = BSWAP_16(sa_hdr_phys->sa_layout_info); in sa_byteswap()
1260 BSWAP_16(sa_hdr_phys->sa_lengths[i]); in sa_byteswap()
H A Ddnode.c330 dnp->dn_datablkszsec = BSWAP_16(dnp->dn_datablkszsec); in dnode_byteswap()
331 dnp->dn_bonuslen = BSWAP_16(dnp->dn_bonuslen); in dnode_byteswap()
H A Dzfs_vfsops.c629 sa.sa_layout_info = BSWAP_16(sa.sa_layout_info); in zfs_space_delta_cb()
H A Ddmu.c2592 buf[i] = BSWAP_16(buf[i]); in byteswap_uint16_array()
/illumos-gate/usr/src/uts/common/netsmb/
H A Dmchain.h65 #define htobes(x) BSWAP_16(x)
66 #define betohs(x) BSWAP_16(x)
75 #define letohs(x) BSWAP_16(x)
76 #define htoles(x) BSWAP_16(x)
/illumos-gate/usr/src/common/unicode/
H A Duconv.c378 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l])); in uconv_u16tou32()
457 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l])); in uconv_u16tou8()
582 u16s[u16l++] = BSWAP_16(((uint16_t)hi)); in uconv_u32tou16()
583 u16s[u16l++] = BSWAP_16(((uint16_t)lo)); in uconv_u32tou16()
589 BSWAP_16(((uint16_t)hi)); in uconv_u32tou16()
760 u16s[u16l++] = BSWAP_16(((uint16_t)hi)); in uconv_u8tou16()
761 u16s[u16l++] = BSWAP_16(((uint16_t)lo)); in uconv_u8tou16()
768 BSWAP_16(((uint16_t)hi)); in uconv_u8tou16()
/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 Dbyteorder.h109 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro
115 #define BSWAP_16(x) htons(x)
150 #define LE_16(x) BSWAP_16(x)
159 #define BE_16(x) BSWAP_16(x)
H A Dmdesc_impl.h84 #define mdtoh16(x) BSWAP_16((uint16_t)(x))
88 #define htomd16(x) BSWAP_16((uint16_t)(x))
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_osdep.h115 #define IXGBE_CPU_TO_LE16 BSWAP_16
125 #define IXGBE_CPU_TO_BE16 BSWAP_16
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c46 #define __TO_TOL(mtol) (uint16_t)(BSWAP_16(mtol) & 0x3f)
48 #define __TO_M(mtol) (int16_t)(tos32((((BSWAP_16(mtol) & 0xff00) >> 8) | \
49 ((BSWAP_16(mtol) & 0xc0) << 2)), 10))
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_fsctl_odx.c879 tok->tok_len = BSWAP_16(tok->tok_len); in smb_odx_get_token()
949 BSWAP_16(tok->tok_len)); in smb_odx_put_token()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Dbcm_osal.h352 #define OSAL_CPU_TO_LE16(val) BSWAP_16(val)
354 #define OSAL_LE16_TO_CPU(val) BSWAP_16(val)
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h127 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro
128 #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.c868 sm->sm_ver_major = BSWAP_16(sm->sm_ver_major); in sbd_swap_meta_start()
869 sm->sm_ver_minor = BSWAP_16(sm->sm_ver_minor); in sbd_swap_meta_start()
870 sm->sm_ver_subminor = BSWAP_16(sm->sm_ver_subminor); in sbd_swap_meta_start()
880 sm->sms_id = BSWAP_16(sm->sms_id); in sbd_swap_section_hdr()
898 sli->sli_blocksize = BSWAP_16(sli->sli_blocksize); in sbd_swap_lu_info_1_0()
H A Dsbd_pgr.c277 key->pgr_key_lpt_len = BSWAP_16(key->pgr_key_lpt_len); in sbd_swap_pgrkey_info()
278 key->pgr_key_rpt_len = BSWAP_16(key->pgr_key_rpt_len); in sbd_swap_pgrkey_info()
/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/tools/cscope-fast/
H A Dinvlib.c585 ecur->offset = BSWAP_16(ecur->offset); in read_logblock()