Home
last modified time | relevance | path

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

/OK3568_Linux_fs/yocto/meta-clang/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace/
H A D0001-Fix-segfault-when-btf__type_by_id-returns-NULL.patch25 if (btf_is_enum(t))
124 - if (!(btf_is_struct(t) || btf_is_union(t) || btf_is_enum(t)))
125 + if (!t || !(btf_is_struct(t) || btf_is_union(t) || btf_is_enum(t)))
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbtf.h230 static inline bool btf_is_enum(const struct btf_type *t) in btf_is_enum() function
H A Dbtf_dump.c1419 if (btf_is_fwd(t) || (btf_is_enum(t) && btf_vlen(t) == 0)) { in btf_dump_resolve_name()
H A Dbtf.c1927 if (!btf_is_enum(t)) in btf__add_enum_value()
3365 return btf_is_enum(t) && btf_vlen(t) == 0; in btf_is_enum_fwd()
H A Dlibbpf.c4564 if (!btf_is_enum(t) || spec->raw_len > 1 || access_idx >= btf_vlen(t)) in bpf_core_parse_spec()
5021 if (!btf_is_enum(targ_type)) in bpf_core_spec_match()
5203 *val = btf_is_enum(mt) || in bpf_core_calc_field_relo()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc.c371 } else if (btf_is_enum(t) && btf_vlen(t) && in setup_type_id_case_local()