H A D | relo_core.c | 146 int __bpf_core_types_are_compat(const struct btf *local_btf, __u32 local_id, in __bpf_core_types_are_compat() argument 153 local_type = btf_type_by_id(local_btf, local_id); in __bpf_core_types_are_compat() 163 local_type = skip_mods_and_typedefs(local_btf, local_id, &local_id); in __bpf_core_types_are_compat() 206 skip_mods_and_typedefs(local_btf, local_p->type, &local_id); in __bpf_core_types_are_compat() 208 err = __bpf_core_types_are_compat(local_btf, local_id, targ_btf, targ_id, in __bpf_core_types_are_compat() 215 skip_mods_and_typedefs(local_btf, local_type->type, &local_id); in __bpf_core_types_are_compat() 412 static int bpf_core_fields_are_compat(const struct btf *local_btf, in bpf_core_fields_are_compat() argument 420 local_type = skip_mods_and_typedefs(local_btf, local_id, &local_id); in bpf_core_fields_are_compat() 440 local_name = btf__name_by_offset(local_btf, in bpf_core_fields_are_compat() 481 static int bpf_core_match_member(const struct btf *local_btf, in bpf_core_match_member() argument 1299 bpf_core_calc_relo_insn(const char * prog_name,const struct bpf_core_relo * relo,int relo_idx,const struct btf * local_btf,struct bpf_core_cand_list * cands,struct bpf_core_spec * specs_scratch,struct bpf_core_relo_res * targ_res) bpf_core_calc_relo_insn() argument 1438 bpf_core_names_match(const struct btf * local_btf,size_t local_name_off,const struct btf * targ_btf,size_t targ_name_off) bpf_core_names_match() argument 1456 bpf_core_enums_match(const struct btf * local_btf,const struct btf_type * local_t,const struct btf * targ_btf,const struct btf_type * targ_t) bpf_core_enums_match() argument 1495 bpf_core_composites_match(const struct btf * local_btf,const struct btf_type * local_t,const struct btf * targ_btf,const struct btf_type * targ_t,bool behind_ptr,int level) bpf_core_composites_match() argument 1560 __bpf_core_types_match(const struct btf * local_btf,__u32 local_id,const struct btf * targ_btf,__u32 targ_id,bool behind_ptr,int level) __bpf_core_types_match() argument [all...] |