Home
last modified time | relevance | path

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

/linux-5.19.10/tools/bpf/bpftool/
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-5.19.10/include/linux/
Dbpf_verifier.h358 enum bpf_reg_type ptr_type; /* pointer type for load/store insns */ member
/linux-5.19.10/kernel/bpf/
Dverifier.c7509 const struct btf_type *t, *func, *func_proto, *ptr_type; in check_kfunc_call() local
7572 ptr_type = btf_type_skip_modifiers(desc_btf, t->type, in check_kfunc_call()
7574 if (!btf_type_is_struct(ptr_type)) { in check_kfunc_call()
7576 ptr_type->name_off); in check_kfunc_call()
7578 func_name, btf_type_str(ptr_type), in check_kfunc_call()
12115 prev_src_type = &env->insn_aux_data[env->insn_idx].ptr_type; in do_check()
12170 prev_dst_type = &env->insn_aux_data[env->insn_idx].ptr_type; in do_check()
12677 aux->ptr_type = PTR_TO_FUNC; in resolve_pseudo_ldimm64()
13243 aux[adj_idx].ptr_type == PTR_TO_CTX) in opt_subreg_zext_lo32_rnd_hi32()
13377 switch ((int)env->insn_aux_data[i + delta].ptr_type) { in convert_ctx_accesses()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/bpf/
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()