Home
last modified time | relevance | path

Searched refs:BSWAP_8 (Results 1 – 5 of 5) sorted by path

/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h126 #define BSWAP_8(x) ((x) & 0xff) macro
127 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8))
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h99 #define BSWAP_8(x) ((x) & 0xff) macro
100 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8))
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddnode.c332 dnp->dn_extra_slots = BSWAP_8(dnp->dn_extra_slots); in dnode_byteswap()
H A Dzap_leaf.c136 le->le_type = BSWAP_8(le->le_type); in zap_leaf_byteswap()
137 le->le_value_intlen = BSWAP_8(le->le_value_intlen); in zap_leaf_byteswap()
147 lc->l_free.lf_type = BSWAP_8(lc->l_free.lf_type); in zap_leaf_byteswap()
151 lc->l_array.la_type = BSWAP_8(lc->l_array.la_type); in zap_leaf_byteswap()
/illumos-gate/usr/src/uts/common/sys/
H A Dbyteorder.h107 #define BSWAP_8(x) ((x) & 0xff) macro
109 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8))
149 #define LE_8(x) BSWAP_8(x)
158 #define BE_8(x) BSWAP_8(x)