Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_endian.c13 enum btf_endianness endian = BTF_BIG_ENDIAN; in test_btf_endian()
H A Dbtf_distill.c550 inverse_endianness = btf__endianness(base) == BTF_LITTLE_ENDIAN ? BTF_BIG_ENDIAN in test_distilled_endianness()
/linux/tools/lib/bpf/
H A Dbtf.h32 BTF_BIG_ENDIAN = 1, enumerator
H A Dbtf.c736 return btf->swapped_endian ? BTF_LITTLE_ENDIAN : BTF_BIG_ENDIAN; in btf__endianness()
738 return btf->swapped_endian ? BTF_BIG_ENDIAN : BTF_LITTLE_ENDIAN; in btf__endianness()
743 if (endian != BTF_LITTLE_ENDIAN && endian != BTF_BIG_ENDIAN) in btf__set_endianness()
746 btf->swapped_endian = is_host_big_endian() != (endian == BTF_BIG_ENDIAN); in btf__set_endianness()