Home
last modified time | relevance | path

Searched refs:btf_name_by_offset (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/
H A Dbtf.h210 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
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dbtf.c464 tname = btf_name_by_offset(btf, t->name_off); in btf_find_by_name_kind()
662 const char *btf_name_by_offset(const struct btf *btf, u32 offset) in btf_name_by_offset() function
797 member = btf_name_by_offset(show->btf, m->name_off); in btf_show_name()
840 name = btf_name_by_offset(show->btf, in btf_show_name()
874 name = btf_name_by_offset(show->btf, t->name_off); in btf_show_name()
4257 tname = btf_name_by_offset(btf, t->name_off); in btf_get_prog_ctx_type()
4271 ctx_tname = btf_name_by_offset(btf_vmlinux, ctx_struct->name_off); in btf_get_prog_ctx_type()
5003 fn1 = btf_name_by_offset(btf1, t1->name_off); in btf_check_func_type_match()
5004 fn2 = btf_name_by_offset(btf2, t2->name_off); in btf_check_func_type_match()
5093 s1 = btf_name_by_offset(btf1, t1->name_off); in btf_check_func_type_match()
[all …]
H A Dbpf_struct_ops.c158 mname = btf_name_by_offset(btf, member->name_off); in bpf_struct_ops_init()
H A Dverifier.c379 ltrim(btf_name_by_offset(env->prog->aux->btf, in verbose_linfo()
561 return btf_name_by_offset(btf_vmlinux, in kernel_type_name()
3552 const char *tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_btf_access()
3619 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
5493 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_helper_call()
8909 if (!btf_name_by_offset(btf, linfo[i].line_off) || in check_btf_line()
8910 !btf_name_by_offset(btf, linfo[i].file_name_off)) { in check_btf_line()
10125 sym_name = btf_name_by_offset(btf_vmlinux, t->name_off); in check_pseudo_btf_id()
10161 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_pseudo_btf_id()
11928 mname = btf_name_by_offset(btf_vmlinux, member->name_off); in check_struct_ops_btf_id()
[all …]
H A Dcore.c575 func_name = btf_name_by_offset(prog->aux->btf, type->name_off); in bpf_prog_ksym_set_name()