/kernel/linux/linux-5.10/include/linux/ |
H A D | btf.h | 210 const char *btf_name_by_offset(const struct btf *btf, u32 offset); 219 static inline const char *btf_name_by_offset(const struct btf *btf, in btf_name_by_offset() function
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_btf.c | 101 name = btf_name_by_offset(btf, member->name_off); in btf_find_struct_member()
|
H A D | trace_probe.c | 654 const char *name = btf_name_by_offset(ctx->btf, params[i].name_off); in parse_btf_arg() 1478 name = btf_name_by_offset(ctx->btf, ctx->params[idx].name_off); in sprint_nth_btf_arg()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | btf.h | 489 const char *btf_name_by_offset(const struct btf *btf, u32 offset); 516 static inline const char *btf_name_by_offset(const struct btf *btf, in btf_name_by_offset() function
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | btf.c | 548 tname = btf_name_by_offset(btf, t->name_off); in btf_find_by_name_kind() 820 const char *btf_name_by_offset(const struct btf *btf, u32 offset) in btf_name_by_offset() function 955 member = btf_name_by_offset(show->btf, m->name_off); in btf_show_name() 998 name = btf_name_by_offset(show->btf, in btf_show_name() 1032 name = btf_name_by_offset(show->btf, t->name_off); in btf_show_name() 2540 value = btf_name_by_offset(env->btf, t->name_off); in btf_ref_type_check_meta() 4712 value = btf_name_by_offset(env->btf, t->name_off); in btf_decl_tag_check_meta() 5637 tname = btf_name_by_offset(btf, t->name_off); in btf_get_prog_ctx_type() 5652 ctx_tname = btf_name_by_offset(btf_vmlinux, ctx_struct->name_off); in btf_get_prog_ctx_type() 6635 fn1 = btf_name_by_offset(btf in btf_check_func_type_match() [all...] |
H A D | verifier.c | 404 ltrim(btf_name_by_offset(env->prog->aux->btf, in verbose_linfo() 745 return btf_name_by_offset(btf, btf_type_by_id(btf, id)->name_off); in btf_type_name() 2920 func_name = btf_name_by_offset(desc_btf, func->name_off); in add_kfunc_call() 3470 return btf_name_by_offset(desc_btf, func->name_off); in disasm_kfunc_name() 6375 const char *tname = btf_name_by_offset(reg->btf, t->name_off); in check_ptr_to_btf_access() 6542 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access() 10268 tname = btf_name_by_offset(meta.ret_btf, t->name_off); in check_helper_call() 10455 param_name = btf_name_by_offset(btf, arg->name_off); in __kfunc_param_match_suffix() 10528 param_name = btf_name_by_offset(btf, arg->name_off); in is_kfunc_arg_scalar_with_name() 10880 reg_ref_tname = btf_name_by_offset(reg_bt in process_kf_arg_ptr_to_btf_id() [all...] |
H A D | bpf_struct_ops.c | 171 mname = btf_name_by_offset(btf, member->name_off); in bpf_struct_ops_init()
|
H A D | core.c | 599 func_name = btf_name_by_offset(prog->aux->btf, type->name_off); in bpf_prog_ksym_set_name()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | btf.c | 464 tname = btf_name_by_offset(btf, t->name_off); in btf_find_by_name_kind() 658 const char *btf_name_by_offset(const struct btf *btf, u32 offset) in btf_name_by_offset() function 793 member = btf_name_by_offset(show->btf, m->name_off); in btf_show_name() 836 name = btf_name_by_offset(show->btf, in btf_show_name() 870 name = btf_name_by_offset(show->btf, t->name_off); in btf_show_name() 4259 tname = btf_name_by_offset(btf, t->name_off); in btf_get_prog_ctx_type() 4274 ctx_tname = btf_name_by_offset(btf_vmlinux, ctx_struct->name_off); in btf_get_prog_ctx_type() 5016 fn1 = btf_name_by_offset(btf1, t1->name_off); in btf_check_func_type_match() 5017 fn2 = btf_name_by_offset(btf2, t2->name_off); in btf_check_func_type_match() 5106 s1 = btf_name_by_offset(btf in btf_check_func_type_match() [all...] |
H A D | bpf_struct_ops.c | 157 mname = btf_name_by_offset(btf, member->name_off); in bpf_struct_ops_init()
|
H A D | verifier.c | 379 ltrim(btf_name_by_offset(env->prog->aux->btf, in verbose_linfo() 564 return btf_name_by_offset(btf_vmlinux, in kernel_type_name() 3783 const char *tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_btf_access() 3850 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access() 5771 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_helper_call() 9194 if (!btf_name_by_offset(btf, linfo[i].line_off) || in check_btf_line() 9195 !btf_name_by_offset(btf, linfo[i].file_name_off)) { in check_btf_line() 10413 sym_name = btf_name_by_offset(btf_vmlinux, t->name_off); in check_pseudo_btf_id() 10449 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_pseudo_btf_id() 12205 mname = btf_name_by_offset(btf_vmlinu in check_struct_ops_btf_id() [all...] |
H A D | core.c | 574 func_name = btf_name_by_offset(prog->aux->btf, type->name_off); in bpf_prog_ksym_set_name()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | bpf_sk_storage.c | 378 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in bpf_sk_storage_tracing_allowed()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | relo_core.c | 29 return btf_name_by_offset(btf, offset); in btf__name_by_offset()
|