Lines Matching refs:data_size
35 __u32 data_size; member
77 if (btf->data_size < sizeof(struct btf_header)) { in btf_parse_hdr()
97 meta_left = btf->data_size - sizeof(*hdr); in btf_parse_hdr()
104 pr_debug("Invalid BTF total size:%u\n", btf->data_size); in btf_parse_hdr()
346 btf->data_size = size; in btf__new()
594 btf->fd = bpf_load_btf(btf->data, btf->data_size, in btf__load()
616 *size = btf->data_size; in btf__get_raw_data()
792 if (btf_ext->data + btf_ext->data_size < info + ext_sec->len) { in btf_ext_setup_info()
899 static int btf_ext_parse_hdr(__u8 *data, __u32 data_size) in btf_ext_parse_hdr() argument
903 if (data_size < offsetofend(struct btf_ext_header, hdr_len) || in btf_ext_parse_hdr()
904 data_size < hdr->hdr_len) { in btf_ext_parse_hdr()
924 if (data_size == hdr->hdr_len) { in btf_ext_parse_hdr()
953 btf_ext->data_size = size; in btf_ext__new()
990 *size = btf_ext->data_size; in btf_ext__get_raw_data()
2724 d->btf->data_size = p - (char *)d->btf->data; in btf_dedup_compact_types()