Home
last modified time | relevance | path

Searched refs:btf__add_ptr (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbtf_dedup_split.c19 btf__add_ptr(btf1, 1); /* [2] ptr to int */ in test_split_simple()
137 btf__add_ptr(btf1, 4); /* [2] ptr to struct s1 */ in test_split_fwd_resolve()
138 btf__add_ptr(btf1, 5); /* [3] ptr to struct s2 */ in test_split_fwd_resolve()
163 btf__add_ptr(btf2, 10); /* [7] ptr to struct s1 */ in test_split_fwd_resolve()
165 btf__add_ptr(btf2, 8); /* [9] ptr to fwd struct s2 */ in test_split_fwd_resolve()
220 btf__add_ptr(btf1, 5); /* [2] ptr to struct s1 */ in test_split_struct_duped()
222 btf__add_ptr(btf1, 3); /* [4] ptr to fwd struct s2 */ in test_split_struct_duped()
243 btf__add_ptr(btf2, 10); /* [7] ptr to struct s1 */ in test_split_struct_duped()
245 btf__add_ptr(btf2, 11); /* [9] ptr to struct s2 */ in test_split_struct_duped()
256 btf__add_ptr(btf2, 8); /* [12] ptr to fwd struct s2 */ in test_split_struct_duped()
Dbtf_split.c28 btf__add_ptr(btf1, 1); /* [2] ptr to int */ in test_btf_split()
Dcore_autosize.c96 void_ptr_id = btf__add_ptr(btf, 0); in test_core_autosize()
Dlog_buf.c246 ASSERT_GT(btf__add_ptr(btf, 100), 0, "bad_ptr_type"); in bpf_btf_load_log_buf()
Dbtf_write.c55 id = btf__add_ptr(btf, 1); in gen_btf()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.map222 btf__add_ptr;
Dbtf.h178 LIBBPF_API int btf__add_ptr(struct btf *btf, int ref_type_id);
Dbtf.c1873 int btf__add_ptr(struct btf *btf, int ref_type_id) in btf__add_ptr() function