Lines Matching defs:src_btf
1603 int btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type)
1605 struct btf_pipe p = { .src = src_btf, .dst = btf };
1648 int btf__add_btf(struct btf *btf, const struct btf *src_btf)
1650 struct btf_pipe p = { .src = src_btf, .dst = btf };
1656 if (src_btf->base_btf)
1668 data_sz = src_btf->hdr->type_len;
1669 cnt = btf__type_cnt(src_btf) - 1;
1681 /* Map the string offsets from src_btf to the offsets from btf to improve performance */
1686 /* bulk copy types data for all types from src_btf */
1687 memcpy(t, src_btf->types_data, data_sz);
1692 /* unlikely, has to be corrupted src_btf */