Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/scripts/gendwarfksyms/
H A Ddwarf.c1005 Dwarf_Die ptr_type; in save_symbol_ptr() local
1008 if (!get_ref_die_attr(&state->die, DW_AT_type, &ptr_type) || in save_symbol_ptr()
1009 dwarf_tag(&ptr_type) != DW_TAG_pointer_type) in save_symbol_ptr()
1013 if (!get_ref_die_attr(&ptr_type, DW_AT_type, &type)) in save_symbol_ptr()
1025 symbol_set_ptr(state->sym, &ptr_type); in save_symbol_ptr()
/linux-6.15/include/linux/
H A Dbpf_verifier.h546 enum bpf_reg_type ptr_type; /* pointer type for load/store insns */ member
/linux-6.15/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c1781 swreg ptr_type; in nfp_perf_event_output() local
1784 ptr_type = ur_load_imm_any(nfp_prog, meta->arg1.type, imm_a(nfp_prog)); in nfp_perf_event_output()
1792 wrp_mov(nfp_prog, reg_a(1), ptr_type); in nfp_perf_event_output()
/linux-6.15/kernel/bpf/
H A Dverifier.c13432 const struct btf_type *t, *ptr_type; in check_kfunc_call() local
13656 ptr_type = btf_type_skip_modifiers(desc_btf, t->type, &ptr_type_id); in check_kfunc_call()
13816 } else if (btf_type_is_void(ptr_type)) { in check_kfunc_call()
13819 } else if (!__btf_type_is_struct(ptr_type)) { in check_kfunc_call()
13823 if (!IS_ERR(btf_resolve_size(desc_btf, ptr_type, &sz))) { in check_kfunc_call()
13830 ptr_type->name_off); in check_kfunc_call()
13834 btf_type_str(ptr_type), in check_kfunc_call()
20126 aux->ptr_type = PTR_TO_FUNC; in resolve_pseudo_ldimm64()
20694 aux[adj_idx].ptr_type == PTR_TO_CTX) in opt_subreg_zext_lo32_rnd_hi32()
20848 env->insn_aux_data[i + delta].ptr_type == PTR_TO_ARENA) { in convert_ctx_accesses()
[all …]