| /freebsd/usr.sbin/makefs/ffs/ |
| H A D | ffs_bswap.c | 76 n32[i] = bswap32(o32[i]); in ffs_sb_swap() 79 n->fs_cgrotor = bswap32(o->fs_cgrotor); /* Unused */ in ffs_sb_swap() 80 n->fs_old_cpc = bswap32(o->fs_old_cpc); in ffs_sb_swap() 86 n->fs_maxbsize = bswap32(o->fs_maxbsize); in ffs_sb_swap() 94 n->fs_pendinginodes = bswap32(o->fs_pendinginodes); in ffs_sb_swap() 100 n->fs_snapinum[i] = bswap32(o->fs_snapinum[i]); in ffs_sb_swap() 101 n->fs_avgfilesize = bswap32(o->fs_avgfilesize); in ffs_sb_swap() 102 n->fs_avgfpdir = bswap32(o->fs_avgfpdir); in ffs_sb_swap() 104 n->fs_flags = bswap32(o->fs_flags); in ffs_sb_swap() 105 n->fs_contigsumsize = bswap32(o->fs_contigsumsize); in ffs_sb_swap() [all …]
|
| H A D | ufs_bswap.h | 61 return ((ns) ? bswap32(a) : (a)); in ufs_rw32()
|
| /freebsd/contrib/netbsd-tests/include/machine/ |
| H A D | t_bswap.c | 108 ATF_REQUIRE_EQ(bswap32(0x00000000), 0x00000000); in ATF_TC_BODY() 109 ATF_REQUIRE_EQ(bswap32(0xffff0000), 0x0000ffff); in ATF_TC_BODY() 110 ATF_REQUIRE_EQ(bswap32(0xffffffff), 0xffffffff); in ATF_TC_BODY() 111 ATF_REQUIRE_EQ(bswap32(0x12345678), 0x78563412); in ATF_TC_BODY() 124 ATF_REQUIRE_EQ(bswap32(unconst32(0x00000000)), 0x00000000); in ATF_TC_BODY() 125 ATF_REQUIRE_EQ(bswap32(unconst32(0xffff0000)), 0x0000ffff); in ATF_TC_BODY() 126 ATF_REQUIRE_EQ(bswap32(unconst32(0xffffffff)), 0xffffffff); in ATF_TC_BODY() 127 ATF_REQUIRE_EQ(bswap32(unconst32(0x12345678)), 0x78563412); in ATF_TC_BODY()
|
| /freebsd/contrib/openbsm/compat/ |
| H A D | endian.h | 64 bswap32(uint32_t int32) in bswap32() function 126 #define htobe32(x) bswap32((x)) 133 #define be32toh(x) bswap32((x)) 143 #define htole32(x) bswap32((x)) 150 #define le32toh(x) bswap32((x))
|
| /freebsd/tools/build/cross-build/include/mac/sys/ |
| H A D | endian.h | 46 #define bswap32(x) __builtin_bswap32(x) macro 58 #define htobe32(x) bswap32((x)) 65 #define be32toh(x) bswap32((x)) 75 #define htole32(x) bswap32((x)) 82 #define le32toh(x) bswap32((x))
|
| /freebsd/usr.sbin/makefs/cd9660/ |
| H A D | cd9660_conversion.c | 68 w = bswap32(w); in cd9660_731() 87 w = bswap32(w); in cd9660_732() 104 be = bswap32(dw); in cd9660_bothendian_dword() 108 le = bswap32(dw); in cd9660_bothendian_dword()
|
| /freebsd/sys/crypto/openssl/ |
| H A D | ossl_aes_gcm.c | 104 ivec_val = bswap32(ivec_val); in ppc_aes_gcm_crypt() 124 ivec->d[3] = bswap32(ivec_val + next_ctr); in ppc_aes_gcm_crypt() 203 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_setiv_op() 276 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_encrypt() 288 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_encrypt() 325 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_encrypt_ctr32() 351 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_encrypt_ctr32() 368 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_encrypt_ctr32() 427 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_decrypt() 440 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_decrypt() [all …]
|
| /freebsd/sys/crypto/openssl/arm/ |
| H A D | ossl_aes_gcm_neon.c | 80 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_setiv() 180 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_encrypt() 209 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_encrypt() 226 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_encrypt() 263 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_decrypt() 303 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_decrypt() 315 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_decrypt()
|
| /freebsd/usr.bin/elfctl/ |
| H A D | elfctl.c | 317 features = bswap32(features); in edit_file_features() 402 note.n_namesz = bswap32(note.n_namesz); in get_file_features() 403 note.n_descsz = bswap32(note.n_descsz); in get_file_features() 404 note.n_type = bswap32(note.n_type); in get_file_features() 459 *features = bswap32(*features); in get_file_features()
|
| /freebsd/sys/dev/isp/ |
| H A D | isp_freebsd.h | 540 #define ISP_IOXPUT_32(isp, s, d) *(d) = bswap32(s) 543 #define ISP_IOXGET_32(isp, s, d) d = bswap32(*((uint32_t *)s)) 545 #define ISP_SWIZZLE_NVRAM_LONG(isp, rp) *rp = bswap32(*rp) 566 #define ISP_IOZPUT_32(isp, s, d) *(d) = bswap32(s) 569 #define ISP_IOZGET_32(isp, s, d) d = bswap32(*((uint32_t *)(s))) 573 #define ISP_SWAP32(isp, s) bswap32(s)
|
| /freebsd/tools/build/cross-build/include/linux/sys/ |
| H A D | endian.h | 59 #undef bswap32 60 #define bswap32(a) __builtin_bswap32(a) macro
|
| /freebsd/contrib/ofed/include/ |
| H A D | byteswap.h | 39 #define bswap_32 bswap32
|
| H A D | byteorder.h | 81 #define swab32 bswap32
|
| /freebsd/crypto/heimdal/lib/roken/ |
| H A D | bswap.c | 40 bswap32 (unsigned int val) in bswap32() function
|
| /freebsd/sys/contrib/zstd/lib/freebsd/ |
| H A D | zstd_kfreebsd.c | 57 return (bswap32(x)); in __bswapsi2()
|
| /freebsd/sys/dev/aq/ |
| H A D | aq_fw1x.c | 282 mac_addr[0] = bswap32(mac_addr[0]); in fw1x_get_mac_addr() 283 mac_addr[1] = bswap32(mac_addr[1]); in fw1x_get_mac_addr()
|
| H A D | aq_fw2x.c | 386 mac_addr[0] = bswap32(mac_addr[0]); in fw2x_get_mac_addr() 387 mac_addr[1] = bswap32(mac_addr[1]); in fw2x_get_mac_addr()
|
| /freebsd/tests/include/ |
| H A D | byteswap_test.c | 47 #ifdef bswap32 in ATF_TC_BODY()
|
| H A D | sys_endian_test.c | 43 #ifndef bswap32 in ATF_TC_BODY()
|
| H A D | endian_test.c | 43 #ifdef bswap32 in ATF_TC_BODY()
|
| /freebsd/contrib/smbfs/include/netsmb/ |
| H A D | smb_lib.h | 87 #define getdle(buf,ofs) (bswap32(getdbe(buf,ofs))) 92 #define setdle(buf,ofs,val) getdbe(buf,ofs)=bswap32(val)
|
| /freebsd/sys/sys/ |
| H A D | endian.h | 69 #define bswap32(x) __bswap32(x) macro
|
| /freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/ |
| H A D | aesopt.h | 526 #elif defined(bswap32) 527 #define aes_sw32 bswap32
|
| /freebsd/sys/dev/cxgb/ |
| H A D | cxgb_osdep.h | 196 #define swab32(x) bswap32(x)
|
| /freebsd/crypto/krb5/src/lib/crypto/builtin/aes/ |
| H A D | aesopt.h | 567 #if defined( bswap32 ) 568 # define aes_sw32 bswap32
|