Searched refs:type_offs_cap (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | btf.c | 88 size_t type_offs_cap; member 194 return libbpf_add_mem((void **)&btf->type_offs, &btf->type_offs_cap, sizeof(__u32), in btf_add_type_offs_mem() 4699 d->btf->type_offs_cap = d->btf->nr_types; in btf_dedup_compact_types() 4701 new_offs = libbpf_reallocarray(d->btf->type_offs, d->btf->type_offs_cap, in btf_dedup_compact_types() 4703 if (d->btf->type_offs_cap && !new_offs) in btf_dedup_compact_types()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | btf.c | 83 size_t type_offs_cap; member 170 p = btf_add_mem((void **)&btf->type_offs, &btf->type_offs_cap, sizeof(__u32), in btf_add_type_idx_entry() 4291 d->btf->type_offs_cap = d->btf->nr_types + 1; in btf_dedup_compact_types() 4293 new_offs = libbpf_reallocarray(d->btf->type_offs, d->btf->type_offs_cap, in btf_dedup_compact_types()
|
Completed in 12 milliseconds