Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbtf.c78 void *types_data; member
362 void *next_type = btf->types_data; in btf_parse_type_sec()
391 err = btf_add_type_idx_entry(btf, next_type - btf->types_data); in btf_parse_type_sec()
418 return btf->types_data + btf->type_offs[type_id]; in btf_type_by_id()
708 free(btf->types_data); in btf__free()
742 btf->types_data = btf->raw_data + btf->hdr->hdr_len; in btf__new_empty()
772 btf->types_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->type_off; in btf__new()
1169 memcpy(p, btf->types_data, hdr->type_len); in btf_get_raw_data()
1415 memcpy(types, btf->types_data, btf->hdr->type_len); in btf_ensure_modifiable()
1440 btf->types_data = types; in btf_ensure_modifiable()
[all …]