Lines Matching refs:types
255 struct btf_type **types; member
856 return btf->types[type_id]; in btf_type_by_id()
1633 memcpy(new_types, btf->types, in btf_add_type()
1634 sizeof(*btf->types) * btf->nr_types); in btf_add_type()
1637 kvfree(btf->types); in btf_add_type()
1638 btf->types = new_types; in btf_add_type()
1642 btf->types[btf->nr_types++] = t; in btf_add_type()
1713 btf_record_free(tab->types[i].record); in btf_struct_metas_free()
1746 kvfree(btf->types); in btf_free()
5669 new_tab = krealloc(tab, struct_size(new_tab, types, tab_cnt + 1), in btf_parse_struct_metas()
5679 type = &tab->types[tab->cnt]; in btf_parse_struct_metas()
5709 return bsearch(&btf_id, tab->types, tab->cnt, sizeof(tab->types[0]), btf_id_cmp_func); in btf_find_struct_meta()
5849 err = btf_check_and_fixup_fields(btf, struct_meta_tab->types[i].record); in btf_parse()
6250 kvfree(btf->types); in BTF_ID_LIST_SINGLE()
6386 kvfree(btf->types); in btf_parse_module()