Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c28 size_t type_cnt = btf__type_cnt(btf); in btf_dump_all_types() local
37 for (id = 1; id < type_cnt; id++) { in btf_dump_all_types()
/linux-5.19.10/tools/lib/bpf/
Dbtf.c3271 int i, err = 0, type_cnt; in btf_dedup_new() local
3289 type_cnt = btf__type_cnt(btf); in btf_dedup_new()
3290 d->map = malloc(sizeof(__u32) * type_cnt); in btf_dedup_new()
3297 for (i = 1; i < type_cnt; i++) { in btf_dedup_new()
3307 d->hypot_map = malloc(sizeof(__u32) * type_cnt); in btf_dedup_new()
3312 for (i = 0; i < type_cnt; i++) in btf_dedup_new()