Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Drelo_core.c320 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()
Dbtf.h372 static inline bool btf_is_enum(const struct btf_type *t) in btf_is_enum() function
454 return btf_is_enum(t) || btf_is_enum64(t); in btf_is_any_enum()
Dbtf_dump.c1131 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()
Dbtf.c2249 if (!btf_is_enum(t))
Dlibbpf.c2877 } else if (!has_enum64 && btf_is_enum(t)) {