Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
H A Dbtf_dumper.c112 const struct btf_type *ptr_type; in btf_dumper_ptr() local
121 ptr_type = btf__type_by_id(d->btf, ptr_type_id); in btf_dumper_ptr()
122 if (!ptr_type || !btf_is_func_proto(ptr_type)) in btf_dumper_ptr()
125 if (!dump_prog_id_as_func_ptr(d, ptr_type, value)) in btf_dumper_ptr()
/linux/scripts/gendwarfksyms/
H A Ddwarf.c1019 Dwarf_Die ptr_type; in save_symbol_ptr()
1022 if (!get_ref_die_attr(&state->die, DW_AT_type, &ptr_type) || in save_symbol_ptr()
1023 dwarf_tag(&ptr_type) != DW_TAG_pointer_type) in save_symbol_ptr()
1027 if (!get_ref_die_attr(&ptr_type, DW_AT_type, &type)) in save_symbol_ptr()
1039 symbol_set_ptr(state->sym, &ptr_type);
1017 Dwarf_Die ptr_type; save_symbol_ptr() local
/linux/kernel/bpf/
H A Dfixups.c710 aux[adj_idx].ptr_type == PTR_TO_CTX) in bpf_opt_subreg_zext_lo32_rnd_hi32()
840 enum bpf_reg_type ptr_type; in bpf_convert_ctx_accesses() local
886 env->insn_aux_data[i + delta].ptr_type == PTR_TO_ARENA) { in bpf_convert_ctx_accesses()
933 ptr_type = env->insn_aux_data[i + delta].ptr_type; in bpf_convert_ctx_accesses()
934 switch ((int)ptr_type) { in bpf_convert_ctx_accesses()
971 if (bpf_is_ptr_to_mem_or_btf_id(ptr_type) && in bpf_convert_ctx_accesses()
972 bpf_may_fault_on_deref(ptr_type) && in bpf_convert_ctx_accesses()
983 if (verifier_bug_if(bpf_may_fault_on_deref(ptr_type), env, in bpf_convert_ctx_accesses()
H A Dverifier.c13614 const struct btf_type *ptr_type, struct btf *desc_btf) in check_special_kfunc() argument
13710 } else if (is_list_node_type(ptr_type)) { in check_special_kfunc()
13714 } else if (is_rbtree_node_type(ptr_type)) { in check_special_kfunc()
13790 const struct btf_type *t, *ptr_type; in check_kfunc_call() local
14063 ptr_type = btf_type_skip_modifiers(desc_btf, t->type, &ptr_type_id); in check_kfunc_call()
14064 err = check_special_kfunc(env, &meta, regs, insn_aux, ptr_type, desc_btf); in check_kfunc_call()
14068 } else if (btf_type_is_void(ptr_type)) { in check_kfunc_call()
14071 } else if (!__btf_type_is_struct(ptr_type)) { in check_kfunc_call()
14075 if (!IS_ERR(btf_resolve_size(desc_btf, ptr_type, &sz))) { in check_kfunc_call()
14086 ptr_type in check_kfunc_call()
[all...]
/linux/include/linux/
H A Dbpf_verifier.h645 enum bpf_reg_type ptr_type; /* pointer type for load/store insns */ member