Lines Matching refs:local_btf
2500 static struct ids_vec *bpf_core_find_cands(const struct btf *local_btf, in bpf_core_find_cands() argument
2511 t = btf__type_by_id(local_btf, local_type_id); in bpf_core_find_cands()
2515 local_name = btf__name_by_offset(local_btf, t->name_off); in bpf_core_find_cands()
2566 static int bpf_core_fields_are_compat(const struct btf *local_btf, in bpf_core_fields_are_compat() argument
2574 local_type = skip_mods_and_typedefs(local_btf, local_id, &local_id); in bpf_core_fields_are_compat()
2622 static int bpf_core_match_member(const struct btf *local_btf, in bpf_core_match_member() argument
2642 local_type = btf__type_by_id(local_btf, local_id); in bpf_core_match_member()
2644 local_name = btf__name_by_offset(local_btf, local_member->name_off); in bpf_core_match_member()
2669 found = bpf_core_match_member(local_btf, local_acc, in bpf_core_match_member()
2684 found = bpf_core_fields_are_compat(local_btf, in bpf_core_match_member()
3001 const struct btf *local_btf, in bpf_core_reloc_offset() argument
3016 local_type = btf__type_by_id(local_btf, local_id); in bpf_core_reloc_offset()
3020 local_name = btf__name_by_offset(local_btf, local_type->name_off); in bpf_core_reloc_offset()
3024 spec_str = btf__name_by_offset(local_btf, relo->access_str_off); in bpf_core_reloc_offset()
3028 err = bpf_core_spec_parse(local_btf, local_id, spec_str, &local_spec); in bpf_core_reloc_offset()
3041 cand_ids = bpf_core_find_cands(local_btf, local_id, targ_btf); in bpf_core_reloc_offset()