Home
last modified time | relevance | path

Searched refs:swap_endian (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf_endian.c19 enum btf_endianness swap_endian = 1 - endian; in test_btf_endian() local
33 btf__set_endianness(btf, swap_endian); in test_btf_endian()
34 ASSERT_EQ(btf__endianness(btf), swap_endian, "endian"); in test_btf_endian()
46 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian()
79 btf__set_endianness(btf, swap_endian); in test_btf_endian()
89 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian()
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dallowedips.c11 static void swap_endian(u8 *dst, const u8 *src, u8 bits) in swap_endian() function
132 swap_endian(ip, be_ip, bits); in lookup()
285 swap_endian(key, (const u8 *)ip, 32); in wg_allowedips_insert_v4()
296 swap_endian(key, (const u8 *)ip, 128); in wg_allowedips_insert_v6()
343 swap_endian(ip, node->bits, node->bitlen); in wg_allowedips_read_node()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbtf.c1083 static void *btf_get_raw_data(const struct btf *btf, __u32 *size, bool swap_endian);
1144 static void *btf_get_raw_data(const struct btf *btf, __u32 *size, bool swap_endian) in btf_get_raw_data() argument
1152 data = swap_endian ? btf->raw_data_swapped : btf->raw_data; in btf_get_raw_data()
1165 if (swap_endian) in btf_get_raw_data()
1170 if (swap_endian) { in btf_get_raw_data()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dsm501fb.c92 int swap_endian; /* set to swap rgb=>bgr */ member