Lines Matching refs:btf_map_table
835 struct hashmap *btf_map_table) in build_btf_tables() argument
848 err = build_btf_type_table(btf_map_table, BPF_OBJ_MAP, &map_info, in build_btf_tables()
861 struct hashmap *btf_map_table) in show_btf_plain() argument
882 hashmap__for_each_key_entry(btf_map_table, entry, info->id) { in show_btf_plain()
894 struct hashmap *btf_map_table) in show_btf_json() argument
912 hashmap__for_each_key_entry(btf_map_table, entry, info->id) { in show_btf_json()
929 struct hashmap *btf_map_table) in show_btf() argument
957 show_btf_json(&info, fd, btf_prog_table, btf_map_table); in show_btf()
959 show_btf_plain(&info, fd, btf_prog_table, btf_map_table); in show_btf()
967 struct hashmap *btf_map_table; in do_show() local
985 btf_map_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
987 if (IS_ERR(btf_prog_table) || IS_ERR(btf_map_table)) { in do_show()
989 hashmap__free(btf_map_table); in do_show()
995 err = build_btf_tables(btf_prog_table, btf_map_table); in do_show()
1004 err = show_btf(fd, btf_prog_table, btf_map_table); in do_show()
1036 err = show_btf(fd, btf_prog_table, btf_map_table); in do_show()
1047 hashmap__free(btf_map_table); in do_show()