Lines Matching refs:hdr_len
1537 __btf_verifier_log(log, "hdr_len: %u\n", hdr->hdr_len); in btf_verifier_log_hdr()
4841 expected_total = btf_data_size - hdr->hdr_len; in btf_check_sec_info()
4875 u32 hdr_len, hdr_copy, btf_data_size; in btf_parse_hdr() local
4882 if (btf_data_size < offsetofend(struct btf_header, hdr_len)) { in btf_parse_hdr()
4888 hdr_len = hdr->hdr_len; in btf_parse_hdr()
4889 if (btf_data_size < hdr_len) { in btf_parse_hdr()
4895 if (hdr_len > sizeof(btf->hdr)) { in btf_parse_hdr()
4897 u8 *end = btf->data + hdr_len; in btf_parse_hdr()
4907 hdr_copy = min_t(u32, hdr_len, sizeof(btf->hdr)); in btf_parse_hdr()
4929 if (!btf->base_btf && btf_data_size == hdr->hdr_len) { in btf_parse_hdr()
5041 btf->nohdr_data = btf->data + btf->hdr.hdr_len; in btf_parse()
5220 btf->nohdr_data = btf->data + btf->hdr.hdr_len; in BTF_ID()
5304 btf->nohdr_data = btf->data + btf->hdr.hdr_len; in btf_parse_module()