Searched refs:btf_is_enum (Results 1 – 5 of 5) sorted by relevance
320 name_off = btf_is_enum(t) ? btf_enum(t)[access_idx].name_off in bpf_core_parse_spec()598 if (btf_is_enum(targ_type)) in bpf_core_spec_match()861 if (btf_is_enum(t)) in bpf_core_calc_enumval_relo()1187 if (btf_is_enum(t)) { in bpf_core_format_spec()1460 local_n_off = btf_is_enum(local_t) ? btf_enum(local_t)[i].name_off : in bpf_core_enums_match()1464 targ_n_off = btf_is_enum(targ_t) ? btf_enum(targ_t)[j].name_off : in bpf_core_enums_match()
372 static inline bool btf_is_enum(const struct btf_type *t) in btf_is_enum() function454 return btf_is_enum(t) || btf_is_enum64(t); in btf_is_any_enum()
1131 if (btf_is_enum(t)) in btf_dump_emit_enum_def()1150 if (btf_is_enum(t)) { in btf_dump_emit_enum_def()1670 if (btf_is_fwd(t) || (btf_is_enum(t) && btf_vlen(t) == 0)) { in btf_dump_resolve_name()2199 if (btf_is_enum(t)) { in btf_dump_enum_data()
2249 if (!btf_is_enum(t))
2877 } else if (!has_enum64 && btf_is_enum(t)) {