Home
last modified time | relevance | path

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

/kernel/bpf/
Dbtf.c2842 if (!array->index_type || !BTF_TYPE_ID_VALID(array->index_type)) { in btf_array_check_meta()
2856 const struct btf_type *elem_type, *index_type; in btf_array_resolve() local
2862 index_type_id = array->index_type; in btf_array_resolve()
2863 index_type = btf_type_by_id(btf, index_type_id); in btf_array_resolve()
2864 if (btf_type_nosize_or_null(index_type) || in btf_array_resolve()
2865 btf_type_is_resolve_source_only(index_type)) { in btf_array_resolve()
2870 if (!env_type_is_resolve_sink(env, index_type) && in btf_array_resolve()
2872 return env_stack_push(env, index_type, index_type_id); in btf_array_resolve()
2874 index_type = btf_type_id_size(btf, &index_type_id, NULL); in btf_array_resolve()
2875 if (!index_type || !btf_type_is_int(index_type) || in btf_array_resolve()
[all …]