Lines Matching defs:env

1294 __printf(2, 3) static void btf_verifier_log(struct btf_verifier_env *env,  in btf_verifier_log()
1308 __printf(4, 5) static void __btf_verifier_log_type(struct btf_verifier_env *env, in __btf_verifier_log_type()
1347 #define btf_verifier_log_type(env, t, ...) \ argument
1349 #define btf_verifier_log_basic(env, t, ...) \ argument
1353 static void btf_verifier_log_member(struct btf_verifier_env *env, in btf_verifier_log_member()
1399 static void btf_verifier_log_vsi(struct btf_verifier_env *env, in btf_verifier_log_vsi()
1426 static void btf_verifier_log_hdr(struct btf_verifier_env *env, in btf_verifier_log_hdr()
1450 static int btf_add_type(struct btf_verifier_env *env, struct btf_type *t) in btf_add_type()
1560 static int env_resolve_init(struct btf_verifier_env *env) in env_resolve_init()
1596 static void btf_verifier_env_free(struct btf_verifier_env *env) in btf_verifier_env_free()
1602 static bool env_type_is_resolve_sink(const struct btf_verifier_env *env, in env_type_is_resolve_sink()
1627 static bool env_type_is_resolved(const struct btf_verifier_env *env, in env_type_is_resolved()
1637 static int env_stack_push(struct btf_verifier_env *env, in env_stack_push()
1667 static void env_stack_set_next_member(struct btf_verifier_env *env, in env_stack_set_next_member()
1673 static void env_stack_pop_resolved(struct btf_verifier_env *env, in env_stack_pop_resolved()
1686 static const struct resolve_vertex *env_stack_peak(struct btf_verifier_env *env) in env_stack_peak()
1853 static int btf_df_check_member(struct btf_verifier_env *env, in btf_df_check_member()
1863 static int btf_df_check_kflag_member(struct btf_verifier_env *env, in btf_df_check_kflag_member()
1876 static int btf_generic_check_kflag_member(struct btf_verifier_env *env, in btf_generic_check_kflag_member()
1895 static int btf_df_resolve(struct btf_verifier_env *env, in btf_df_resolve()
1909 static int btf_int_check_member(struct btf_verifier_env *env, in btf_int_check_member()
1947 static int btf_int_check_kflag_member(struct btf_verifier_env *env, in btf_int_check_kflag_member()
2003 static s32 btf_int_check_meta(struct btf_verifier_env *env, in btf_int_check_meta()
2067 static void btf_int_log(struct btf_verifier_env *env, in btf_int_log()
2268 static int btf_modifier_check_member(struct btf_verifier_env *env, in btf_modifier_check_member()
2293 static int btf_modifier_check_kflag_member(struct btf_verifier_env *env, in btf_modifier_check_kflag_member()
2318 static int btf_ptr_check_member(struct btf_verifier_env *env, in btf_ptr_check_member()
2344 static int btf_ref_type_check_meta(struct btf_verifier_env *env, in btf_ref_type_check_meta()
2384 static int btf_modifier_resolve(struct btf_verifier_env *env, in btf_modifier_resolve()
2426 static int btf_var_resolve(struct btf_verifier_env *env, in btf_var_resolve()
2472 static int btf_ptr_resolve(struct btf_verifier_env *env, in btf_ptr_resolve()
2569 static void btf_ref_type_log(struct btf_verifier_env *env, in btf_ref_type_log()
2593 static s32 btf_fwd_check_meta(struct btf_verifier_env *env, in btf_fwd_check_meta()
2619 static void btf_fwd_type_log(struct btf_verifier_env *env, in btf_fwd_type_log()
2634 static int btf_array_check_member(struct btf_verifier_env *env, in btf_array_check_member()
2663 static s32 btf_array_check_meta(struct btf_verifier_env *env, in btf_array_check_meta()
2716 static int btf_array_resolve(struct btf_verifier_env *env, in btf_array_resolve()
2781 static void btf_array_log(struct btf_verifier_env *env, in btf_array_log()
2885 static int btf_struct_check_member(struct btf_verifier_env *env, in btf_struct_check_member()
2910 static s32 btf_struct_check_meta(struct btf_verifier_env *env, in btf_struct_check_meta()
2991 static int btf_struct_resolve(struct btf_verifier_env *env, in btf_struct_resolve()
3062 static void btf_struct_log(struct btf_verifier_env *env, in btf_struct_log()
3244 static int btf_enum_check_member(struct btf_verifier_env *env, in btf_enum_check_member()
3269 static int btf_enum_check_kflag_member(struct btf_verifier_env *env, in btf_enum_check_kflag_member()
3304 static s32 btf_enum_check_meta(struct btf_verifier_env *env, in btf_enum_check_meta()
3366 static void btf_enum_log(struct btf_verifier_env *env, in btf_enum_log()
3412 static s32 btf_func_proto_check_meta(struct btf_verifier_env *env, in btf_func_proto_check_meta()
3440 static void btf_func_proto_log(struct btf_verifier_env *env, in btf_func_proto_log()
3499 static s32 btf_func_check_meta(struct btf_verifier_env *env, in btf_func_check_meta()
3533 static s32 btf_var_check_meta(struct btf_verifier_env *env, in btf_var_check_meta()
3581 static void btf_var_log(struct btf_verifier_env *env, const struct btf_type *t) in btf_var_log()
3597 static s32 btf_datasec_check_meta(struct btf_verifier_env *env, in btf_datasec_check_meta()
3670 static int btf_datasec_resolve(struct btf_verifier_env *env, in btf_datasec_resolve()
3709 static void btf_datasec_log(struct btf_verifier_env *env, in btf_datasec_log()
3748 static s32 btf_float_check_meta(struct btf_verifier_env *env, in btf_float_check_meta()
3773 static int btf_float_check_member(struct btf_verifier_env *env, in btf_float_check_member()
3808 static void btf_float_log(struct btf_verifier_env *env, in btf_float_log()
3823 static s32 btf_decl_tag_check_meta(struct btf_verifier_env *env, in btf_decl_tag_check_meta()
3866 static int btf_decl_tag_resolve(struct btf_verifier_env *env, in btf_decl_tag_resolve()
3912 static void btf_decl_tag_log(struct btf_verifier_env *env, const struct btf_type *t) in btf_decl_tag_log()
3927 static int btf_func_proto_check(struct btf_verifier_env *env, in btf_func_proto_check()
4016 static int btf_func_check(struct btf_verifier_env *env, in btf_func_check()
4064 static s32 btf_check_meta(struct btf_verifier_env *env, in btf_check_meta()
4106 static int btf_check_all_metas(struct btf_verifier_env *env) in btf_check_all_metas()
4133 static bool btf_resolve_valid(struct btf_verifier_env *env, in btf_resolve_valid()
4174 static int btf_resolve(struct btf_verifier_env *env, in btf_resolve()
4207 static int btf_check_all_types(struct btf_verifier_env *env) in btf_check_all_types()
4247 static int btf_parse_type_sec(struct btf_verifier_env *env) in btf_parse_type_sec()
4270 static int btf_parse_str_sec(struct btf_verifier_env *env) in btf_parse_str_sec()
4314 static int btf_check_sec_info(struct btf_verifier_env *env, in btf_check_sec_info()
4367 static int btf_parse_hdr(struct btf_verifier_env *env) in btf_parse_hdr()
4440 struct btf_verifier_env *env = NULL; in btf_parse() local
4668 struct btf_verifier_env *env = NULL; in BTF_ID() local
4738 struct btf_verifier_env *env = NULL; in btf_parse_module() local
5566 static int btf_check_func_arg_match(struct bpf_verifier_env *env, in btf_check_func_arg_match()
5706 int btf_check_subprog_arg_match(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_arg_match()
5737 int btf_check_kfunc_arg_match(struct bpf_verifier_env *env, in btf_check_kfunc_arg_match()
5751 int btf_prepare_func_args(struct bpf_verifier_env *env, int subprog, in btf_prepare_func_args()