Searched refs:btf_name_by_offset (Results 1 – 12 of 12) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | check_btf.c | 198 env->subprog_info[i].name = btf_name_by_offset(btf, type->name_off); in check_btf_func() 299 if (!btf_name_by_offset(btf, linfo[i].line_off) || in check_btf_line() 300 !btf_name_by_offset(btf, linfo[i].file_name_off)) { in check_btf_line()
|
| H A D | btf.c | 567 const char *n = btf_name_by_offset(btf, t->name_off); in btf_check_sorted() 580 const char *na = btf_name_by_offset(btf, ta->name_off); in btf_check_sorted() 581 const char *nb = btf_name_by_offset(btf, tb->name_off); in btf_check_sorted() 628 tname = btf_name_by_offset(btf, t->name_off); in btf_find_by_name_kind_bsearch() 659 tname = btf_name_by_offset(btf, t->name_off); in btf_find_by_name_kind() 670 tname = btf_name_by_offset(btf, t->name_off); in btf_find_by_name_kind() 955 const char *btf_name_by_offset(const struct btf *btf, u32 offset) in btf_name_by_offset() function 1107 member = btf_name_by_offset(show->btf, m->name_off); in btf_show_name() 1150 name = btf_name_by_offset(show->btf, in btf_show_name() 1184 name = btf_type_is_void(t) ? "void" : btf_name_by_offset(show->btf, t->name_off); in btf_show_name() [all …]
|
| H A D | bpf_struct_ops.c | 116 value_name, btf_name_by_offset(btf, type->name_off)); in is_valid_value_type() 348 return !strcmp(btf_name_by_offset(btf, t->name_off), "module"); in is_module_member() 424 mname = btf_name_by_offset(btf, member->name_off); in bpf_struct_ops_desc_init() 784 tname = btf_name_by_offset(st_map->btf, t->name_off); in bpf_struct_ops_map_update_elem() 794 mname = btf_name_by_offset(st_map->btf, member->name_off); in bpf_struct_ops_map_update_elem()
|
| H A D | log.c | 377 s = ltrim(btf_name_by_offset(btf, linfo->line_off)); in verbose_linfo() 380 s = btf_name_by_offset(btf, linfo->file_name_off); in verbose_linfo() 391 return btf_name_by_offset(btf, btf_type_by_id(btf, id)->name_off); in btf_type_name()
|
| H A D | verifier.c | 306 return btf_name_by_offset(btf, btf_type_by_id(btf, id)->name_off); in btf_type_name() 2763 func_name = btf_name_by_offset(btf, func->name_off); in fetch_kfunc_meta() 3319 return btf_name_by_offset(desc_btf, func->name_off); in bpf_disasm_kfunc_name() 4253 arg_name = btf_name_by_offset(btf, args[i].name_off); in check_outgoing_stack_args() 5947 const char *tname = btf_name_by_offset(reg->btf, t->name_off); in check_ptr_to_btf_access() 6130 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access() 11076 tname = btf_name_by_offset(meta.ret_btf, t->name_off); in check_helper_call() 11367 param_name = btf_name_by_offset(btf, arg->name_off); in is_kfunc_arg_scalar_with_name() 11861 ref_tname = btf_name_by_offset(meta->btf, ref_t->name_off); in get_kfunc_arg_type() 12056 reg_ref_tname = btf_name_by_offset(reg_btf, reg_ref_t->name_off); in process_kf_arg_ptr_to_btf_id() [all …]
|
| H A D | core.c | 590 func_name = btf_name_by_offset(prog->aux->btf, type->name_off); in bpf_prog_ksym_set_name() 3467 src->file = kbasename(btf_name_by_offset(btf, linfo->file_name_off)); in bpf_get_linfo_source() 3468 src->line = btf_name_by_offset(btf, linfo->line_off); in bpf_get_linfo_source()
|
| /linux/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 | 804 const char *name = btf_name_by_offset(ctx->btf, params[i].name_off); in parse_btf_arg() 2271 name = btf_name_by_offset(ctx->btf, ctx->params[idx].name_off); in sprint_nth_btf_arg()
|
| /linux/net/sched/ |
| H A D | bpf_qdisc.c | 119 btf_name_by_offset(reg->btf, t->name_off), off); in bpf_qdisc_btf_struct_access() 126 off, size, btf_name_by_offset(reg->btf, t->name_off), end); in bpf_qdisc_btf_struct_access()
|
| /linux/include/linux/ |
| H A D | btf.h | 580 const char *btf_name_by_offset(const struct btf *btf, u32 offset); 642 static inline const char *btf_name_by_offset(const struct btf *btf, in btf_name_by_offset() function
|
| /linux/tools/lib/bpf/ |
| H A D | btf_relocate.c | 19 #define btf__name_by_offset btf_name_by_offset
|
| H A D | relo_core.c | 29 return btf_name_by_offset(btf, offset); in btf__name_by_offset()
|