Searched refs:index_type (Results 1 – 10 of 10) sorted by relevance
| /tools/testing/selftests/bpf/ |
| 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)
|
| A D | btf_helpers.c | 121 arr->type, arr->index_type, arr->nelems); in fprintf_btf_type_raw()
|
| /tools/include/uapi/linux/ |
| A D | btf.h | 114 __u32 index_type; member
|
| /tools/lib/bpf/ |
| A D | btf_iter.c | 49 sizeof(struct btf_type) + offsetof(struct btf_array, index_type)} in btf_field_iter_init()
|
| A D | btf.c | 385 a->index_type = bswap_32(a->index_type); in btf_bswap_type_rest() 516 err = err ?: btf_validate_id(btf, a->index_type, id); in btf_validate_type() 2233 a->index_type = index_type_id; in btf__add_array() 4082 h = hash_combine(h, info->index_type); in btf_hash_array() 4104 info1->index_type == info2->index_type && in btf_equal_array() 4457 if (a1->index_type != a2->index_type && in btf_dedup_identical_types() 4458 !btf_dedup_identical_types(d, a1->index_type, a2->index_type, depth - 1)) in btf_dedup_identical_types() 4704 eq = btf_dedup_is_equiv(d, cand_arr->index_type, canon_arr->index_type); in btf_dedup_is_equiv() 5030 ref_type_id = btf_dedup_ref_type(d, info->index_type); in btf_dedup_ref_type() 5033 info->index_type = ref_type_id; in btf_dedup_ref_type()
|
| A D | btf_dump.c | 349 d->type_states[a->index_type].referenced = 1; in btf_dump_mark_referenced()
|
| A D | libbpf.c | 10378 new_array_id = btf__add_array(btf, array->index_type, array->type, nr_elements); in map_btf_datasec_resize()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | btf_write.c | 92 ASSERT_EQ(btf_array(t)->index_type, 1, "array_index_type"); in gen_btf()
|
| /tools/bpf/bpftool/ |
| A D | btf.c | 170 jsonw_uint_field(w, "index_type_id", arr->index_type); in dump_btf_type() 174 arr->type, arr->index_type, arr->nelems); in dump_btf_type()
|
| A D | gen.c | 2077 err = err ? : btfgen_mark_type(info, array->index_type, follow_pointers); in btfgen_mark_type() 2223 err = err ? : btfgen_mark_type_match(info, array->index_type, false); in btfgen_mark_type_match()
|
Completed in 48 milliseconds