Searched refs:elem_size (Results 1 – 3 of 3) sorted by relevance
218 long long elem_size; in btf_dumper_array() local227 elem_size = btf__resolve_size(d->btf, arr->type); in btf_dumper_array()228 if (elem_size < 0) in btf_dumper_array()229 return elem_size; in btf_dumper_array()234 data + i * elem_size); in btf_dumper_array()
95 __u32 elem_size; member115 VERIFY(hash->elem_size == 64); in check_hash()132 __u32 elem_size; member150 VERIFY(array->elem_size == 8); in check_array()
1924 __s64 elem_size; in btf_dump_array_data() local1929 elem_size = btf__resolve_size(d->btf, elem_type_id); in btf_dump_array_data()1930 if (elem_size <= 0) { in btf_dump_array_data()1932 (ssize_t)elem_size, id); in btf_dump_array_data()1942 if (elem_size == 1) in btf_dump_array_data()1961 for (i = 0; i < array->nelems; i++, data += elem_size) { in btf_dump_array_data()2222 __u32 elem_type_id, elem_size; in btf_dump_type_data_check_zero() local2226 elem_size = btf__resolve_size(d->btf, elem_type_id); in btf_dump_type_data_check_zero()2229 ischar = btf_is_int(elem_type) && elem_size == 1; in btf_dump_type_data_check_zero()2243 (i * elem_size), in btf_dump_type_data_check_zero()