Searched refs:btf__add_enum_value (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_field_iter.c | 63 btf__add_enum_value(btf, "v1", 1); /* v1 = 1; */ in test_btf_field_iter() 64 btf__add_enum_value(btf, "v2", 2); /* v2 = 2; */ in test_btf_field_iter()
|
H A D | btf_distill.c | 40 btf__add_enum_value(btf1, "v1", 1); /* v1 = 1; */ in test_distilled_base() 43 btf__add_enum_value(btf1, "av1", 2); /* av1 = 2; */ in test_distilled_base()
|
H A 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()
|
H A 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/tools/lib/bpf/ |
H A D | libbpf.map | 213 btf__add_enum_value;
|
H A D | btf.h | 214 LIBBPF_API int btf__add_enum_value(struct btf *btf, const char *name, __s64 value);
|
H A D | btf.c | 2368 int btf__add_enum_value(struct btf *btf, const char *name, __s64 value) in btf__add_enum_value() function
|