Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/bpf/
Dbtf.c2229 struct btf_type *cand_type; in btf_dedup_is_equiv() local
2249 cand_type = d->btf->types[cand_id]; in btf_dedup_is_equiv()
2251 cand_kind = btf_kind(cand_type); in btf_dedup_is_equiv()
2254 if (cand_type->name_off != canon_type->name_off) in btf_dedup_is_equiv()
2266 fwd_kind = btf_fwd_kind(cand_type); in btf_dedup_is_equiv()
2279 return btf_equal_int(cand_type, canon_type); in btf_dedup_is_equiv()
2283 return btf_equal_enum(cand_type, canon_type); in btf_dedup_is_equiv()
2285 return btf_compat_enum(cand_type, canon_type); in btf_dedup_is_equiv()
2288 return btf_equal_common(cand_type, canon_type); in btf_dedup_is_equiv()
2296 if (cand_type->info != canon_type->info) in btf_dedup_is_equiv()
[all …]
Dlibbpf.c3008 const struct btf_type *local_type, *cand_type; in bpf_core_reloc_offset() local
3057 cand_type = btf__type_by_id(targ_btf, cand_id); in bpf_core_reloc_offset()
3058 cand_name = btf__name_by_offset(targ_btf, cand_type->name_off); in bpf_core_reloc_offset()