Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
Dbtf.c38 bool swapped_endian; member
234 btf->swapped_endian = true; in btf_parse_hdr()
424 if (btf->swapped_endian) in btf_parse_type_sec()
435 if (btf->swapped_endian && btf_bswap_type_rest(next_type)) in btf_parse_type_sec()
736 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()
746 btf->swapped_endian = is_host_big_endian() != (endian == BTF_BIG_ENDIAN); in btf__set_endianness()
747 if (!btf->swapped_endian) { in btf__set_endianness()
993 btf->swapped_endian = false; in btf_new_empty()
999 btf->swapped_endian = base_btf->swapped_endian; in btf_new_empty()
[all …]