Searched refs:btf__add_enum64_value (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | btf_field_iter.c | 83 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()
|
D | btf_write.c | 315 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()
|
D | btf_distill.c | 46 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/ |
D | libbpf.map | 362 btf__add_enum64_value;
|
D | btf.h | 213 LIBBPF_API int btf__add_enum64_value(struct btf *btf, const char *name, __u64 value);
|
D | btf.c | 2444 int btf__add_enum64_value(struct btf *btf, const char *name, __u64 value) in btf__add_enum64_value() function
|