Searched refs:BSWAP_16 (Results 1 – 17 of 17) sorted by relevance
41 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()
119 buf->l_hdr.lh_nfree = BSWAP_16(buf->l_hdr.lh_nfree); in zap_leaf_byteswap()120 buf->l_hdr.lh_nentries = BSWAP_16(buf->l_hdr.lh_nentries); in zap_leaf_byteswap()121 buf->l_hdr.lh_prefix_len = BSWAP_16(buf->l_hdr.lh_prefix_len); in zap_leaf_byteswap()122 buf->l_hdr.lh_freelist = BSWAP_16(buf->l_hdr.lh_freelist); in zap_leaf_byteswap()125 buf->l_hash[i] = BSWAP_16(buf->l_hash[i]); in zap_leaf_byteswap()137 le->le_next = BSWAP_16(le->le_next); in zap_leaf_byteswap()138 le->le_name_chunk = BSWAP_16(le->le_name_chunk); in zap_leaf_byteswap()139 le->le_name_numints = BSWAP_16(le->le_name_numints); in zap_leaf_byteswap()140 le->le_value_chunk = BSWAP_16(le->le_value_chunk); in zap_leaf_byteswap()141 le->le_value_numints = BSWAP_16(le->le_value_numints); in zap_leaf_byteswap()[all …]
1245 sa_hdr_phys->sa_layout_info = BSWAP_16(sa_hdr_phys->sa_layout_info); in sa_byteswap()1256 BSWAP_16(sa_hdr_phys->sa_lengths[i]); in sa_byteswap()
294 dnp->dn_datablkszsec = BSWAP_16(dnp->dn_datablkszsec); in dnode_byteswap()295 dnp->dn_bonuslen = BSWAP_16(dnp->dn_bonuslen); in dnode_byteswap()
2005 buf[i] = BSWAP_16(buf[i]); in byteswap_uint16_array()
638 sa.sa_layout_info = BSWAP_16(sa.sa_layout_info); in zfs_space_delta_cb()
63 #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)
380 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l])); in uconv_u16tou32()459 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l])); in uconv_u16tou8()584 u16s[u16l++] = BSWAP_16(((uint16_t)hi)); in uconv_u32tou16()585 u16s[u16l++] = BSWAP_16(((uint16_t)lo)); in uconv_u32tou16()591 BSWAP_16(((uint16_t)hi)); in uconv_u32tou16()762 u16s[u16l++] = BSWAP_16(((uint16_t)hi)); in uconv_u8tou16()763 u16s[u16l++] = BSWAP_16(((uint16_t)lo)); in uconv_u8tou16()770 BSWAP_16(((uint16_t)hi)); in uconv_u8tou16()
100 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro101 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16))
109 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro115 #define BSWAP_16(x) htons(x)150 #define LE_16(x) BSWAP_16(x)159 #define BE_16(x) BSWAP_16(x)
84 #define mdtoh16(x) BSWAP_16((uint16_t)(x))88 #define htomd16(x) BSWAP_16((uint16_t)(x))
42 #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))
836 sm->sm_ver_major = BSWAP_16(sm->sm_ver_major); in sbd_swap_meta_start()837 sm->sm_ver_minor = BSWAP_16(sm->sm_ver_minor); in sbd_swap_meta_start()838 sm->sm_ver_subminor = BSWAP_16(sm->sm_ver_subminor); in sbd_swap_meta_start()848 sm->sms_id = BSWAP_16(sm->sms_id); in sbd_swap_section_hdr()866 sli->sli_blocksize = BSWAP_16(sli->sli_blocksize); in sbd_swap_lu_info_1_0()
275 key->pgr_key_lpt_len = BSWAP_16(key->pgr_key_lpt_len); in sbd_swap_pgrkey_info()276 key->pgr_key_rpt_len = BSWAP_16(key->pgr_key_rpt_len); in sbd_swap_pgrkey_info()
88 #define cpu_to_le16(x) BSWAP_16(x)
587 ecur->offset = BSWAP_16(ecur->offset); in read_logblock()
2043 *wcharp = BSWAP_16(*wcharp); in ndr_mbtowc()