Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbtf_endian.c13 enum btf_endianness endian = BTF_BIG_ENDIAN; in test_btf_endian()
/Linux-v6.6/tools/lib/bpf/
Dbtf.h31 BTF_BIG_ENDIAN = 1, enumerator
Dbtf.c574 return btf->swapped_endian ? BTF_LITTLE_ENDIAN : BTF_BIG_ENDIAN; in btf__endianness()
576 return btf->swapped_endian ? BTF_BIG_ENDIAN : BTF_LITTLE_ENDIAN; in btf__endianness()
581 if (endian != BTF_LITTLE_ENDIAN && endian != BTF_BIG_ENDIAN) in btf__set_endianness()
584 btf->swapped_endian = is_host_big_endian() != (endian == BTF_BIG_ENDIAN); in btf__set_endianness()