Lines Matching defs:btf

190 struct btf {  struct
192 struct btf_type **types; argument
197 struct btf_header hdr; argument
212 const struct btf_type *t; argument
239 struct btf *btf; member
423 static bool btf_name_offset_valid(const struct btf *btf, u32 offset) in btf_name_offset_valid()
429 static const char *btf_name_by_offset(const struct btf *btf, u32 offset) in btf_name_by_offset()
439 static const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id) in btf_type_by_id()
500 struct btf *btf = env->btf; in __btf_verifier_log_type() local
537 struct btf *btf = env->btf; in btf_verifier_log_member() local
570 const struct btf *btf = env->btf; in btf_verifier_log_hdr() local
590 struct btf *btf = env->btf; in btf_add_type() local
632 static int btf_alloc_id(struct btf *btf) in btf_alloc_id()
650 static void btf_free_id(struct btf *btf) in btf_free_id()
668 static void btf_free(struct btf *btf) in btf_free()
679 struct btf *btf = container_of(rcu, struct btf, rcu); in btf_free_rcu() local
684 void btf_put(struct btf *btf) in btf_put()
694 struct btf *btf = env->btf; in env_resolve_init() local
801 struct btf *btf = env->btf; in env_stack_pop_resolved() local
814 static const struct btf_type *btf_type_id_resolve(const struct btf *btf, in btf_type_id_resolve()
821 const struct btf_type *btf_type_id_size(const struct btf *btf, in btf_type_id_size()
873 static void btf_df_seq_show(const struct btf *btf, const struct btf_type *t, in btf_df_seq_show()
989 static void btf_int_bits_seq_show(const struct btf *btf, in btf_int_bits_seq_show()
1028 static void btf_int_seq_show(const struct btf *btf, const struct btf_type *t, in btf_int_seq_show()
1089 struct btf *btf = env->btf; in btf_modifier_check_member() local
1157 struct btf *btf = env->btf; in btf_modifier_resolve() local
1198 struct btf *btf = env->btf; in btf_ptr_resolve() local
1249 static void btf_modifier_seq_show(const struct btf *btf, in btf_modifier_seq_show()
1259 static void btf_ptr_seq_show(const struct btf *btf, const struct btf_type *t, in btf_ptr_seq_show()
1324 struct btf *btf = env->btf; in btf_array_check_member() local
1393 struct btf *btf = env->btf; in btf_array_resolve() local
1459 static void btf_array_seq_show(const struct btf *btf, const struct btf_type *t, in btf_array_seq_show()
1523 struct btf *btf = env->btf; in btf_struct_check_meta() local
1648 static void btf_struct_seq_show(const struct btf *btf, const struct btf_type *t, in btf_struct_seq_show()
1713 struct btf *btf = env->btf; in btf_enum_check_meta() local
1756 static void btf_enum_seq_show(const struct btf *btf, const struct btf_type *t, in btf_enum_seq_show()
1841 struct btf *btf = env->btf; in btf_check_all_metas() local
1894 struct btf *btf = env->btf; in btf_resolve_valid() local
1925 struct btf *btf = env->btf; in btf_check_all_types() local
1981 struct btf *btf = env->btf; in btf_parse_str_sec() local
2023 const struct btf *btf; in btf_check_sec_info() local
2085 struct btf *btf; in btf_parse_hdr() local
2151 struct btf *btf = NULL; in btf_parse() local
2229 void btf_type_seq_show(const struct btf *btf, u32 type_id, void *obj, in btf_type_seq_show()
2247 static int __btf_new_fd(struct btf *btf) in __btf_new_fd()
2254 struct btf *btf; in btf_new_fd() local
2285 struct btf *btf; in btf_get_by_fd() local
2305 int btf_get_info_by_fd(const struct btf *btf, in btf_get_info_by_fd()
2338 struct btf *btf; in btf_get_fd_by_id() local
2357 u32 btf_id(const struct btf *btf) in btf_id()