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

/freebsd-10.1-release/sys/cddl/compat/opensolaris/sys/
H A Dbyteorder.h54 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro
55 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16))
72 #define LE_16(x) BSWAP_16(x)
81 #define BE_16(x) BSWAP_16(x)
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/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.c114 buf->l_hdr.lh_nfree = BSWAP_16(buf->l_hdr.lh_nfree);
115 buf->l_hdr.lh_nentries = BSWAP_16(buf->l_hdr.lh_nentries);
116 buf->l_hdr.lh_prefix_len = BSWAP_16(buf->l_hdr.lh_prefix_len);
117 buf->l_hdr.lh_freelist = BSWAP_16(buf->l_hdr.lh_freelist);
120 buf->l_hash[i] = BSWAP_16(buf->l_hash[i]);
132 le->le_next = BSWAP_16(le->le_next);
133 le->le_name_chunk = BSWAP_16(le->le_name_chunk);
134 le->le_name_numints = BSWAP_16(le->le_name_numints);
135 le->le_value_chunk = BSWAP_16(le->le_value_chunk);
136 le->le_value_numints = BSWAP_16(l
[all...]
H A Dsa.c1253 sa_hdr_phys->sa_layout_info = BSWAP_16(sa_hdr_phys->sa_layout_info);
1264 BSWAP_16(sa_hdr_phys->sa_lengths[i]);
H A Ddnode.c298 dnp->dn_datablkszsec = BSWAP_16(dnp->dn_datablkszsec);
299 dnp->dn_bonuslen = BSWAP_16(dnp->dn_bonuslen);
H A Ddmu.c1950 buf[i] = BSWAP_16(buf[i]);
H A Dzfs_vfsops.c622 sa.sa_layout_info = BSWAP_16(sa.sa_layout_info);
/freebsd-10.1-release/cddl/contrib/dtracetoolkit/Bin/
H A Dtcpsnoop.d140 self->lport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_lport);
141 self->fport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_fport);
248 self->lport = BSWAP_16((uint16_t)arg0);
249 self->fport = BSWAP_16((uint16_t)arg1);
H A Dtcpsnoop_snv.d142 self->lport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_lport);
143 self->fport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_fport);
250 self->lport = BSWAP_16((uint16_t)arg0);
251 self->fport = BSWAP_16((uint16_t)arg1);
/freebsd-10.1-release/cddl/contrib/dtracetoolkit/Net/
H A Dtcpsnoop.d140 self->lport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_lport);
141 self->fport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_fport);
248 self->lport = BSWAP_16((uint16_t)arg0);
249 self->fport = BSWAP_16((uint16_t)arg1);
H A Dtcpsnoop_snv.d142 self->lport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_lport);
143 self->fport = BSWAP_16(self->connp->u_port.tcpu_ports.tcpu_fport);
250 self->lport = BSWAP_16((uint16_t)arg0);
251 self->fport = BSWAP_16((uint16_t)arg1);
/freebsd-10.1-release/contrib/xz/src/common/
H A Dtuklib_integer.h71 # ifdef BSWAP_16
72 # define bswap16(num) BSWAP_16(num)
/freebsd-10.1-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c71 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro
72 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16))
74 #define SWAP_16(x) (x) = BSWAP_16(x)
/freebsd-10.1-release/sys/cddl/boot/zfs/
H A Dzfsimpl.h111 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro
112 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16))
/freebsd-10.1-release/sys/dev/oce/
H A Doce_if.h201 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) macro
202 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | \
203 BSWAP_16((x) >> 16))
H A Doce_if.c1317 vtag = BSWAP_16(cqe->u0.s.vlan_tag);

Completed in 206 milliseconds