Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbtf.c82 __u32 *type_offs; member
170 p = btf_add_mem((void **)&btf->type_offs, &btf->type_offs_cap, sizeof(__u32), in btf_add_type_idx_entry()
418 return btf->types_data + btf->type_offs[type_id]; in btf_type_by_id()
726 free(btf->type_offs); in btf__free()
1185 t = p + btf->type_offs[i]; in btf_get_raw_data()
4284 d->btf->type_offs[next_type_id] = p - d->btf->types_data; in btf_dedup_compact_types()
4293 new_offs = libbpf_reallocarray(d->btf->type_offs, d->btf->type_offs_cap, in btf_dedup_compact_types()
4297 d->btf->type_offs = new_offs; in btf_dedup_compact_types()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dbtf.c83 * type_offs[0] corresponds to the first non-VOID type:
87 __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()

Completed in 12 milliseconds