Lines Matching refs:btf_prog_table
752 build_btf_tables(struct btf_attach_table *btf_prog_table, in build_btf_tables() argument
761 err = build_btf_type_table(btf_prog_table, BPF_OBJ_PROG, &prog_info, in build_btf_tables()
769 delete_btf_table(btf_prog_table); in build_btf_tables()
778 struct btf_attach_table *btf_prog_table, in show_btf_plain() argument
795 hash_for_each_possible(btf_prog_table->table, obj, hash, info->id) { in show_btf_plain()
814 struct btf_attach_table *btf_prog_table, in show_btf_json() argument
826 hash_for_each_possible(btf_prog_table->table, obj, hash, in show_btf_json()
853 show_btf(int fd, struct btf_attach_table *btf_prog_table, in show_btf() argument
882 show_btf_json(&info, fd, btf_prog_table, btf_map_table); in show_btf()
884 show_btf_plain(&info, fd, btf_prog_table, btf_map_table); in show_btf()
891 struct btf_attach_table btf_prog_table; in do_show() local
908 hash_init(btf_prog_table.table); in do_show()
910 err = build_btf_tables(&btf_prog_table, &btf_map_table); in do_show()
919 err = show_btf(fd, &btf_prog_table, &btf_map_table); in do_show()
951 err = show_btf(fd, &btf_prog_table, &btf_map_table); in do_show()
961 delete_btf_table(&btf_prog_table); in do_show()