Searched refs:BTF_MAGIC (Results 1 – 7 of 7) sorted by relevance
58 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()
52 .magic = BTF_MAGIC,
8 #define BTF_MAGIC 0xeB9F macro
150 .magic = BTF_MAGIC, in libbpf__load_raw_btf()
199 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()
128 .magic = BTF_MAGIC, in load_btf()
544 .magic = BTF_MAGIC, in load_btf()