Searched refs:bswap32 (Results 1 - 25 of 47) sorted by relevance

12

/freebsd-11-stable/usr.sbin/makefs/ffs/
H A Dffs_bswap.c84 n32[i] = bswap32(o32[i]);
87 n->fs_cgrotor = bswap32(o->fs_cgrotor); /* Unused */
88 n->fs_old_cpc = bswap32(o->fs_old_cpc);
94 n->fs_maxbsize = bswap32(o->fs_maxbsize);
102 n->fs_pendinginodes = bswap32(o->fs_pendinginodes);
108 n->fs_snapinum[i] = bswap32(o->fs_snapinum[i]);
109 n->fs_avgfilesize = bswap32(o->fs_avgfilesize);
110 n->fs_avgfpdir = bswap32(o->fs_avgfpdir);
112 n->fs_flags = bswap32(o->fs_flags);
113 n->fs_contigsumsize = bswap32(
[all...]
H A Dufs_bswap.h72 return ((ns) ? bswap32(a) : (a));
/freebsd-11-stable/contrib/ofed/include/
H A Dbyteswap.h39 #define bswap_32 bswap32
H A Dbyteorder.h81 #define swab32 bswap32
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dbswap.c40 bswap32 (unsigned int val) function
/freebsd-11-stable/contrib/netbsd-tests/include/machine/
H A Dt_bswap.c103 atf_tc_set_md_var(tc, "descr", "A naive test of bswap32(3), #1");
108 ATF_REQUIRE_EQ(bswap32(0x00000000), 0x00000000);
109 ATF_REQUIRE_EQ(bswap32(0xffff0000), 0x0000ffff);
110 ATF_REQUIRE_EQ(bswap32(0xffffffff), 0xffffffff);
111 ATF_REQUIRE_EQ(bswap32(0x12345678), 0x78563412);
117 atf_tc_set_md_var(tc, "descr", "A naive test of bswap32(3), #2");
124 ATF_REQUIRE_EQ(bswap32(unconst32(0x00000000)), 0x00000000);
125 ATF_REQUIRE_EQ(bswap32(unconst32(0xffff0000)), 0x0000ffff);
126 ATF_REQUIRE_EQ(bswap32(unconst32(0xffffffff)), 0xffffffff);
127 ATF_REQUIRE_EQ(bswap32(unconst3
[all...]
/freebsd-11-stable/contrib/openbsm/compat/
H A Dendian.h64 bswap32(uint32_t int32) 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-11-stable/contrib/opie/libopie/
H A Dhash.c49 results[0] = bswap32(results[0]);
50 results[1] = bswap32(results[1]);
H A Dhashlen.c46 results[0] = bswap32(results[0]);
47 results[1] = bswap32(results[1]);
/freebsd-11-stable/contrib/xz/src/liblzma/check/
H A Dcrc32_fast.c32 crc = bswap32(crc);
78 crc = bswap32(crc);
H A Dcrc32_tablegen.c47 crc32_table[s][b] = bswap32(crc32_table[s][b]);
/freebsd-11-stable/sys/sys/
H A Dendian.h60 #define bswap32(x) __bswap32(x) macro
69 #define htobe32(x) bswap32((x))
76 #define be32toh(x) bswap32((x))
86 #define htole32(x) bswap32((x))
93 #define le32toh(x) bswap32((x))
/freebsd-11-stable/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c70 w = bswap32(w);
89 w = bswap32(w);
106 be = bswap32(dw);
110 le = bswap32(dw);
/freebsd-11-stable/contrib/xz/src/common/
H A Dtuklib_integer.h65 # define bswap32(n) __builtin_bswap32(n) macro
75 # define bswap32(num) bswap_32(num) macro
92 # define bswap32(num) BSWAP_32(num) macro
124 #ifndef bswap32
125 # define bswap32(n) (uint32_t)( \ macro
161 # define conv32le(num) bswap32(num)
171 # define conv32be(num) bswap32(num)
/freebsd-11-stable/sys/compat/linuxkpi/common/include/asm/
H A Dbyteorder.h85 #define swab32(x) bswap32(x)
/freebsd-11-stable/contrib/smbfs/include/netsmb/
H A Dsmb_lib.h87 #define getdle(buf,ofs) (bswap32(getdbe(buf,ofs)))
92 #define setdle(buf,ofs,val) getdbe(buf,ofs)=bswap32(val)
/freebsd-11-stable/sys/dev/isp/
H A Disp_freebsd.h613 *(d) = (isp->isp_bustype == ISP_BT_SBUS)? s : bswap32(s)
620 *((uint32_t *)s) : bswap32(*((uint32_t *)s))
625 #define ISP_IOXPUT_32(isp, s, d) *(d) = bswap32(s)
628 #define ISP_IOXGET_32(isp, s, d) d = bswap32(*((uint32_t *)s))
631 #define ISP_SWIZZLE_NVRAM_LONG(isp, rp) *rp = bswap32(*rp)
653 #define ISP_IOZPUT_32(isp, s, d) *(d) = bswap32(s)
657 #define ISP_IOZGET_32(isp, s, d) d = bswap32(*((uint32_t *)(s)))
662 #define ISP_SWAP32(isp, s) bswap32(s)
/freebsd-11-stable/sys/mips/nlm/
H A Dbus_space_rmi_pci.c426 return bswap32(value);
462 *addr = bswap32(*addr);
494 *(volatile u_int32_t *)(handle + offset) = bswap32(value);
531 (*(volatile u_int32_t *)(handle + offset)) = bswap32(*addr);
/freebsd-11-stable/sys/mips/rmi/
H A Dbus_space_rmi_pci.c415 return bswap32((*(volatile u_int32_t *)(handle + offset)));
452 *addr = bswap32(*addr);
484 *(volatile u_int32_t *)(handle + offset) = bswap32(value);
521 (*(volatile u_int32_t *)(handle + offset)) = bswap32(*addr);
H A Dxlr_pci.c225 temp = bswap32(*p);
284 *p = bswap32(data);
/freebsd-11-stable/sys/dev/cxgbe/
H A Dosdep.h96 #define swab32(x) bswap32(x)
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dio.h310 return (bswap32(readl(addr)));
342 writel(bswap32(v), addr);
/freebsd-11-stable/sys/arm/at91/
H A Dat91_mci.c220 *dst++ = bswap32(*src++);
221 *dst++ = bswap32(*src++);
222 *dst++ = bswap32(*src++);
223 *dst++ = bswap32(*src++);
228 *dst++ = bswap32(*src++);
/freebsd-11-stable/usr.bin/script/
H A Dscript.c423 stamp.scr_usec = bswap32(stamp.scr_usec); \
424 stamp.scr_direction = bswap32(stamp.scr_direction); \
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_osdep.h233 #define swab32(x) bswap32(x)

Completed in 359 milliseconds

12