Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/tools/testing/selftests/bpf/
Dtest_progs.c951 __u32 i, type_cnt; in get_bpf_max_tramp_links_from() local
955 for (i = 1, type_cnt = btf__type_cnt(btf); i < type_cnt; i++) { in get_bpf_max_tramp_links_from()
/Linux-v6.6/tools/lib/bpf/
Dbtf.c3219 int i, err = 0, type_cnt; in btf_dedup_new() local
3237 type_cnt = btf__type_cnt(btf); in btf_dedup_new()
3238 d->map = malloc(sizeof(__u32) * type_cnt); in btf_dedup_new()
3245 for (i = 1; i < type_cnt; i++) { in btf_dedup_new()
3255 d->hypot_map = malloc(sizeof(__u32) * type_cnt); in btf_dedup_new()
3260 for (i = 0; i < type_cnt; i++) in btf_dedup_new()