Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dbtf_endian.c58 ASSERT_EQ(bswap_16(hdr->magic), BTF_MAGIC, "btf_magic_swapped"); in test_btf_endian()
69 ASSERT_EQ(hdr->magic, BTF_MAGIC, "btf_magic_native"); in test_btf_endian()
Dbtf.c52 .magic = BTF_MAGIC,
/tools/include/uapi/linux/
Dbtf.h8 #define BTF_MAGIC 0xeB9F macro
/tools/lib/bpf/
Dlibbpf_probes.c150 .magic = BTF_MAGIC, in libbpf__load_raw_btf()
Dbtf.c199 if (hdr->magic == bswap_16(BTF_MAGIC)) { in btf_parse_hdr()
207 } else if (hdr->magic != BTF_MAGIC) { in btf_parse_hdr()
752 btf->hdr->magic = BTF_MAGIC; in btf__new_empty()
946 if (magic != BTF_MAGIC && magic != bswap_16(BTF_MAGIC)) { in btf__parse_raw()
2484 if (hdr->magic == bswap_16(BTF_MAGIC)) { in btf_ext_parse_hdr()
2487 } else if (hdr->magic != BTF_MAGIC) { in btf_ext_parse_hdr()
/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c128 .magic = BTF_MAGIC, in load_btf()
/tools/testing/selftests/bpf/
Dtest_verifier.c544 .magic = BTF_MAGIC, in load_btf()