Home
last modified time | relevance | path

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

/kernel/bpf/preload/iterators/
Diterators.bpf.c27 __u32 name_off; member
62 unsigned int name_off; in get_name() local
70 name_off = BPF_CORE_READ(t, name_off); in get_name()
71 if (name_off >= btf->hdr.str_len) in get_name()
73 return str + name_off; in get_name()
/kernel/bpf/
Dbtf.c181 #define BTF_STR_OFFSET_VALID(name_off) ((name_off) <= BTF_MAX_NAME_OFFSET) argument
531 tname = btf_name_by_offset(btf, t->name_off); in btf_find_by_name_kind()
938 member = btf_name_by_offset(show->btf, m->name_off); in btf_show_name()
982 t->name_off); in btf_show_name()
1015 name = btf_name_by_offset(show->btf, t->name_off); in btf_show_name()
1419 __btf_name_by_offset(btf, t->name_off), in __btf_verifier_log_type()
1474 __btf_name_by_offset(btf, member->name_off), in btf_verifier_log_member()
1480 __btf_name_by_offset(btf, member->name_off), in btf_verifier_log_member()
2497 if (!t->name_off || in btf_ref_type_check_meta()
2498 !btf_name_valid_identifier(env->btf, t->name_off)) { in btf_ref_type_check_meta()
[all …]
Dbpf_struct_ops.c162 mname = btf_name_by_offset(btf, member->name_off); in bpf_struct_ops_init()
Dverifier.c651 return btf_name_by_offset(btf, btf_type_by_id(btf, id)->name_off); in kernel_type_name()
2116 func_name = btf_name_by_offset(desc_btf, func->name_off); in add_kfunc_call()
2582 return btf_name_by_offset(desc_btf, func->name_off); in disasm_kfunc_name()
4768 const char *tname = btf_name_by_offset(reg->btf, t->name_off); in check_ptr_to_btf_access()
4857 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
7802 tname = btf_name_by_offset(meta.ret_btf, t->name_off); in check_helper_call()
7970 func_name = btf_name_by_offset(desc_btf, func->name_off); in check_kfunc_call()
8024 ptr_type->name_off); in check_kfunc_call()
12818 tname = btf_name_by_offset(btf, t->name_off); in find_btf_percpu_datasec()
12872 sym_name = btf_name_by_offset(btf, t->name_off); in check_pseudo_btf_id()
[all …]
Dcore.c580 func_name = btf_name_by_offset(prog->aux->btf, type->name_off); in bpf_prog_ksym_set_name()