Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbtf_distill.c110 btf__add_const(btf2, 6); /* [20] const union u1 */ in test_distilled_base()
114 btf__add_const(btf2, 10); /* [24] const enum64 e641 */ in test_distilled_base()
315 btf__add_const(btf2, 2); in test_distilled_base_multi()
369 btf__add_const(btf2, 2); in test_distilled_base_missing_err()
423 btf__add_const(btf2, 2); in test_distilled_base_multi_err()
Dbtf_field_iter.c70 btf__add_const(btf, 1); /* [11] const int; */ in test_btf_field_iter()
Dbtf_write.c63 id = btf__add_const(btf, 5); /* points forward to restrict */ in gen_btf()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map211 btf__add_const;
Dbtf.h224 LIBBPF_API int btf__add_const(struct btf *btf, int ref_type_id);
Dbtf.c2559 int btf__add_const(struct btf *btf, int ref_type_id) in btf__add_const() function