Searched refs:targ_type (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A 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() 417 const struct btf_type *local_type, *targ_type; bpf_core_fields_are_compat() local 488 const struct btf_type *local_type, *targ_type; bpf_core_match_member() local 561 const struct btf_type *targ_type; bpf_core_spec_match() local [all...] |
H A D | libbpf.c | 7628 const struct btf_type *targ_var, *targ_type; in bpf_object__resolve_ksym_var_btf_id() local 7650 targ_type = skip_mods_and_typedefs(btf, targ_var->type, &targ_type_id); in bpf_object__resolve_ksym_var_btf_id() 7660 targ_name = btf__name_by_offset(btf, targ_type->name_off); in bpf_object__resolve_ksym_var_btf_id() 7665 btf_kind_str(targ_type), targ_name); in bpf_object__resolve_ksym_var_btf_id()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | libbpf.c | 4760 const struct btf_type *local_type, *targ_type; in bpf_core_fields_are_compat() local 4764 targ_type = skip_mods_and_typedefs(targ_btf, targ_id, &targ_id); in bpf_core_fields_are_compat() 4765 if (!local_type || !targ_type) in bpf_core_fields_are_compat() 4768 if (btf_is_composite(local_type) && btf_is_composite(targ_type)) in bpf_core_fields_are_compat() 4770 if (btf_kind(local_type) != btf_kind(targ_type)) in bpf_core_fields_are_compat() 4783 targ_name = btf__name_by_offset(targ_btf, targ_type->name_off); in bpf_core_fields_are_compat() 4796 btf_int_offset(targ_type) == 0; in bpf_core_fields_are_compat() 4799 targ_id = btf_array(targ_type)->type; in bpf_core_fields_are_compat() 4831 const struct btf_type *local_type, *targ_type; in bpf_core_match_member() local 4837 targ_type in bpf_core_match_member() 4918 const struct btf_type *local_type, *targ_type; bpf_core_types_are_compat() local 4998 const struct btf_type *targ_type; bpf_core_spec_match() local 7178 const struct btf_type *targ_var, *targ_type; bpf_object__resolve_ksyms_btf_id() local [all...] |
Completed in 28 milliseconds