Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dbtf.h452 static inline bool btf_is_any_enum(const struct btf_type *t) in btf_is_any_enum() function
461 (btf_is_any_enum(t1) && btf_is_any_enum(t2)); in btf_kind_core_compat()
Drelo_core.c316 if (!btf_is_any_enum(t) || spec->raw_len > 1 || access_idx >= btf_vlen(t)) in bpf_core_parse_spec()
592 if (!btf_is_any_enum(targ_type)) in bpf_core_spec_match()
778 *val = (btf_is_any_enum(mt) && BTF_INFO_KFLAG(mt->info)) || in bpf_core_calc_field_relo()
1599 if (!btf_is_any_enum(targ_t)) in __bpf_core_types_match()
Dbtf.c3483 return btf_is_any_enum(t) && btf_vlen(t) == 0; in btf_is_enum_fwd()
3497 btf_is_any_enum(t1) && btf_is_any_enum(t2); in btf_compat_enum()
/linux-6.6.21/include/linux/
Dbtf.h264 static inline bool btf_is_any_enum(const struct btf_type *t) in btf_is_any_enum() function
274 (btf_is_any_enum(t1) && btf_is_any_enum(t2)); in btf_kind_core_compat()
/linux-6.6.21/kernel/bpf/
Dbtf.c6015 if (btf_type_is_small_int(t) || btf_is_any_enum(t) || __btf_type_is_struct(t)) in btf_ctx_access()
6531 if (btf_type_is_int(t) || btf_is_any_enum(t) || __btf_type_is_struct(t)) in __get_type_size()
6697 if (btf_type_is_int(t1) || btf_is_any_enum(t1)) in btf_check_func_type_match()
7013 if (!btf_type_is_int(t) && !btf_is_any_enum(t)) { in btf_prepare_func_args()
7028 if (btf_type_is_int(t) || btf_is_any_enum(t)) { in btf_prepare_func_args()
Dverifier.c15524 btf_type_is_small_int(ret_type) || btf_is_any_enum(ret_type); in check_btf_func()