Lines Matching refs:type_id

24 static int btf_dumper_do_type(const struct btf_dumper *d, __u32 type_id,
80 func_type = btf__type_by_id(prog_btf, finfo.type_id);
135 static int btf_dumper_modifier(const struct btf_dumper *d, __u32 type_id,
140 actual_type_id = btf__resolve_type(d->btf, type_id);
247 static int btf_dumper_array(const struct btf_dumper *d, __u32 type_id,
250 const struct btf_type *t = btf__type_by_id(d->btf, type_id);
465 static int btf_dumper_struct(const struct btf_dumper *d, __u32 type_id,
475 t = btf__type_by_id(d->btf, type_id);
513 static int btf_dumper_var(const struct btf_dumper *d, __u32 type_id,
516 const struct btf_type *t = btf__type_by_id(d->btf, type_id);
527 static int btf_dumper_datasec(const struct btf_dumper *d, __u32 type_id,
534 t = btf__type_by_id(d->btf, type_id);
555 static int btf_dumper_do_type(const struct btf_dumper *d, __u32 type_id,
558 const struct btf_type *t = btf__type_by_id(d->btf, type_id);
566 return btf_dumper_struct(d, type_id, data);
568 return btf_dumper_array(d, type_id, data);
587 return btf_dumper_modifier(d, type_id, bit_offset, data);
589 return btf_dumper_var(d, type_id, bit_offset, data);
591 return btf_dumper_datasec(d, type_id, data);
598 int btf_dumper_type(const struct btf_dumper *d, __u32 type_id,
601 return btf_dumper_do_type(d, type_id, 0, data);
619 static int __btf_dumper_type_only(const struct btf *btf, __u32 type_id,
627 if (!type_id) {
632 t = btf__type_by_id(btf, type_id);
747 void btf_dumper_type_only(const struct btf *btf, __u32 type_id, char *func_sig,
756 err = __btf_dumper_type_only(btf, type_id, func_sig, 0, size);