| /linux/tools/testing/selftests/bpf/ |
| H A D | test_btf.h | 24 #define BTF_ARRAY_ENC(type, index_type, nr_elems) \ argument 25 (type), (index_type), (nr_elems) 26 #define BTF_TYPE_ARRAY_ENC(type, index_type, nr_elems) \ argument 28 BTF_ARRAY_ENC(type, index_type, nr_elems)
|
| H A D | btf_helpers.c | 121 arr->type, arr->index_type, arr->nelems); in fprintf_btf_type_raw()
|
| /linux/drivers/gpu/drm/msm/registers/ |
| H A D | gen_header.py | 343 def __init__(self, attrs, domain, variant, parent, index_type): 369 self.index_type = index_type 371 self.index_type = None 379 if not self.index_type: 382 return "enum %s" % self.index_type.name 414 if self.index_type: 415 for val, offset in zip(self.index_type.names(), self.offsets): 765 index_type = self.enums[attrs["index"] 768 variant), variant, self.current_array, index_type) 302 __init__(self, attrs, domain, variant, parent, index_type) global() argument [all...] |
| /linux/tools/include/uapi/linux/ |
| H A D | btf.h | 128 __u32 index_type; 113 __u32 index_type; global() member
|
| /linux/tools/lib/bpf/ |
| H A D | btf_iter.c | 49 sizeof(struct btf_type) + offsetof(struct btf_array, index_type)} in btf_field_iter_init()
|
| H A D | libbpf.c | 10955 new_array_id = btf__add_array(btf, array->index_type, array->type, nr_elements); in validate_map_op()
|
| /linux/lib/ |
| H A D | ubsan.c | 452 val_to_string(index_str, sizeof(index_str), data->index_type, index); in __ubsan_handle_out_of_bounds()
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 3075 * so !array->type and !array->index_type are not allowed. in btf_array_check_meta() 3082 if (!array->index_type || !BTF_TYPE_ID_VALID(array->index_type)) { in btf_array_check_meta() 3096 const struct btf_type *elem_type, *index_type; in btf_array_resolve() local 3101 /* Check array->index_type */ in btf_array_resolve() 3102 index_type_id = array->index_type; in btf_array_resolve() 3103 index_type = btf_type_by_id(btf, index_type_id); in btf_array_resolve() 3104 if (btf_type_nosize_or_null(index_type) || in btf_array_resolve() 3105 btf_type_is_resolve_source_only(index_type)) { in btf_array_resolve() 3110 if (!env_type_is_resolve_sink(env, index_type) in btf_array_resolve() [all...] |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_write.c | 92 ASSERT_EQ(btf_array(t)->index_type, 1, "array_index_type"); in gen_btf()
|
| /linux/tools/bpf/bpftool/ |
| H A D | btf.c | 171 jsonw_uint_field(w, "index_type_id", arr->index_type); in dump_btf_type() 175 arr->type, arr->index_type, arr->nelems); in dump_btf_type()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_err.c | 3196 u8 index_type = NONE_ERROR; in hclge_handle_error_type_reg_log() local 3215 index_type = i; in hclge_handle_error_type_reg_log() 3221 if (index_module != MODULE_NONE && index_type != NONE_ERROR) in hclge_handle_error_type_reg_log() 3225 hclge_hw_type_id_st[index_type].msg, in hclge_handle_error_type_reg_log()
|