Home
last modified time | relevance | path

Searched refs:BTF_KIND_DECL_TAG (Results 1 – 15 of 15) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dtest_btf.h76 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 1, 0), type), (component_idx)
79 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), type), (component_idx)
H A Dbtf_helpers.c27 [BTF_KIND_DECL_TAG] = "DECL_TAG",
202 case BTF_KIND_DECL_TAG: in fprintf_btf_type_raw()
/linux/tools/lib/bpf/
H A Dbtf_iter.c42 case BTF_KIND_DECL_TAG: in btf_field_iter_init()
94 case BTF_KIND_DECL_TAG: in btf_field_iter_init()
H A Dbtf.h359 #define BTF_KIND_DECL_TAG 17 /* Decl Tag */ macro
487 return btf_kind(t) == BTF_KIND_DECL_TAG; in btf_is_decl_tag()
H A Dbtf.c329 case BTF_KIND_DECL_TAG: in btf_type_size()
412 case BTF_KIND_DECL_TAG: in btf_bswap_type_rest()
506 case BTF_KIND_DECL_TAG: in btf_validate_type()
799 case BTF_KIND_DECL_TAG: in btf__resolve_size()
2957 t->info = btf_type_info(BTF_KIND_DECL_TAG, 0, kflag); in btf_add_decl_tag()
2965 * Append new BTF_KIND_DECL_TAG type with:
2981 * Append new BTF_KIND_DECL_TAG type with:
4232 case BTF_KIND_DECL_TAG: in btf_dedup_prep()
4289 case BTF_KIND_DECL_TAG: in btf_dedup_prim_type()
5005 case BTF_KIND_DECL_TAG in btf_dedup_ref_type()
[all...]
H A Dlibbpf_internal.h91 BTF_TYPE_ENC(value, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), type), (component_idx)
365 /* BTF_KIND_DECL_TAG support */
H A Dbtf_dump.c341 case BTF_KIND_DECL_TAG: in btf_dump_mark_referenced()
612 case BTF_KIND_DECL_TAG: in btf_dump_order_type()
2519 case BTF_KIND_DECL_TAG: in btf_dump_dump_type_data()
H A Dlibbpf.c2419 case BTF_KIND_DECL_TAG: return "decl_tag"; in __btf_kind_str()
/linux/include/uapi/linux/
H A Dbtf.h78 BTF_KIND_DECL_TAG = 17, /* Decl Tag */ enumerator
180 /* BTF_KIND_DECL_TAG is followed by a single "struct btf_decl_tag" to describe
/linux/tools/include/uapi/linux/
H A Dbtf.h78 BTF_KIND_DECL_TAG = 17, /* Decl Tag */ enumerator
180 /* BTF_KIND_DECL_TAG is followed by a single "struct btf_decl_tag" to describe
/linux/tools/bpf/bpftool/
H A Dbtf.c50 [BTF_KIND_DECL_TAG] = "DECL_TAG",
412 case BTF_KIND_DECL_TAG: { in dump_btf_type()
620 case BTF_KIND_DECL_TAG: in btf_type_rank()
653 case BTF_KIND_DECL_TAG: in btf_type_sort_name()
711 case BTF_KIND_DECL_TAG: in btf_type_disambig_hash()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c286 ASSERT_EQ(btf_kind(t), BTF_KIND_DECL_TAG, "tag_kind"); in gen_btf()
296 ASSERT_EQ(btf_kind(t), BTF_KIND_DECL_TAG, "tag_kind"); in gen_btf()
H A Dbtf.c3854 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 1), 2), (0),
4029 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), 2), (-1), /* [3] */
4040 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_DECL_TAG, 0, 0), 4), (-1), /* [1] */
8061 case BTF_KIND_DECL_TAG: in btf_type_size()
/linux/Documentation/bpf/
H A Dbtf.rst88 #define BTF_KIND_DECL_TAG 17 /* Decl Tag */
477 2.2.17 BTF_KIND_DECL_TAG
483 * ``info.kind``: BTF_KIND_DECL_TAG
/linux/kernel/bpf/
H A Dbtf.c342 [BTF_KIND_DECL_TAG] = "DECL_TAG",
509 return BTF_INFO_KIND(t->info) == BTF_KIND_DECL_TAG; in btf_type_is_decl_tag()
5204 [BTF_KIND_DECL_TAG] = &decl_tag_ops,