Searched refs:targ_type (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/lib/bpf/ |
D | relo_core.c | 149 const struct btf_type *local_type, *targ_type; in __bpf_core_types_are_compat() local 154 targ_type = btf_type_by_id(targ_btf, targ_id); in __bpf_core_types_are_compat() 155 if (!btf_kind_core_compat(local_type, targ_type)) in __bpf_core_types_are_compat() 164 targ_type = skip_mods_and_typedefs(targ_btf, targ_id, &targ_id); in __bpf_core_types_are_compat() 165 if (!local_type || !targ_type) in __bpf_core_types_are_compat() 168 if (!btf_kind_core_compat(local_type, targ_type)) in __bpf_core_types_are_compat() 183 return btf_int_offset(local_type) == 0 && btf_int_offset(targ_type) == 0; in __bpf_core_types_are_compat() 186 targ_id = targ_type->type; in __bpf_core_types_are_compat() 190 targ_id = btf_array(targ_type)->type; in __bpf_core_types_are_compat() 194 struct btf_param *targ_p = btf_params(targ_type); in __bpf_core_types_are_compat() [all …]
|
D | libbpf.c | 7414 const struct btf_type *targ_var, *targ_type; in bpf_object__resolve_ksym_var_btf_id() local 7436 targ_type = skip_mods_and_typedefs(btf, targ_var->type, &targ_type_id); in bpf_object__resolve_ksym_var_btf_id() 7446 targ_name = btf__name_by_offset(btf, targ_type->name_off); in bpf_object__resolve_ksym_var_btf_id() 7451 btf_kind_str(targ_type), targ_name); in bpf_object__resolve_ksym_var_btf_id()
|