Home
last modified time | relevance | path

Searched refs:btf__endianness (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbtf_endian.c30 ASSERT_EQ(btf__endianness(btf), endian, "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()
87 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian()
Dbtf_distill.c550 inverse_endianness = btf__endianness(base) == BTF_LITTLE_ENDIAN ? BTF_BIG_ENDIAN in test_distilled_endianness()
589 ASSERT_EQ(btf__endianness(new_base1), inverse_endianness, "new_base1 endianness"); in test_distilled_endianness()
590 ASSERT_EQ(btf__endianness(new_split1), inverse_endianness, "new_split1 endianness"); in test_distilled_endianness()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map230 btf__endianness;
Dbtf.h156 LIBBPF_API enum btf_endianness btf__endianness(const struct btf *btf);
Dbtf.c733 enum btf_endianness btf__endianness(const struct btf *btf) in btf__endianness() function
5399 btf__set_endianness(new_base, btf__endianness(src_btf)); in btf__distill_base()