Searched refs:htobe32 (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/um/drivers/ |
| H A D | cow_user.c | 217 header->magic = htobe32(COW_MAGIC); in write_cow_header() 218 header->version = htobe32(COW_VERSION); in write_cow_header() 249 header->mtime = htobe32(modtime); in write_cow_header() 251 header->sectorsize = htobe32(sectorsize); in write_cow_header() 252 header->alignment = htobe32(alignment); in write_cow_header()
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/include/ |
| H A D | nxu.h | 452 #define putnn(ST, REG, X) (ST.REG = htobe32(unget32(ST, REG) | (((X) \ 454 #define putpnn(ST, REG, X) ((ST)->REG = htobe32(ungetp32(ST, REG) \ 457 #define put32(ST, REG, X) (ST.REG = htobe32(X)) 458 #define putp32(ST, REG, X) ((ST)->REG = htobe32(X))
|
| /linux/tools/include/nolibc/ |
| H A D | endian.h | 22 #define htobe32(_x) __cpu_to_be32(_x) macro
|
| /linux/tools/testing/selftests/bpf/map_tests/ |
| H A D | lpm_trie_map_basic_ops.c | 885 key.data = htobe32(1 << 23); in test_lpm_trie_update_flags() 949 key.data = htobe32(1 << 23); in test_lpm_trie_update_full_map() 978 key.data = htobe32(1 << 23); in test_lpm_trie_update_full_map() 1129 key.data = htobe32(data_set[i]); in test_lpm_trie_iterate_ints()
|
| /linux/tools/testing/selftests/nolibc/ |
| H A D | nolibc-test.c | 1750 …CASE_TEST(htobe32); EXPECT_EQ(1, htobe32(is_le ? 0x01234567 : 0x67452301), 0x67452… in run_stdlib()
|