Home
last modified time | relevance | path

Searched refs:btf__add_enum (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbtf_distill.c39 btf__add_enum(btf1, "e1", 4); /* [8] enum e1 { */ in test_distilled_base()
42 btf__add_enum(btf1, "", 4); /* [9] enum { */ in test_distilled_base()
Dbtf_field_iter.c62 btf__add_enum(btf, "e1", 4); /* [7] enum e1 { */ in test_btf_field_iter()
Dbtf_dump.c162 id = btf__add_enum(btf, "x", 4); in test_btf_dump_incremental()
164 id = btf__add_enum(btf, "x", 4); in test_btf_dump_incremental()
169 id = btf__add_enum(btf, NULL, 4); in test_btf_dump_incremental()
Dbtf_write.c156 id = btf__add_enum(btf, "e1", 4); in gen_btf()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map212 btf__add_enum;
Dbtf.h210 LIBBPF_API int btf__add_enum(struct btf *btf, const char *name, __u32 bytes_sz);
Dbtf.c2350 int btf__add_enum(struct btf *btf, const char *name, __u32 byte_sz) in btf__add_enum() function
2518 return btf__add_enum(btf, name, sizeof(int)); in btf__add_fwd()
5307 err = btf__add_enum(dist->pipe.dst, name, t->size); in btf_add_distilled_types()