Searched refs:elem_type_id (Results 1 – 3 of 3) sorted by relevance
/tools/lib/bpf/ |
D | btf_dump.c | 1923 __u32 i, elem_type_id; in btf_dump_array_data() local 1927 elem_type_id = array->type; in btf_dump_array_data() 1928 elem_type = skip_mods_and_typedefs(d->btf, elem_type_id, NULL); in btf_dump_array_data() 1929 elem_size = btf__resolve_size(d->btf, elem_type_id); in btf_dump_array_data() 1964 btf_dump_dump_type_data(d, NULL, elem_type, elem_type_id, data, 0, 0); in btf_dump_array_data() 2222 __u32 elem_type_id, elem_size; in btf_dump_type_data_check_zero() local 2225 elem_type_id = array->type; in btf_dump_type_data_check_zero() 2226 elem_size = btf__resolve_size(d->btf, elem_type_id); in btf_dump_type_data_check_zero() 2227 elem_type = skip_mods_and_typedefs(d->btf, elem_type_id, NULL); in btf_dump_type_data_check_zero() 2241 elem_type_id, in btf_dump_type_data_check_zero()
|
D | btf.h | 109 int index_type_id, int elem_type_id, __u32 nr_elems);
|
D | btf.c | 1859 int btf__add_array(struct btf *btf, int index_type_id, int elem_type_id, __u32 nr_elems) in btf__add_array() argument 1865 if (validate_type_id(index_type_id) || validate_type_id(elem_type_id)) in btf__add_array() 1881 a->type = elem_type_id; in btf__add_array()
|