Lines Matching defs:btf_show

375  * their own data to a structure containing a struct btf_show and consult it
416 struct btf_show {
419 __printf(2, 0) void (*showfn)(struct btf_show *show, const char *fmt, va_list args);
461 struct btf_show *show);
965 static const char *btf_show_name(struct btf_show *show)
1124 static const char *__btf_show_indent(struct btf_show *show)
1134 static const char *btf_show_indent(struct btf_show *show)
1139 static const char *btf_show_newline(struct btf_show *show)
1144 static const char *btf_show_delim(struct btf_show *show)
1156 __printf(2, 3) static void btf_show(struct btf_show *show, const char *fmt, ...)
1177 btf_show(show, "%s%s" fmt "%s%s", \
1189 btf_show(show, "%s%s" fmt "%s%s", btf_show_indent(show), \
1198 static int btf_show_obj_size_left(struct btf_show *show, void *data)
1204 static bool btf_show_obj_is_safe(struct btf_show *show, void *data, int size)
1216 static void *__btf_show_obj_safe(struct btf_show *show, void *data, int size)
1226 * to the struct btf_show obj.safe buffer using copy_from_kernel_nofault().
1251 static void *btf_show_obj_safe(struct btf_show *show,
1327 static void *btf_show_start_type(struct btf_show *show,
1338 static void btf_show_end_type(struct btf_show *show)
1345 static void *btf_show_start_aggr_type(struct btf_show *show,
1354 btf_show(show, "%s%s%s", btf_show_indent(show),
1361 static void btf_show_end_aggr_type(struct btf_show *show,
1365 btf_show(show, "%s%s%s%s", btf_show_indent(show), suffix,
1370 static void btf_show_start_member(struct btf_show *show,
1376 static void btf_show_start_array_member(struct btf_show *show)
1382 static void btf_show_end_member(struct btf_show *show)
1387 static void btf_show_end_array_member(struct btf_show *show)
1393 static void *btf_show_start_array_type(struct btf_show *show,
1404 static void btf_show_end_array_type(struct btf_show *show)
1411 static void *btf_show_start_struct_type(struct btf_show *show,
1419 static void btf_show_end_struct_type(struct btf_show *show)
2146 struct btf_show *show)
2148 btf_show(show, "<unsupported kind:%u>", BTF_INFO_KIND(t->info));
2321 static void btf_int128_print(struct btf_show *show, void *data)
2388 u8 nr_bits, struct btf_show *show)
2415 struct btf_show *show)
2433 struct btf_show *show)
2782 u8 bits_offset, struct btf_show *show)
2794 struct btf_show *show)
2803 struct btf_show *show)
3042 struct btf_show *show)
3095 struct btf_show *show)
3101 * See comments above "struct btf_show" definition for more
4168 struct btf_show *show)
4215 struct btf_show *show)
4221 * See comments above "struct btf_show" definition for more
4383 struct btf_show *show)
4486 struct btf_show *show)
4849 struct btf_show *show)
4863 btf_show(show, ",");
7905 struct btf_show *show)
7916 __printf(2, 0) static void btf_seq_show(struct btf_show *show, const char *fmt,
7925 struct btf_show sseq;
7945 struct btf_show show;
7950 __printf(2, 0) static void btf_snprintf_show(struct btf_show *show, const char *fmt,
7983 btf_type_show(btf, type_id, obj, (struct btf_show *)&ssnprintf);