Searched refs:btf_nr_types (Results 1 – 5 of 5) sorted by relevance
17 #define btf__type_cnt btf_nr_types
222 u32 btf_nr_types(const struct btf *btf);
534 u32 btf_nr_types(const struct btf *btf) in btf_nr_types() function552 total = btf_nr_types(btf); in btf_find_by_name_kind()1778 btf->start_id = btf_nr_types(base_btf); in btf_set_base_btf()3386 for (i = last_id + 1, n = btf_nr_types(btf); i < n; i++) { in btf_find_next_decl_tag()5596 n = btf_nr_types(btf); in btf_parse_struct_metas()5699 n = btf_nr_types(btf); in btf_check_type_tags()6346 err = btf_check_type_tags(env, btf, btf_nr_types(base_btf)); in btf_parse_module()9093 n = btf_nr_types(targ_btf); in bpf_core_add_cands()9205 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()
19715 n = btf_nr_types(btf); in find_btf_percpu_datasec()19717 i = btf_nr_types(btf_vmlinux); in find_btf_percpu_datasec()