Lines Matching refs:data_sz
1373 __u32 data_sz; local
1382 data_sz = hdr->hdr_len + hdr->type_len + hdr->str_len;
1383 data = calloc(1, data_sz);
1411 *size = data_sz;
1421 __u32 data_sz; local
1424 data = btf_get_raw_data(btf, &data_sz, btf->swapped_endian);
1428 btf->raw_size = data_sz;
1433 *size = data_sz;
1664 static int btf_commit_type(struct btf *btf, int data_sz) argument
1672 btf->hdr->type_len += data_sz;
1673 btf->hdr->str_off += data_sz;
1764 int data_sz, sz, cnt, i, err, old_strs_len; local
1781 data_sz = src_btf->hdr->type_len;
1785 t = btf_add_type_mem(btf, data_sz);
1800 memcpy(t, src_btf->types_data, data_sz);
1836 btf->hdr->type_len += data_sz;
1837 btf->hdr->str_off += data_sz;
1848 memset(btf->types_data + btf->hdr->type_len, 0, data_sz);