Home
last modified time | relevance | path

Searched refs:ptr_type (Results 1 – 4 of 4) 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() local
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); in save_symbol_ptr()
/linux/kernel/bpf/
H A Dverifier.c13935 const struct btf_type *ptr_type, struct btf *desc_btf) in check_special_kfunc() argument
14032 } else if (is_list_node_type(ptr_type)) { in check_special_kfunc()
14036 } else if (is_rbtree_node_type(ptr_type)) { in check_special_kfunc()
14117 const struct btf_type *t, *ptr_type; in check_kfunc_call() local
14370 ptr_type = btf_type_skip_modifiers(desc_btf, t->type, &ptr_type_id); in check_kfunc_call()
14371 err = check_special_kfunc(env, &meta, regs, insn_aux, ptr_type, desc_btf); in check_kfunc_call()
14375 } else if (btf_type_is_void(ptr_type)) { in check_kfunc_call()
14378 } else if (!__btf_type_is_struct(ptr_type)) { in check_kfunc_call()
14382 if (!IS_ERR(btf_resolve_size(desc_btf, ptr_type, &sz))) { in check_kfunc_call()
14389 ptr_type->name_off); in check_kfunc_call()
[all …]
/linux/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()