Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/include/linux/
Dbpf_verifier.h399 enum bpf_reg_type ptr_type; /* pointer type for load/store insns */ member
/Linux-v6.1/kernel/bpf/
Dverifier.c7673 const struct btf_type *t, *func, *func_proto, *ptr_type; in check_kfunc_call() local
7743 ptr_type = btf_type_skip_modifiers(desc_btf, t->type, in check_kfunc_call()
7745 if (!btf_type_is_struct(ptr_type)) { in check_kfunc_call()
7748 ptr_type->name_off); in check_kfunc_call()
7752 btf_type_str(ptr_type), in check_kfunc_call()
12280 prev_src_type = &env->insn_aux_data[env->insn_idx].ptr_type; in do_check()
12335 prev_dst_type = &env->insn_aux_data[env->insn_idx].ptr_type; in do_check()
12798 aux->ptr_type = PTR_TO_FUNC; in resolve_pseudo_ldimm64()
13364 aux[adj_idx].ptr_type == PTR_TO_CTX) in opt_subreg_zext_lo32_rnd_hi32()
13498 switch ((int)env->insn_aux_data[i + delta].ptr_type) { in convert_ctx_accesses()
/Linux-v6.1/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()