Searched refs:btf_nr_types (Results 1 – 5 of 5) sorted by relevance
17 #define btf__type_cnt btf_nr_types
218 u32 btf_nr_types(const struct btf *btf);
539 u32 btf_nr_types(const struct btf *btf) in btf_nr_types() function557 total = btf_nr_types(btf); in btf_find_by_name_kind()1782 btf->start_id = btf_nr_types(base_btf); in btf_set_base_btf()3382 for (i = last_id + 1, n = btf_nr_types(btf); i < n; i++) { in btf_find_next_decl_tag()5556 n = btf_nr_types(btf); in btf_parse_struct_metas()5659 n = btf_nr_types(btf); in btf_check_type_tags()6306 err = btf_check_type_tags(env, btf, btf_nr_types(base_btf)); in btf_parse_module()8822 n = btf_nr_types(targ_btf); in bpf_core_add_cands()8934 cands = bpf_core_add_cands(cands, mod_btf, btf_nr_types(main_btf)); in bpf_core_find_cands()
623 for (i = 1, n = btf_nr_types(btf); i < n; i++) { in find_bpffs_btf_enums()
18669 n = btf_nr_types(btf); in find_btf_percpu_datasec()18671 i = btf_nr_types(btf_vmlinux); in find_btf_percpu_datasec()