Searched refs:btf_name_by_offset (Results 1 – 10 of 10) sorted by relevance
/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 | 657 const char *name = btf_name_by_offset(ctx->btf, params[i].name_off); in parse_btf_arg() 1643 name = btf_name_by_offset(ctx->btf, ctx->params[idx].name_off); in sprint_nth_btf_arg()
|
/linux/kernel/bpf/ |
H A D | bpf_struct_ops.c | 116 value_name, btf_name_by_offset(btf, type->name_off)); in is_valid_value_type() 324 return !strcmp(btf_name_by_offset(btf, t->name_off), "module"); in is_module_member() 391 mname = btf_name_by_offset(btf, member->name_off); in bpf_struct_ops_desc_init() 712 tname = btf_name_by_offset(st_map->btf, t->name_off); in bpf_struct_ops_map_update_elem() 722 mname = btf_name_by_offset(st_map->btf, member->name_off); in bpf_struct_ops_map_update_elem()
|
H A D | btf.c | 558 tname = btf_name_by_offset(btf, t->name_off); in btf_find_by_name_kind() 841 const char *btf_name_by_offset(const struct btf *btf, u32 offset) in btf_name_by_offset() function 976 member = btf_name_by_offset(show->btf, m->name_off); in btf_show_name() 1019 name = btf_name_by_offset(show->btf, in btf_show_name() 1053 name = btf_name_by_offset(show->btf, t->name_off); in btf_show_name() 2598 value = btf_name_by_offset(env->btf, t->name_off); in btf_ref_type_check_meta() 4936 value = btf_name_by_offset(env->btf, t->name_off); in btf_decl_tag_check_meta() 5929 tname = btf_name_by_offset(btf, t->name_off); in btf_is_prog_ctx_type() 5945 tname = btf_name_by_offset(btf, t->name_off); in btf_is_prog_ctx_type() 5958 ctx_tname = btf_name_by_offset(btf_vmlinux, ctx_type->name_off); in btf_is_prog_ctx_type() [all …]
|
H A D | log.c | 418 s = ltrim(btf_name_by_offset(btf, linfo->line_off)); in verbose_linfo() 421 s = btf_name_by_offset(btf, linfo->file_name_off); in verbose_linfo() 432 return btf_name_by_offset(btf, btf_type_by_id(btf, id)->name_off); in btf_type_name()
|
H A D | inode.c | 628 name = btf_name_by_offset(btf, t->name_off); in find_bpffs_btf_enums() 665 name = btf_name_by_offset(btf, e->name_off); in find_btf_enum_const() 706 name = btf_name_by_offset(btf, e->name_off); in seq_print_delegate_opts()
|
H A D | verifier.c | 352 return btf_name_by_offset(btf, btf_type_by_id(btf, id)->name_off); in btf_type_name() 3121 func_name = btf_name_by_offset(desc_btf, func->name_off); in add_kfunc_call() 3828 return btf_name_by_offset(desc_btf, func->name_off); in disasm_kfunc_name() 6963 const char *tname = btf_name_by_offset(reg->btf, t->name_off); in check_ptr_to_btf_access() 7132 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access() 11325 tname = btf_name_by_offset(meta.ret_btf, t->name_off); in check_helper_call() 11601 param_name = btf_name_by_offset(btf, arg->name_off); in is_kfunc_arg_scalar_with_name() 12042 reg_ref_tname = btf_name_by_offset(reg_btf, reg_ref_t->name_off); in process_kf_arg_ptr_to_btf_id() 12464 btf_name_by_offset(field->graph_root.btf, et->name_off), in __process_kf_arg_ptr_to_graph_node() 12465 node_off, btf_name_by_offset(reg->btf, t->name_off)); in __process_kf_arg_ptr_to_graph_node() [all …]
|
H A D | core.c | 613 func_name = btf_name_by_offset(prog->aux->btf, type->name_off); in bpf_prog_ksym_set_name()
|
/linux/include/linux/ |
H A D | btf.h | 567 const char *btf_name_by_offset(const struct btf *btf, u32 offset); 628 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
|