Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c30 size_t type_cnt = btf__get_nr_types(btf); in btf_dump_all_types() local
39 for (id = 1; id <= type_cnt; id++) { in btf_dump_all_types()
/Linux-v5.15/tools/lib/bpf/
Dbtf.c3078 int i, err = 0, type_cnt; in btf_dedup_new() local
3098 type_cnt = btf__get_nr_types(btf) + 1; in btf_dedup_new()
3099 d->map = malloc(sizeof(__u32) * type_cnt); in btf_dedup_new()
3106 for (i = 1; i < type_cnt; i++) { in btf_dedup_new()
3116 d->hypot_map = malloc(sizeof(__u32) * type_cnt); in btf_dedup_new()
3121 for (i = 0; i < type_cnt; i++) in btf_dedup_new()