Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A 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/tools/testing/selftests/bpf/
H A Dtest_progs.c1276 __u32 i, type_cnt; in get_bpf_max_tramp_links_from() local
1280 for (i = 1, type_cnt = btf__type_cnt(btf); i < type_cnt; i++) { in get_bpf_max_tramp_links_from()
/linux/tools/bpf/resolve_btfids/
H A Dmain.c1055 const u32 type_cnt = btf__type_cnt(ctx->btf); in collect_decl_tags() local
1060 for (u32 id = 1; id < type_cnt; id++) { in collect_decl_tags()
/linux/tools/lib/bpf/
H A Dbtf.c4084 int i, err = 0, type_cnt; in btf_dedup_new() local
4102 type_cnt = btf__type_cnt(btf); in btf_dedup_new()
4103 d->map = malloc(sizeof(__u32) * type_cnt); in btf_dedup_new()
4110 for (i = 1; i < type_cnt; i++) { in btf_dedup_new()
4120 d->hypot_map = malloc(sizeof(__u32) * type_cnt); in btf_dedup_new()
4125 for (i = 0; i < type_cnt; i++) in btf_dedup_new()