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);
535 u32 btf_nr_types(const struct btf *btf) in btf_nr_types() function 553 total = btf_nr_types(btf); in btf_find_by_name_kind() 1796 btf->start_id = btf_nr_types(base_btf); in btf_set_base_btf() 3404 for (i = last_id + 1, n = btf_nr_types(btf); i < n; i++) { in btf_find_next_decl_tag() 5615 n = btf_nr_types(btf); in btf_parse_struct_metas() 5718 n = btf_nr_types(btf); in btf_check_type_tags() 6364 err = btf_check_type_tags(env, btf, btf_nr_types(base_btf)); in btf_parse_module() 9149 n = btf_nr_types(targ_btf); in bpf_core_add_cands() 9261 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()
20161 n = btf_nr_types(btf); in find_btf_percpu_datasec() 20163 i = btf_nr_types(btf_vmlinux); in find_btf_percpu_datasec()