Searched refs:btf__add_enum (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | btf_distill.c | 39 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()
|
D | btf_field_iter.c | 62 btf__add_enum(btf, "e1", 4); /* [7] enum e1 { */ in test_btf_field_iter()
|
D | btf_dump.c | 162 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()
|
D | btf_write.c | 156 id = btf__add_enum(btf, "e1", 4); in gen_btf()
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf.map | 212 btf__add_enum;
|
D | btf.h | 210 LIBBPF_API int btf__add_enum(struct btf *btf, const char *name, __u32 bytes_sz);
|
D | btf.c | 2350 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()
|