Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
A Dbtf_dumper.c104 const struct btf_type *ptr_type; in btf_dumper_ptr() local
113 ptr_type = btf__type_by_id(d->btf, ptr_type_id); in btf_dumper_ptr()
114 if (!ptr_type || !btf_is_func_proto(ptr_type)) in btf_dumper_ptr()
117 if (!dump_prog_id_as_func_ptr(d, ptr_type, value)) in btf_dumper_ptr()
/linux/include/linux/
A Dbpf_verifier.h336 enum bpf_reg_type ptr_type; /* pointer type for load/store insns */ member
/linux/kernel/bpf/
A Dverifier.c6699 const struct btf_type *t, *func, *func_proto, *ptr_type; in check_kfunc_call() local
6742 ptr_type = btf_type_skip_modifiers(desc_btf, t->type, in check_kfunc_call()
6744 if (!btf_type_is_struct(ptr_type)) { in check_kfunc_call()
6746 ptr_type->name_off); in check_kfunc_call()
6748 func_name, btf_type_str(ptr_type), in check_kfunc_call()
11214 prev_src_type = &env->insn_aux_data[env->insn_idx].ptr_type; in do_check()
11269 prev_dst_type = &env->insn_aux_data[env->insn_idx].ptr_type; in do_check()
11772 aux->ptr_type = PTR_TO_FUNC; in resolve_pseudo_ldimm64()
12338 aux[adj_idx].ptr_type == PTR_TO_CTX) in opt_subreg_zext_lo32_rnd_hi32()
12472 switch (env->insn_aux_data[i + delta].ptr_type) { in convert_ctx_accesses()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
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()

Completed in 50 milliseconds