Home
last modified time | relevance | path

Searched refs:btf_is_enum (Results 1 – 5 of 5) sorted by relevance

/tools/lib/bpf/
Drelo_core.c207 if (!btf_is_enum(t) || spec->raw_len > 1 || access_idx >= btf_vlen(t)) in bpf_core_parse_spec()
477 if (!btf_is_enum(targ_type)) in bpf_core_spec_match()
659 *val = btf_is_enum(mt) || in bpf_core_calc_field_relo()
Dbtf.h267 static inline bool btf_is_enum(const struct btf_type *t) in btf_is_enum() function
Dbtf.c2085 if (!btf_is_enum(t)) in btf__add_enum_value()
3339 return btf_is_enum(t) && btf_vlen(t) == 0; in btf_is_enum_fwd()
Dbtf_dump.c1570 if (btf_is_fwd(t) || (btf_is_enum(t) && btf_vlen(t) == 0)) { in btf_dump_resolve_name()
/tools/testing/selftests/bpf/prog_tests/
Dcore_reloc.c400 } else if (btf_is_enum(t) && btf_vlen(t) && in setup_type_id_case_local()