Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/bpf/
H A Dbtf.c87 __u32 *type_offs; member
194 return libbpf_add_mem((void **)&btf->type_offs, &btf->type_offs_cap, sizeof(__u32), in btf_add_type_offs_mem()
468 return btf->types_data + btf->type_offs[type_id - btf->start_id]; in btf_type_by_id()
812 free(btf->type_offs); in btf__free()
1283 t = p + btf->type_offs[i]; in btf_get_raw_data()
4692 d->btf->type_offs[next_type_id - d->btf->start_id] = p - d->btf->types_data; in btf_dedup_compact_types()
4701 new_offs = libbpf_reallocarray(d->btf->type_offs, d->btf->type_offs_cap, in btf_dedup_compact_types()
4705 d->btf->type_offs = new_offs; in btf_dedup_compact_types()