btf_verifier_env 280 kernel/bpf/btf.c s32 (*check_meta)(struct btf_verifier_env *env, btf_verifier_env 283 kernel/bpf/btf.c int (*resolve)(struct btf_verifier_env *env, btf_verifier_env 285 kernel/bpf/btf.c int (*check_member)(struct btf_verifier_env *env, btf_verifier_env 289 kernel/bpf/btf.c int (*check_kflag_member)(struct btf_verifier_env *env, btf_verifier_env 293 kernel/bpf/btf.c void (*log_details)(struct btf_verifier_env *env, btf_verifier_env 303 kernel/bpf/btf.c static int btf_resolve(struct btf_verifier_env *env, btf_verifier_env 674 kernel/bpf/btf.c __printf(2, 3) static void btf_verifier_log(struct btf_verifier_env *env, btf_verifier_env 688 kernel/bpf/btf.c __printf(4, 5) static void __btf_verifier_log_type(struct btf_verifier_env *env, btf_verifier_env 726 kernel/bpf/btf.c static void btf_verifier_log_member(struct btf_verifier_env *env, btf_verifier_env 770 kernel/bpf/btf.c static void btf_verifier_log_vsi(struct btf_verifier_env *env, btf_verifier_env 795 kernel/bpf/btf.c static void btf_verifier_log_hdr(struct btf_verifier_env *env, btf_verifier_env 817 kernel/bpf/btf.c static int btf_add_type(struct btf_verifier_env *env, struct btf_type *t) btf_verifier_env 921 kernel/bpf/btf.c static int env_resolve_init(struct btf_verifier_env *env) btf_verifier_env 958 kernel/bpf/btf.c static void btf_verifier_env_free(struct btf_verifier_env *env) btf_verifier_env 964 kernel/bpf/btf.c static bool env_type_is_resolve_sink(const struct btf_verifier_env *env, btf_verifier_env 989 kernel/bpf/btf.c static bool env_type_is_resolved(const struct btf_verifier_env *env, btf_verifier_env 995 kernel/bpf/btf.c static int env_stack_push(struct btf_verifier_env *env, btf_verifier_env 1023 kernel/bpf/btf.c static void env_stack_set_next_member(struct btf_verifier_env *env, btf_verifier_env 1029 kernel/bpf/btf.c static void env_stack_pop_resolved(struct btf_verifier_env *env, btf_verifier_env 1041 kernel/bpf/btf.c static const struct resolve_vertex *env_stack_peak(struct btf_verifier_env *env) btf_verifier_env 1097 kernel/bpf/btf.c static int btf_df_check_member(struct btf_verifier_env *env, btf_verifier_env 1107 kernel/bpf/btf.c static int btf_df_check_kflag_member(struct btf_verifier_env *env, btf_verifier_env 1120 kernel/bpf/btf.c static int btf_generic_check_kflag_member(struct btf_verifier_env *env, btf_verifier_env 1139 kernel/bpf/btf.c static int btf_df_resolve(struct btf_verifier_env *env, btf_verifier_env 1153 kernel/bpf/btf.c static int btf_int_check_member(struct btf_verifier_env *env, btf_verifier_env 1191 kernel/bpf/btf.c static int btf_int_check_kflag_member(struct btf_verifier_env *env, btf_verifier_env 1247 kernel/bpf/btf.c static s32 btf_int_check_meta(struct btf_verifier_env *env, btf_verifier_env 1311 kernel/bpf/btf.c static void btf_int_log(struct btf_verifier_env *env, btf_verifier_env 1489 kernel/bpf/btf.c static int btf_modifier_check_member(struct btf_verifier_env *env, btf_verifier_env 1514 kernel/bpf/btf.c static int btf_modifier_check_kflag_member(struct btf_verifier_env *env, btf_verifier_env 1539 kernel/bpf/btf.c static int btf_ptr_check_member(struct btf_verifier_env *env, btf_verifier_env 1565 kernel/bpf/btf.c static int btf_ref_type_check_meta(struct btf_verifier_env *env, btf_verifier_env 1605 kernel/bpf/btf.c static int btf_modifier_resolve(struct btf_verifier_env *env, btf_verifier_env 1647 kernel/bpf/btf.c static int btf_var_resolve(struct btf_verifier_env *env, btf_verifier_env 1693 kernel/bpf/btf.c static int btf_ptr_resolve(struct btf_verifier_env *env, btf_verifier_env 1777 kernel/bpf/btf.c static void btf_ref_type_log(struct btf_verifier_env *env, btf_verifier_env 1801 kernel/bpf/btf.c static s32 btf_fwd_check_meta(struct btf_verifier_env *env, btf_verifier_env 1827 kernel/bpf/btf.c static void btf_fwd_type_log(struct btf_verifier_env *env, btf_verifier_env 1842 kernel/bpf/btf.c static int btf_array_check_member(struct btf_verifier_env *env, btf_verifier_env 1871 kernel/bpf/btf.c static s32 btf_array_check_meta(struct btf_verifier_env *env, btf_verifier_env 1924 kernel/bpf/btf.c static int btf_array_resolve(struct btf_verifier_env *env, btf_verifier_env 1989 kernel/bpf/btf.c static void btf_array_log(struct btf_verifier_env *env, btf_verifier_env 2031 kernel/bpf/btf.c static int btf_struct_check_member(struct btf_verifier_env *env, btf_verifier_env 2056 kernel/bpf/btf.c static s32 btf_struct_check_meta(struct btf_verifier_env *env, btf_verifier_env 2137 kernel/bpf/btf.c static int btf_struct_resolve(struct btf_verifier_env *env, btf_verifier_env 2208 kernel/bpf/btf.c static void btf_struct_log(struct btf_verifier_env *env, btf_verifier_env 2296 kernel/bpf/btf.c static int btf_enum_check_member(struct btf_verifier_env *env, btf_verifier_env 2321 kernel/bpf/btf.c static int btf_enum_check_kflag_member(struct btf_verifier_env *env, btf_verifier_env 2356 kernel/bpf/btf.c static s32 btf_enum_check_meta(struct btf_verifier_env *env, btf_verifier_env 2417 kernel/bpf/btf.c static void btf_enum_log(struct btf_verifier_env *env, btf_verifier_env 2452 kernel/bpf/btf.c static s32 btf_func_proto_check_meta(struct btf_verifier_env *env, btf_verifier_env 2480 kernel/bpf/btf.c static void btf_func_proto_log(struct btf_verifier_env *env, btf_verifier_env 2539 kernel/bpf/btf.c static s32 btf_func_check_meta(struct btf_verifier_env *env, btf_verifier_env 2573 kernel/bpf/btf.c static s32 btf_var_check_meta(struct btf_verifier_env *env, btf_verifier_env 2621 kernel/bpf/btf.c static void btf_var_log(struct btf_verifier_env *env, const struct btf_type *t) btf_verifier_env 2637 kernel/bpf/btf.c static s32 btf_datasec_check_meta(struct btf_verifier_env *env, btf_verifier_env 2715 kernel/bpf/btf.c static int btf_datasec_resolve(struct btf_verifier_env *env, btf_verifier_env 2754 kernel/bpf/btf.c static void btf_datasec_log(struct btf_verifier_env *env, btf_verifier_env 2789 kernel/bpf/btf.c static int btf_func_proto_check(struct btf_verifier_env *env, btf_verifier_env 2878 kernel/bpf/btf.c static int btf_func_check(struct btf_verifier_env *env, btf_verifier_env 2924 kernel/bpf/btf.c static s32 btf_check_meta(struct btf_verifier_env *env, btf_verifier_env 2966 kernel/bpf/btf.c static int btf_check_all_metas(struct btf_verifier_env *env) btf_verifier_env 2993 kernel/bpf/btf.c static bool btf_resolve_valid(struct btf_verifier_env *env, btf_verifier_env 3030 kernel/bpf/btf.c static int btf_resolve(struct btf_verifier_env *env, btf_verifier_env 3063 kernel/bpf/btf.c static int btf_check_all_types(struct btf_verifier_env *env) btf_verifier_env 3101 kernel/bpf/btf.c static int btf_parse_type_sec(struct btf_verifier_env *env) btf_verifier_env 3124 kernel/bpf/btf.c static int btf_parse_str_sec(struct btf_verifier_env *env) btf_verifier_env 3163 kernel/bpf/btf.c static int btf_check_sec_info(struct btf_verifier_env *env, btf_verifier_env 3216 kernel/bpf/btf.c static int btf_parse_hdr(struct btf_verifier_env *env) btf_verifier_env 3289 kernel/bpf/btf.c struct btf_verifier_env *env = NULL;