Lines Matching refs:btf_header
79 struct btf_header *hdr;
218 static void btf_bswap_hdr(struct btf_header *h) in btf_bswap_hdr()
230 struct btf_header *hdr = btf->hdr; in btf_parse_hdr()
233 if (btf->raw_size < sizeof(struct btf_header)) { in btf_parse_hdr()
240 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr()
279 const struct btf_header *hdr = btf->hdr; in btf_parse_str_sec()
423 struct btf_header *hdr = btf->hdr; in btf_parse_type_sec()
1019 btf->raw_size = sizeof(struct btf_header) + (base_btf ? 0 : 1); in btf_new_empty()
1027 btf->hdr->hdr_len = sizeof(struct btf_header); in btf_new_empty()
1541 struct btf_header *hdr = btf->hdr; in btf_get_raw_data()
5813 const struct btf_header *btf_header(const struct btf *btf) in btf_header() function