Lines Matching refs:v
411 const struct resolve_vertex *v);
1767 struct resolve_vertex *v; in env_stack_push() local
1778 v = &env->stack[env->top_stack++]; in env_stack_push()
1779 v->t = t; in env_stack_push()
1780 v->type_id = type_id; in env_stack_push()
1781 v->next_member = 0; in env_stack_push()
2024 const struct resolve_vertex *v) in btf_df_resolve() argument
2026 btf_verifier_log_basic(env, v->t, "Unsupported resolve"); in btf_df_resolve()
2521 const struct resolve_vertex *v) in btf_modifier_resolve() argument
2523 const struct btf_type *t = v->t; in btf_modifier_resolve()
2530 btf_verifier_log_type(env, v->t, "Invalid type_id"); in btf_modifier_resolve()
2552 btf_verifier_log_type(env, v->t, "Invalid type_id"); in btf_modifier_resolve()
2563 const struct resolve_vertex *v) in btf_var_resolve() argument
2566 const struct btf_type *t = v->t; in btf_var_resolve()
2572 btf_verifier_log_type(env, v->t, "Invalid type_id"); in btf_var_resolve()
2599 btf_verifier_log_type(env, v->t, "Invalid type_id"); in btf_var_resolve()
2609 const struct resolve_vertex *v) in btf_ptr_resolve() argument
2612 const struct btf_type *t = v->t; in btf_ptr_resolve()
2618 btf_verifier_log_type(env, v->t, "Invalid type_id"); in btf_ptr_resolve()
2655 btf_verifier_log_type(env, v->t, "Invalid type_id"); in btf_ptr_resolve()
2853 const struct resolve_vertex *v) in btf_array_resolve() argument
2855 const struct btf_array *array = btf_type_array(v->t); in btf_array_resolve()
2866 btf_verifier_log_type(env, v->t, "Invalid index"); in btf_array_resolve()
2877 btf_verifier_log_type(env, v->t, "Invalid index"); in btf_array_resolve()
2886 btf_verifier_log_type(env, v->t, in btf_array_resolve()
2897 btf_verifier_log_type(env, v->t, "Invalid elem"); in btf_array_resolve()
2902 btf_verifier_log_type(env, v->t, "Invalid array of int"); in btf_array_resolve()
2907 btf_verifier_log_type(env, v->t, in btf_array_resolve()
3128 const struct resolve_vertex *v) in btf_struct_resolve() argument
3138 if (v->next_member) { in btf_struct_resolve()
3143 last_member = btf_type_member(v->t) + v->next_member - 1; in btf_struct_resolve()
3151 if (btf_type_kflag(v->t)) in btf_struct_resolve()
3152 err = btf_type_ops(last_member_type)->check_kflag_member(env, v->t, in btf_struct_resolve()
3156 err = btf_type_ops(last_member_type)->check_member(env, v->t, in btf_struct_resolve()
3163 for_each_member_from(i, v->next_member, v->t, member) { in btf_struct_resolve()
3170 btf_verifier_log_member(env, v->t, member, in btf_struct_resolve()
3181 if (btf_type_kflag(v->t)) in btf_struct_resolve()
3182 err = btf_type_ops(member_type)->check_kflag_member(env, v->t, in btf_struct_resolve()
3186 err = btf_type_ops(member_type)->check_member(env, v->t, in btf_struct_resolve()
3757 int v; in btf_enum_show() local
3763 v = *(int *)safe_data; in btf_enum_show()
3766 if (v != enums[i].val) in btf_enum_show()
3778 btf_show_type_value(show, "%d", v); in btf_enum_show()
3780 btf_show_type_value(show, "%u", v); in btf_enum_show()
3860 s64 v; in btf_enum64_show() local
3866 v = *(u64 *)safe_data; in btf_enum64_show()
3869 if (v != btf_enum64_value(enums + i)) in btf_enum64_show()
3881 btf_show_type_value(show, "%lld", v); in btf_enum64_show()
3883 btf_show_type_value(show, "%llu", v); in btf_enum64_show()
4009 const struct resolve_vertex *v) in btf_func_resolve() argument
4011 const struct btf_type *t = v->t; in btf_func_resolve()
4170 const struct resolve_vertex *v) in btf_datasec_resolve() argument
4177 for_each_vsi_from(i, v->next_member, v->t, vsi) { in btf_datasec_resolve()
4182 btf_verifier_log_vsi(env, v->t, vsi, in btf_datasec_resolve()
4195 btf_verifier_log_vsi(env, v->t, vsi, "Invalid type"); in btf_datasec_resolve()
4200 btf_verifier_log_vsi(env, v->t, vsi, "Invalid size"); in btf_datasec_resolve()
4367 const struct resolve_vertex *v) in btf_decl_tag_resolve() argument
4370 const struct btf_type *t = v->t; in btf_decl_tag_resolve()
4378 btf_verifier_log_type(env, v->t, "Invalid type_id"); in btf_decl_tag_resolve()
4389 btf_verifier_log_type(env, v->t, "Invalid component_idx"); in btf_decl_tag_resolve()
4402 btf_verifier_log_type(env, v->t, "Invalid component_idx"); in btf_decl_tag_resolve()
4690 const struct resolve_vertex *v; in btf_resolve() local
4695 while (!err && (v = env_stack_peak(env))) { in btf_resolve()
4696 env->log_type_id = v->type_id; in btf_resolve()
4697 err = btf_type_ops(v->t)->resolve(env, v); in btf_resolve()