Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Dbtf.c38 bool swapped_endian; member
231 btf->swapped_endian = true; in btf_parse_hdr()
421 if (btf->swapped_endian) in btf_parse_type_sec()
432 if (btf->swapped_endian && btf_bswap_type_rest(next_type)) in btf_parse_type_sec()
574 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()
584 btf->swapped_endian = is_host_big_endian() != (endian == BTF_BIG_ENDIAN); in btf__set_endianness()
585 if (!btf->swapped_endian) { in btf__set_endianness()
816 btf->swapped_endian = false; in btf_new_empty()
1299 data = btf_get_raw_data(btf, &data_sz, btf->swapped_endian); in btf__raw_data()
[all …]