Home
last modified time | relevance | path

Searched refs:SWAP16 (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c55 #define SWAP16(x) (x) macro
151 otp->tag_id = SWAP16(itp->tag_id); in maketag()
184 id = SWAP16(tp->tag_id); in verifytag()
187 vers = SWAP16(tp->tag_desc_ver); in verifytag()
190 length = SWAP16(tp->tag_crc_len); in verifytag()
318 p->pvd_vsn = SWAP16(p->pvd_vsn); in ud_swap_pri_vol_desc()
319 p->pvd_mvsn = SWAP16(p->pvd_mvsn); in ud_swap_pri_vol_desc()
320 p->pvd_il = SWAP16(p->pvd_il); in ud_swap_pri_vol_desc()
321 p->pvd_mil = SWAP16(p->pvd_mil); in ud_swap_pri_vol_desc()
362 p->pd_pnum = SWAP16(p->pd_pnum); in ud_swap_part_desc()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.h68 #define SWAP16(value) \ macro
72 (((uint32_t)SWAP16((uint16_t)((value) & 0xffff)) << 16) | \
73 (uint32_t)SWAP16((uint16_t)((value) >> 16)))
80 #define SWAP16(value) (value) macro
/illumos-gate/usr/src/common/crypto/rng/
H A Dfips_random.c69 #define SWAP16(value) \ macro
73 (((uint32_t)SWAP16((uint16_t)((value) & 0xffff)) << 16) | \
74 (uint32_t)SWAP16((uint16_t)((value) >> 16)))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8_conv.c112 #ifndef SWAP16 in k5_utf8s_to_ucs2s()
113 #define SWAP16(X) ((((X) << 8) | ((X) >> 8)) & 0xFFFF) in k5_utf8s_to_ucs2s() macro
116 ucs2str[ucs2len] = SWAP16(ch); in k5_utf8s_to_ucs2s()
279 ch = SWAP16(ch); in k5_ucs2s_to_utf8s()
300 ch = SWAP16(ch); in k5_ucs2s_to_utf8s()
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_conv.c145 SWAP16(p);
148 SWAP16(p);
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dfsck.h49 #define SWAP16(x) (((x) & 0xff) << 8 | ((x) >> 8) & 0xff) macro
54 #define SWAP16(x) (x)
H A Dpass1.c446 xoff < sizeof (fidp->fid_tag) + SWAP16(fidp->fid_tag.tag_crc_len)) { in getdir()
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_swap.h101 #define SWAP16(p) { \ macro
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h2252 #define SWAP16(_x) ((((uint16_t)(_x) & 0xFF)<<8) | \ macro
2269 #define LE_SWAP16(_x) SWAP16(_x)
2296 #define BE_SWAP16(_x) SWAP16(_x)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpac.c52 #elif defined(__GNUC__) && defined(K5_BE) && defined(SWAP16) in load_16_le()
90 #elif defined(__GNUC__) && defined(K5_BE) && defined(SWAP16) in store_16_le()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcf.c5811 *sptr = SWAP16(s); in emlxs_fcoe_fcftab_read_mbcmpl()