Home
last modified time | relevance | path

Searched refs:btf_kind_str (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/tools/testing/selftests/bpf/
Dbtf_helpers.c29 static const char *btf_kind_str(__u16 kind) in btf_kind_str() function
98 fprintf(out, "[%u] %s '%s'", id, btf_kind_str(kind), btf_str(btf, t->name_off)); in fprintf_btf_type_raw()
/Linux-v5.15/tools/bpf/bpftool/
Dbtf.c22 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
117 jsonw_string_field(w, "kind", btf_kind_str[btf_kind_safe(kind)]); in dump_btf_type()
120 printf("[%u] %s '%s'", id, btf_kind_str[btf_kind_safe(kind)], in dump_btf_type()
334 btf_kind_str[btf_kind_safe(btf_kind(vt))], in dump_btf_type()
/Linux-v5.15/tools/lib/bpf/
Dlinker.c1321 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches()
1328 sym_name, btf_kflag(t2) ? "union" : "struct", btf_kind_str(t1)); in glob_sym_btf_matches()
1335 sym_name, btf_kind_str(t1), btf_kind_str(t2)); in glob_sym_btf_matches()
1350 sym_name, btf_kind_str(t1), n1, n2); in glob_sym_btf_matches()
1368 sym_name, btf_kind_str(t1), n1, t1->size, t2->size); in glob_sym_btf_matches()
1419 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1450 sym_name, btf_kind_str(t1), btf_vlen(t1), btf_vlen(t2)); in glob_sym_btf_matches()
1478 sym_name, btf_kind_str(t1)); in glob_sym_btf_matches()
1628 btf_kind_str(src_t), sym_name); in glob_syms_match()
Drelo_core.c276 type_id, spec_str, i, id, btf_kind_str(t)); in bpf_core_parse_spec()
1060 libbpf_print(level, "[%u] %s %s", type_id, btf_kind_str(t), str_is_empty(s) ? "<anon>" : s); in bpf_core_dump_spec()
1176 prog_name, relo_idx, local_id, btf_kind_str(local_type), in bpf_core_apply_relo_insn()
Dlibbpf_internal.h150 const char *btf_kind_str(const struct btf_type *t);
Dlibbpf.c1994 const char *btf_kind_str(const struct btf_type *t) in btf_kind_str() function
2016 map_name, name, btf_kind_str(t)); in get_map_field_int()
2028 map_name, name, btf_kind_str(arr_t)); in get_map_field_int()
2110 map_name, btf_kind_str(t)); in parse_btf_map_def()
2150 map_name, btf_kind_str(t)); in parse_btf_map_def()
2207 map_name, btf_kind_str(t)); in parse_btf_map_def()
2213 map_name, btf_kind_str(t)); in parse_btf_map_def()
2335 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map()
2347 map_name, btf_kind_str(var)); in bpf_object__init_user_btf_map()
3454 btf_kind_str(vt), ext_name); in bpf_object__collect_externs()
[all …]
/Linux-v5.15/kernel/bpf/
Dbtf.c266 static const char * const btf_kind_str[NR_BTF_KINDS] = { variable
288 return btf_kind_str[BTF_INFO_KIND(t->info)]; in btf_type_str()
1311 btf_kind_str[kind], in __btf_verifier_log_type()
4770 btf_kind_str[BTF_INFO_KIND(t->info)]); in btf_ctx_access()
4797 btf_kind_str[BTF_INFO_KIND(t->info)]); in btf_ctx_access()
4870 tname, arg, btf_kind_str[BTF_INFO_KIND(t->info)]); in btf_ctx_access()
4874 tname, arg, info->btf_id, btf_kind_str[BTF_INFO_KIND(t->info)], in btf_ctx_access()
5257 tname, btf_kind_str[BTF_INFO_KIND(t->info)]); in btf_distill_func_proto()
5273 tname, i, btf_kind_str[BTF_INFO_KIND(t->info)]); in btf_distill_func_proto()
5727 i, btf_kind_str[BTF_INFO_KIND(t->info)], tname); in btf_prepare_func_args()