Searched refs:BSWAP_16 (Results 1 – 13 of 13) sorted by relevance
51 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro52 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16))69 #define LE_16(x) BSWAP_16(x)78 #define BE_16(x) BSWAP_16(x)
44 ace->a_flags = BSWAP_16(ace->a_flags); in zfs_oldace_byteswap()45 ace->a_type = BSWAP_16(ace->a_type); in zfs_oldace_byteswap()88 zacep->z_hdr.z_flags = BSWAP_16(zacep->z_hdr.z_flags); in zfs_ace_byteswap()90 BSWAP_16(zacep->z_hdr.z_type); in zfs_ace_byteswap()99 acep->a_flags = BSWAP_16(acep->a_flags); in zfs_ace_byteswap()100 ace_type = acep->a_type = BSWAP_16(acep->a_type); in zfs_ace_byteswap()196 zp->zp_acl.z_acl_version = BSWAP_16(zp->zp_acl.z_acl_version); in zfs_znode_byteswap()197 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()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()147 lc->l_free.lf_next = BSWAP_16(lc->l_free.lf_next); in zap_leaf_byteswap()[all …]
86 sa.sa_layout_info = BSWAP_16(sa.sa_layout_info); in zpl_get_file_info()
1253 sa_hdr_phys->sa_layout_info = BSWAP_16(sa_hdr_phys->sa_layout_info); in sa_byteswap()1264 BSWAP_16(sa_hdr_phys->sa_lengths[i]); in sa_byteswap()
325 dnp->dn_datablkszsec = BSWAP_16(dnp->dn_datablkszsec); in dnode_byteswap()326 dnp->dn_bonuslen = BSWAP_16(dnp->dn_bonuslen); in dnode_byteswap()
2262 buf[i] = BSWAP_16(buf[i]); in byteswap_uint16_array()
66 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro67 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16))84 #define LE_16(x) BSWAP_16(x)93 #define BE_16(x) BSWAP_16(x)
40 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro41 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16))
97 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro98 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16))115 #define LE_16(x) BSWAP_16(x)124 #define BE_16(x) BSWAP_16(x)
379 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l])); in uconv_u16tou32()458 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l])); in uconv_u16tou8()583 u16s[u16l++] = BSWAP_16(((uint16_t)hi)); in uconv_u32tou16()584 u16s[u16l++] = BSWAP_16(((uint16_t)lo)); in uconv_u32tou16()590 BSWAP_16(((uint16_t)hi)); in uconv_u32tou16()761 u16s[u16l++] = BSWAP_16(((uint16_t)hi)); in uconv_u8tou16()762 u16s[u16l++] = BSWAP_16(((uint16_t)lo)); in uconv_u8tou16()769 BSWAP_16(((uint16_t)hi)); in uconv_u8tou16()
976 adnp->dn_datablkszsec = BSWAP_16(adnp->dn_datablkszsec); in zio_crypt_do_dnode_hmac_updates()977 adnp->dn_bonuslen = BSWAP_16(adnp->dn_bonuslen); in zio_crypt_do_dnode_hmac_updates()
1060 adnp->dn_datablkszsec = BSWAP_16(adnp->dn_datablkszsec); in zio_crypt_do_dnode_hmac_updates()1061 adnp->dn_bonuslen = BSWAP_16(adnp->dn_bonuslen); in zio_crypt_do_dnode_hmac_updates()