Home
last modified time | relevance | path

Searched refs:types_data (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/lib/bpf/
H A Dbtf.c79 void *types_data; member
416 void *next_type = btf->types_data; in btf_parse_type_sec()
435 err = btf_add_type_idx_entry(btf, next_type - btf->types_data); in btf_parse_type_sec()
468 return btf->types_data + btf->type_offs[type_id - btf->start_id]; in btf_type_by_id()
807 free(btf->types_data); in btf__free()
850 btf->types_data = btf->raw_data + btf->hdr->hdr_len; in btf_new_empty()
901 btf->types_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->type_off; in btf_new()
1280 memcpy(p, btf->types_data, hdr->type_len); in btf_get_raw_data()
1451 memcpy(types, btf->types_data, btf->hdr->type_len); in btf_ensure_modifiable()
1462 btf->types_data = types; in btf_ensure_modifiable()
[all …]