Home
last modified time | relevance | path

Searched refs:BTF_KIND_PTR (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/
Dbtf_helpers.c12 [BTF_KIND_PTR] = "PTR",
109 case BTF_KIND_PTR: in fprintf_btf_type_raw()
Dtest_btf.h52 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), type)
/Linux-v6.6/tools/lib/bpf/
Dbtf_dump.c332 case BTF_KIND_PTR: in btf_dump_mark_referenced()
507 case BTF_KIND_PTR: in btf_dump_order_type()
754 case BTF_KIND_PTR: in btf_dump_emit_type()
1317 case BTF_KIND_PTR: in btf_dump_emit_type_decl()
1481 case BTF_KIND_PTR: in btf_dump_emit_type_chain()
1592 last_was_ptr = kind == BTF_KIND_PTR; in btf_dump_emit_type_chain()
1834 if (btf_kind(t) == BTF_KIND_PTR) in btf_dump_base_type_check_zero()
2296 case BTF_KIND_PTR: in btf_dump_type_data_check_overflow()
2342 case BTF_KIND_PTR: in btf_dump_type_data_check_zero()
2465 case BTF_KIND_PTR: in btf_dump_dump_type_data()
Dbtf.c298 case BTF_KIND_PTR: in btf_type_size()
352 case BTF_KIND_PTR: in btf_bswap_type_rest()
624 case BTF_KIND_PTR: in btf__resolve_size()
670 case BTF_KIND_PTR: in btf__align_of()
1888 return btf_add_ref_kind(btf, BTF_KIND_PTR, NULL, ref_type_id); in btf__add_ptr()
3699 case BTF_KIND_PTR: in btf_dedup_prep()
3756 case BTF_KIND_PTR: in btf_dedup_prim_type()
4108 case BTF_KIND_PTR: in btf_dedup_is_equiv()
4404 case BTF_KIND_PTR: in btf_dedup_ref_type()
4832 case BTF_KIND_PTR: in btf_type_visit_type_ids()
Drelo_core.c184 case BTF_KIND_PTR: in __bpf_core_types_are_compat()
431 case BTF_KIND_PTR: in bpf_core_fields_are_compat()
1634 case BTF_KIND_PTR: in __bpf_core_types_match()
Dbtf.h347 return btf_kind(t) == BTF_KIND_PTR; in btf_is_ptr()
Dlinker.c1381 case BTF_KIND_PTR: in glob_sym_btf_matches()
Dlibbpf.c2099 case BTF_KIND_PTR: return "ptr"; in __btf_kind_str()
4697 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 2), /* [3] */ in probe_kern_btf_type_tag()
/Linux-v6.6/tools/include/uapi/linux/
Dbtf.h62 BTF_KIND_PTR = 2, /* Pointer */ enumerator
/Linux-v6.6/include/uapi/linux/
Dbtf.h62 BTF_KIND_PTR = 2, /* Pointer */ enumerator
/Linux-v6.6/include/linux/
Dbtf.h236 return BTF_INFO_KIND(t->info) == BTF_KIND_PTR; in btf_type_is_ptr()
321 return btf_kind(t) == BTF_KIND_PTR; in btf_is_ptr()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbtf.c820 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 3),
893 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 2),
989 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 0),
1107 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 2),
1170 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 2),
1433 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 3),
1465 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 6),
1469 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 4),
1843 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 0),
1867 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_PTR, 0, 0), 0),
[all …]
Dbtf_write.c58 ASSERT_EQ(btf_kind(t), BTF_KIND_PTR, "ptr_kind"); in gen_btf()
/Linux-v6.6/tools/bpf/bpftool/
Dbtf_dumper.c573 case BTF_KIND_PTR: in btf_dumper_do_type()
658 case BTF_KIND_PTR: in __btf_dumper_type_only()
Dbtf.c26 [BTF_KIND_PTR] = "PTR",
137 case BTF_KIND_PTR: in dump_btf_type()
Dgen.c1750 case BTF_KIND_PTR: in btfgen_mark_type()
1908 case BTF_KIND_PTR: in btfgen_mark_type_match()
/Linux-v6.6/Documentation/bpf/
Dbtf.rst73 #define BTF_KIND_PTR 2 /* Pointer */
177 2.2.2 BTF_KIND_PTR
183 * ``info.kind``: BTF_KIND_PTR
/Linux-v6.6/kernel/trace/
Dtrace_probe.c397 case BTF_KIND_PTR: in fetch_type_from_btf_type()
534 if (BTF_INFO_KIND(type->info) != BTF_KIND_PTR) { in parse_btf_field()
/Linux-v6.6/kernel/bpf/
Dbtf.c316 [BTF_KIND_PTR] = "PTR",
1013 case BTF_KIND_PTR: in btf_show_name()
1014 kinds |= BTF_KIND_BIT(BTF_KIND_PTR); in btf_show_name()
1052 if (kinds & BTF_KIND_BIT(BTF_KIND_PTR)) in btf_show_name()
1895 case BTF_KIND_PTR: in __btf_resolve_size()
4925 [BTF_KIND_PTR] = &ptr_ops,