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

/linux-master/tools/testing/selftests/bpf/
H A Dtest_btf.h24 #define BTF_ARRAY_ENC(type, index_type, nr_elems) \
25 (type), (index_type), (nr_elems)
26 #define BTF_TYPE_ARRAY_ENC(type, index_type, nr_elems) \
28 BTF_ARRAY_ENC(type, index_type, nr_elems)
H A Dbtf_helpers.c121 arr->type, arr->index_type, arr->nelems);
/linux-master/include/uapi/linux/
H A Dbtf.h113 __u32 index_type; member in struct:btf_array
/linux-master/tools/include/uapi/linux/
H A Dbtf.h113 __u32 index_type; member in struct:btf_array
/linux-master/lib/
H A Dubsan.h95 struct type_descriptor *index_type; member in struct:out_of_bounds_data
H A Dubsan.c426 val_to_string(index_str, sizeof(index_str), data->index_type, index);
/linux-master/tools/lib/bpf/
H A Dbtf.c377 a->index_type = bswap_32(a->index_type);
508 err = err ?: btf_validate_id(btf, a->index_type, id);
2094 a->index_type = index_type_id;
3733 h = hash_combine(h, info->index_type);
3755 info1->index_type == info2->index_type &&
4298 eq = btf_dedup_is_equiv(d, cand_arr->index_type, canon_arr->index_type);
4624 ref_type_id = btf_dedup_ref_type(d, info->index_type);
[all...]
H A Dbtf_dump.c344 d->type_states[a->index_type].referenced = 1;
H A Dlibbpf.c10081 new_array_id = btf__add_array(btf, array->index_type, array->type, nr_elements);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c92 ASSERT_EQ(btf_array(t)->index_type, 1, "array_index_type");
/linux-master/tools/bpf/bpftool/
H A Dbtf.c153 jsonw_uint_field(w, "index_type_id", arr->index_type);
157 arr->type, arr->index_type, arr->nelems);
H A Dgen.c2028 err = err ? : btfgen_mark_type(info, array->index_type, follow_pointers);
2174 err = err ? : btfgen_mark_type_match(info, array->index_type, false);
/linux-master/kernel/bpf/
H A Dbtf.c2915 * so !array->type and !array->index_type are not allowed.
2922 if (!array->index_type || !BTF_TYPE_ID_VALID(array->index_type)) {
2936 const struct btf_type *elem_type, *index_type; local
2941 /* Check array->index_type */
2942 index_type_id = array->index_type;
2943 index_type = btf_type_by_id(btf, index_type_id);
2944 if (btf_type_nosize_or_null(index_type) ||
2945 btf_type_is_resolve_source_only(index_type)) {
2950 if (!env_type_is_resolve_sink(env, index_type)
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_err.c2774 u8 index_type = NONE_ERROR; local
2793 index_type = i;
2799 if (index_module != MODULE_NONE && index_type != NONE_ERROR)
2803 hclge_hw_type_id_st[index_type].msg,

Completed in 299 milliseconds