Home
last modified time | relevance | path

Searched refs:BTF_KIND_FWD (Results 1 – 10 of 10) sorted by relevance

/tools/include/uapi/linux/
Dbtf.h66 #define BTF_KIND_FWD 7 /* Forward */ macro
/tools/testing/selftests/bpf/
Dtest_btf.h20 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_FWD, kind_flag, 0), 0)
/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c165 ASSERT_EQ(btf_kind(t), BTF_KIND_FWD, "fwd_kind"); in test_btf_write()
172 ASSERT_EQ(btf_kind(t), BTF_KIND_FWD, "fwd_kind"); in test_btf_write()
Dbtf.c384 BTF_INFO_ENC(BTF_KIND_FWD, 1, 0), 0), /* [1] */
409 BTF_INFO_ENC(BTF_KIND_FWD, 1, 0), 0), /* [1] */
1956 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FWD, 0, 0), 1),
2101 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FWD, 0, 0), 0), /* [2] */
2122 BTF_INFO_ENC(BTF_KIND_FWD, 0, 0), 0), /* [2] */
2954 BTF_INFO_ENC(BTF_KIND_FWD, 1, 0), 0), /* [2] */
6634 case BTF_KIND_FWD: in btf_type_size()
/tools/lib/bpf/
Dbtf_dump.c292 case BTF_KIND_FWD: in btf_dump_mark_referenced()
508 case BTF_KIND_FWD: in btf_dump_order_type()
722 case BTF_KIND_FWD: in btf_dump_emit_type()
1206 case BTF_KIND_FWD: in btf_dump_emit_type_decl()
1345 case BTF_KIND_FWD: in btf_dump_emit_type_chain()
Dbtf.c259 case BTF_KIND_FWD: in btf_type_size()
306 case BTF_KIND_FWD: in btf_bswap_type_rest()
1994 id = btf_add_ref_kind(btf, BTF_KIND_FWD, name, 0); in btf__add_fwd()
1998 t->info = btf_type_info(BTF_KIND_FWD, 0, fwd_kind == BTF_FWD_UNION); in btf__add_fwd()
3629 case BTF_KIND_FWD: in btf_dedup_prim_type()
3836 && (cand_kind == BTF_KIND_FWD || canon_kind == BTF_KIND_FWD) in btf_dedup_is_equiv()
3841 if (cand_kind == BTF_KIND_FWD) { in btf_dedup_is_equiv()
3864 case BTF_KIND_FWD: in btf_dedup_is_equiv()
3992 if (t_kind != BTF_KIND_FWD && c_kind == BTF_KIND_FWD) in btf_dedup_merge_hypot_map()
3994 else if (t_kind == BTF_KIND_FWD && c_kind != BTF_KIND_FWD) in btf_dedup_merge_hypot_map()
[all …]
Dbtf.h237 return btf_kind(t) == BTF_KIND_FWD; in btf_is_fwd()
Dlibbpf.c1911 case BTF_KIND_FWD: return "fwd"; in btf_kind_str()
4776 case BTF_KIND_FWD: in bpf_core_fields_are_compat()
4945 case BTF_KIND_FWD: in bpf_core_types_are_compat()
/tools/bpf/bpftool/
Dbtf.c30 [BTF_KIND_FWD] = "FWD",
237 case BTF_KIND_FWD: { in dump_btf_type()
Dbtf_dumper.c541 case BTF_KIND_FWD: in btf_dumper_do_type()
622 case BTF_KIND_FWD: in __btf_dumper_type_only()