Home
last modified time | relevance | path

Searched refs:btf__add_enum64_value (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbtf_field_iter.c83 btf__add_enum64_value(btf, "eval1", 1000); /* eval1 = 1000, */ in test_btf_field_iter()
84 btf__add_enum64_value(btf, "eval2", 2000); /* eval2 = 2000, */ in test_btf_field_iter()
85 btf__add_enum64_value(btf, "eval3", 3000); /* eval3 = 3000 */ in test_btf_field_iter()
Dbtf_write.c315 err = btf__add_enum64_value(btf, "v1", -1); in gen_btf()
317 err = btf__add_enum64_value(btf, "v2", 0x123456789); /* 4886718345 */ in gen_btf()
339 err = btf__add_enum64_value(btf, "v1", 0xffffffffFFFFFFFF); /* 18446744073709551615 */ in gen_btf()
Dbtf_distill.c46 btf__add_enum64_value(btf1, "v1", 1024); /* v1 = 1024; */ in test_distilled_base()
49 btf__add_enum64_value(btf1, "v1", 1025); /* v1 = 1025; */ in test_distilled_base()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map362 btf__add_enum64_value;
Dbtf.h213 LIBBPF_API int btf__add_enum64_value(struct btf *btf, const char *name, __u64 value);
Dbtf.c2444 int btf__add_enum64_value(struct btf *btf, const char *name, __u64 value) in btf__add_enum64_value() function