Home
last modified time | relevance | path

Searched refs:SWAP32 (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c53 #define SWAP64(x) (SWAP32((x) >> 32) & 0xffffffff | SWAP32(x) << 32)
56 #define SWAP32(x) (x) macro
195 tloc = SWAP32(tp->tag_loc); in verifytag()
275 p->ext_len = SWAP32(p->ext_len); in ud_swap_ext_ad()
276 p->ext_loc = SWAP32(p->ext_loc); in ud_swap_ext_ad()
322 p->pvd_csl = SWAP32(p->pvd_csl); in ud_swap_pri_vol_desc()
360 p->pd_vdsn = SWAP32(p->pd_vdsn); in ud_swap_part_desc()
395 p->ua_vdsn = SWAP32(p->ua_vdsn); in ud_swap_unall_desc()
396 p->ua_nad = SWAP32(p->ua_nad); in ud_swap_unall_desc()
498 p->fe_uid = SWAP32(p->fe_uid); in ud_swap_file_entry()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_conv.c99 SWAP32(p); /* pgno */
100 SWAP32(p); /* magic */
101 SWAP32(p); /* version */
102 SWAP32(p); /* pagesize */
106 SWAP32(p); /* high_mask */
107 SWAP32(p); /* low_mask */
108 SWAP32(p); /* ffactor */
109 SWAP32(p); /* nelem */
110 SWAP32(p); /* h_charkey */
111 SWAP32(p); /* flags */
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_conv.c82 SWAP32(p); /* lsn.file */
83 SWAP32(p); /* lsn.offset */
84 SWAP32(p); /* pgno */
85 SWAP32(p); /* magic */
86 SWAP32(p); /* version */
87 SWAP32(p); /* pagesize */
88 SWAP32(p); /* maxkey */
89 SWAP32(p); /* minkey */
90 SWAP32(p); /* free */
91 SWAP32(p); /* flags */
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.h71 #define SWAP32(value) \ macro
76 (((uint64_t)SWAP32((uint32_t)((value) & 0xffffffff)) \
78 (uint64_t)SWAP32((uint32_t)((value) >> 32)))
81 #define SWAP32(value) (value) macro
H A DsoftKeystoreUtil.c409 buf = SWAP32(0); in create_keystore()
415 buf = SWAP32(1); in create_keystore()
763 version = SWAP32(version); in create_updated_keystore_version()
765 version = SWAP32(version); in create_updated_keystore_version()
1051 *version = SWAP32(buf); in soft_keystore_get_version()
1105 *version = SWAP32(tmp); in soft_keystore_get_object_version()
1287 version = SWAP32(version); in reencrypt_obj()
1289 version = SWAP32(version); in reencrypt_obj()
1495 version = SWAP32(version); in soft_keystore_setpin()
1497 version = SWAP32(version); in soft_keystore_setpin()
[all …]
H A DsoftKeystore.c385 hdr.num_attrs = SWAP32(num_attrs); in soft_keystore_pack_obj()
479 for (i = 0; i < SWAP32(hdr->num_attrs); i++) { in soft_keystore_unpack_obj()
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dfsck.h50 #define SWAP32(x) (((x) & 0xff) << 24 | ((x) & 0xff00) << 8 | \ macro
52 #define SWAP64(x) (SWAP32((x) >> 32) & 0xffffffff | SWAP32(x) << 32)
55 #define SWAP32(x) (x)
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_download.c903 SWAP32(ufi_hdr->checksum); in emlxs_be2_validate_image()
905 SWAP32(ufi_hdr->antidote); in emlxs_be2_validate_image()
915 SWAP32(ufi_hdr->file_length); in emlxs_be2_validate_image()
917 SWAP32(ufi_hdr->chunk_num); in emlxs_be2_validate_image()
919 SWAP32(ufi_hdr->chunk_cnt); in emlxs_be2_validate_image()
921 SWAP32(ufi_hdr->image_cnt); in emlxs_be2_validate_image()
1275 SWAP32(ufi_hdr->ufi_version); in emlxs_be3_validate_image()
1279 SWAP32(ufi_hdr->checksum); in emlxs_be3_validate_image()
1281 SWAP32(ufi_hdr->antidote); in emlxs_be3_validate_image()
1283 SWAP32(ufi_hdr->image_cnt); in emlxs_be3_validate_image()
[all …]
H A Demlxs_solaris.c12345 *wptr++ = SWAP32(word); in emlxs_swap32_buffer()
12368 *dptr++ = SWAP32(word); in emlxs_swap32_bcopy()
H A Demlxs_fcf.c5807 *iptr = SWAP32(i); in emlxs_fcoe_fcftab_read_mbcmpl()
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_conv.c153 SWAP32(p); /* pgno */
157 SWAP32(p); /* pgno */
158 SWAP32(p); /* tlen */
/illumos-gate/usr/src/common/crypto/rng/
H A Dfips_random.c72 #define SWAP32(value) \ macro
82 dest [i] = SWAP32(src[i]); in xvalconv()
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_swap.h97 #define SWAP32(p) { \ macro
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h2247 #define SWAP32(_x) ((((uint32_t)(_x) & 0xFF)<<24) | \ macro
2268 #define LE_SWAP32(_x) SWAP32(_x)
2295 #define BE_SWAP32(_x) SWAP32(_x)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpac.c65 #elif defined(__GNUC__) && defined(K5_BE) && defined(SWAP32) in load_32_le()
104 #elif defined(__GNUC__) && defined(K5_BE) && defined(SWAP32) in store_32_le()