Searched refs:btf_header (Results 1 – 8 of 8) sorted by relevance
33 struct btf_header btf_hdr; in btf_load()40 .hdr_len = sizeof(struct btf_header), in btf_load()
11 struct btf_header { struct
149 struct btf_header hdr = { in libbpf__load_raw_btf()152 .hdr_len = sizeof(struct btf_header), in libbpf__load_raw_btf()
77 struct btf_header *hdr;205 static void btf_bswap_hdr(struct btf_header *h) in btf_bswap_hdr()217 struct btf_header *hdr = btf->hdr; in btf_parse_hdr()220 if (btf->raw_size < sizeof(struct btf_header)) { in btf_parse_hdr()227 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr()266 const struct btf_header *hdr = btf->hdr; in btf_parse_str_sec()393 struct btf_header *hdr = btf->hdr; in btf_parse_type_sec()785 btf->raw_size = sizeof(struct btf_header) + (base_btf ? 0 : 1); in btf_new_empty()793 btf->hdr->hdr_len = sizeof(struct btf_header); in btf_new_empty()1268 struct btf_header *hdr = btf->hdr; in btf_get_raw_data()
21 const struct btf_header *hdr; in test_btf_endian()
51 static struct btf_header hdr_tmpl = {54 .hdr_len = sizeof(struct btf_header),3711 static void *btf_raw_create(const struct btf_header *hdr, in btf_raw_create()3722 struct btf_header *ret_hdr; in btf_raw_create()3787 ret_hdr = (struct btf_header *)raw_btf; in btf_raw_create()3814 struct btf_header *hdr; in do_test_raw()6855 const struct btf_header *test_hdr, *expect_hdr; in do_test_dedup()
127 struct btf_header btf_hdr = { in load_btf()130 .hdr_len = sizeof(struct btf_header), in load_btf()135 __u8 raw_btf[sizeof(struct btf_header) + sizeof(btf_raw_types) + in load_btf()
626 struct btf_header hdr = { in load_btf()629 .hdr_len = sizeof(struct btf_header), in load_btf()