Lines Matching defs:btf
201 struct btf { struct
203 struct btf_type **types; argument
208 struct btf_header hdr; argument
223 const struct btf_type *t; argument
250 struct btf *btf; member
523 static bool btf_name_offset_valid(const struct btf *btf, u32 offset) in btf_name_offset_valid()
540 static bool __btf_name_valid(const struct btf *btf, u32 offset, bool dot_ok) in __btf_name_valid()
564 static bool btf_name_valid_identifier(const struct btf *btf, u32 offset) in btf_name_valid_identifier()
569 static bool btf_name_valid_section(const struct btf *btf, u32 offset) in btf_name_valid_section()
574 static const char *__btf_name_by_offset(const struct btf *btf, u32 offset) in __btf_name_by_offset()
584 const char *btf_name_by_offset(const struct btf *btf, u32 offset) in btf_name_by_offset()
592 const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id) in btf_type_by_id()
627 bool btf_member_is_reg_int(const struct btf *btf, const struct btf_type *s, in btf_member_is_reg_int()
695 struct btf *btf = env->btf; in __btf_verifier_log_type() local
732 struct btf *btf = env->btf; in btf_verifier_log_member() local
799 const struct btf *btf = env->btf; in btf_verifier_log_hdr() local
819 struct btf *btf = env->btf; in btf_add_type() local
861 static int btf_alloc_id(struct btf *btf) in btf_alloc_id()
879 static void btf_free_id(struct btf *btf) in btf_free_id()
897 static void btf_free(struct btf *btf) in btf_free()
908 struct btf *btf = container_of(rcu, struct btf, rcu); in btf_free_rcu() local
913 void btf_put(struct btf *btf) in btf_put()
923 struct btf *btf = env->btf; in env_resolve_init() local
1034 struct btf *btf = env->btf; in env_stack_pop_resolved() local
1047 static const struct btf_type *btf_type_id_resolve(const struct btf *btf, in btf_type_id_resolve()
1054 const struct btf_type *btf_type_id_size(const struct btf *btf, in btf_type_id_size()
1146 static void btf_df_seq_show(const struct btf *btf, const struct btf_type *t, in btf_df_seq_show()
1413 static void btf_int_bits_seq_show(const struct btf *btf, in btf_int_bits_seq_show()
1432 static void btf_int_seq_show(const struct btf *btf, const struct btf_type *t, in btf_int_seq_show()
1497 struct btf *btf = env->btf; in btf_modifier_check_member() local
1522 struct btf *btf = env->btf; in btf_modifier_check_kflag_member() local
1611 struct btf *btf = env->btf; in btf_modifier_resolve() local
1653 struct btf *btf = env->btf; in btf_var_resolve() local
1699 struct btf *btf = env->btf; in btf_ptr_resolve() local
1750 static void btf_modifier_seq_show(const struct btf *btf, in btf_modifier_seq_show()
1760 static void btf_var_seq_show(const struct btf *btf, const struct btf_type *t, in btf_var_seq_show()
1769 static void btf_ptr_seq_show(const struct btf *btf, const struct btf_type *t, in btf_ptr_seq_show()
1850 struct btf *btf = env->btf; in btf_array_check_member() local
1930 struct btf *btf = env->btf; in btf_array_resolve() local
1998 static void btf_array_seq_show(const struct btf *btf, const struct btf_type *t, in btf_array_seq_show()
2063 struct btf *btf = env->btf; in btf_struct_check_meta() local
2218 int btf_find_spin_lock(const struct btf *btf, const struct btf_type *t) in btf_find_spin_lock()
2251 static void btf_struct_seq_show(const struct btf *btf, const struct btf_type *t, in btf_struct_seq_show()
2361 struct btf *btf = env->btf; in btf_enum_check_meta() local
2423 static void btf_enum_seq_show(const struct btf *btf, const struct btf_type *t, in btf_enum_seq_show()
2719 struct btf *btf = env->btf; in btf_datasec_resolve() local
2760 static void btf_datasec_seq_show(const struct btf *btf, in btf_datasec_seq_show()
2794 const struct btf *btf; in btf_func_proto_check() local
2883 const struct btf *btf; in btf_func_check() local
2968 struct btf *btf = env->btf; in btf_check_all_metas() local
2997 struct btf *btf = env->btf; in btf_resolve_valid() local
3065 struct btf *btf = env->btf; in btf_check_all_types() local
3127 struct btf *btf = env->btf; in btf_parse_str_sec() local
3169 const struct btf *btf; in btf_check_sec_info() local
3220 struct btf *btf; in btf_parse_hdr() local
3291 struct btf *btf = NULL; in btf_parse() local
3370 void btf_type_seq_show(const struct btf *btf, u32 type_id, void *obj, in btf_type_seq_show()
3381 const struct btf *btf = filp->private_data; in bpf_btf_show_fdinfo() local
3400 static int __btf_new_fd(struct btf *btf) in __btf_new_fd()
3407 struct btf *btf; in btf_new_fd() local
3438 struct btf *btf; in btf_get_by_fd() local
3458 int btf_get_info_by_fd(const struct btf *btf, in btf_get_info_by_fd()
3491 struct btf *btf; in btf_get_fd_by_id() local
3510 u32 btf_id(const struct btf *btf) in btf_id()