Searched refs:btf__add_enum_value (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | btf_write.c | 158 err = btf__add_enum_value(btf, "v1", 1); in gen_btf() 160 err = btf__add_enum_value(btf, "v2", 2); in gen_btf()
|
D | btf_dump.c | 166 err = btf__add_enum_value(btf, "X", 1); in test_btf_dump_incremental() 171 err = btf__add_enum_value(btf, "Y", 1); in test_btf_dump_incremental()
|
/linux-6.1.9/tools/lib/bpf/ |
D | libbpf.map | 213 btf__add_enum_value;
|
D | btf.h | 189 LIBBPF_API int btf__add_enum_value(struct btf *btf, const char *name, __s64 value);
|
D | btf.c | 2113 int btf__add_enum_value(struct btf *btf, const char *name, __s64 value) in btf__add_enum_value() function
|