Home
last modified time | relevance | path

Searched refs:cand_type (Results 1 – 2 of 2) sorted by relevance

/tools/lib/bpf/
Dbtf.c2224 struct btf_type *cand_type; in btf_dedup_is_equiv() local
2244 cand_type = d->btf->types[cand_id]; in btf_dedup_is_equiv()
2246 cand_kind = btf_kind(cand_type); in btf_dedup_is_equiv()
2249 if (cand_type->name_off != canon_type->name_off) in btf_dedup_is_equiv()
2261 fwd_kind = btf_fwd_kind(cand_type); in btf_dedup_is_equiv()
2274 return btf_equal_int(cand_type, canon_type); in btf_dedup_is_equiv()
2278 return btf_equal_enum(cand_type, canon_type); in btf_dedup_is_equiv()
2280 return btf_compat_enum(cand_type, canon_type); in btf_dedup_is_equiv()
2283 return btf_equal_common(cand_type, canon_type); in btf_dedup_is_equiv()
2291 if (cand_type->info != canon_type->info) in btf_dedup_is_equiv()
[all …]
Dlibbpf.c3021 const struct btf_type *local_type, *cand_type; in bpf_core_reloc_offset() local
3070 cand_type = btf__type_by_id(targ_btf, cand_id); in bpf_core_reloc_offset()
3071 cand_name = btf__name_by_offset(targ_btf, cand_type->name_off); in bpf_core_reloc_offset()