Searched refs:swap_endian (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | btf_endian.c | 17 enum btf_endianness swap_endian = 1 - endian; in test_btf_endian() local 31 btf__set_endianness(btf, swap_endian); in test_btf_endian() 32 ASSERT_EQ(btf__endianness(btf), swap_endian, "endian"); in test_btf_endian() 44 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian() 77 btf__set_endianness(btf, swap_endian); in test_btf_endian() 87 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian()
|
/linux-6.1.9/drivers/net/wireguard/ |
D | allowedips.c | 13 static void swap_endian(u8 *dst, const u8 *src, u8 bits) in swap_endian() function 135 swap_endian(ip, be_ip, bits); in lookup() 288 swap_endian(key, (const u8 *)ip, 32); in wg_allowedips_insert_v4() 299 swap_endian(key, (const u8 *)ip, 128); in wg_allowedips_insert_v6() 346 swap_endian(ip, node->bits, node->bitlen); in wg_allowedips_read_node()
|
/linux-6.1.9/tools/lib/bpf/ |
D | btf.c | 1146 static void *btf_get_raw_data(const struct btf *btf, __u32 *size, bool swap_endian); 1243 static void *btf_get_raw_data(const struct btf *btf, __u32 *size, bool swap_endian) in btf_get_raw_data() argument 1251 data = swap_endian ? btf->raw_data_swapped : btf->raw_data; in btf_get_raw_data() 1264 if (swap_endian) in btf_get_raw_data() 1269 if (swap_endian) { in btf_get_raw_data()
|
/linux-6.1.9/drivers/video/fbdev/ |
D | sm501fb.c | 92 int swap_endian; /* set to swap rgb=>bgr */ member
|