Home
last modified time | relevance | path

Searched refs:btf__add_enum_value (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c158 err = btf__add_enum_value(btf, "v1", 1); in gen_btf()
160 err = btf__add_enum_value(btf, "v2", 2); in gen_btf()
Dbtf_dump.c166 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/
Dlibbpf.map213 btf__add_enum_value;
Dbtf.h189 LIBBPF_API int btf__add_enum_value(struct btf *btf, const char *name, __s64 value);
Dbtf.c2113 int btf__add_enum_value(struct btf *btf, const char *name, __s64 value) in btf__add_enum_value() function