Searched refs:btf__add_const (Results 1 – 6 of 6) sorted by relevance
110 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()
70 btf__add_const(btf, 1); /* [11] const int; */ in test_btf_field_iter()
63 id = btf__add_const(btf, 5); /* points forward to restrict */ in gen_btf()
211 btf__add_const;
224 LIBBPF_API int btf__add_const(struct btf *btf, int ref_type_id);
2559 int btf__add_const(struct btf *btf, int ref_type_id) in btf__add_const() function