Home
last modified time | relevance | path

Searched refs:btf__add_ptr (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A 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()
169 btf__add_ptr(btf2, 11); /* [8] ptr to struct s1 */ in test_split_fwd_resolve()
171 btf__add_ptr(btf2, 9); /* [10] ptr to fwd struct s2 */ in test_split_fwd_resolve()
177 btf__add_ptr(btf2, 12); /* [13] ptr to struct s1 */ in test_split_fwd_resolve()
235 btf__add_ptr(btf1, 5); /* [2] ptr to struct s1 */ in test_split_struct_duped()
237 btf__add_ptr(btf1, 3); /* [4] ptr to fwd struct s2 */ in test_split_struct_duped()
258 btf__add_ptr(btf2, 10); /* [7] ptr to struct s1 */ in test_split_struct_duped()
260 btf__add_ptr(btf in test_split_struct_duped()
[all...]
H A Dbtf_split.c28 btf__add_ptr(btf1, 1); /* [2] ptr to int */ in test_btf_split()
H A Dlog_buf.c246 ASSERT_GT(btf__add_ptr(btf, 100), 0, "bad_ptr_type"); in bpf_btf_load_log_buf()
H A Dcore_autosize.c96 void_ptr_id = btf__add_ptr(btf, 0); in test_core_autosize()
H A Dbtf_write.c55 id = btf__add_ptr(btf, 1); in gen_btf()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dcore_autosize.c96 void_ptr_id = btf__add_ptr(btf, 0); in test_core_autosize()
H A Dbtf_write.c57 id = btf__add_ptr(btf, 1); in test_btf_write()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbtf.h89 LIBBPF_API int btf__add_ptr(struct btf *btf, int ref_type_id);
H A Dbtf.c1684 int btf__add_ptr(struct btf *btf, int ref_type_id) in btf__add_ptr() function
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dbtf.h178 LIBBPF_API int btf__add_ptr(struct btf *btf, int ref_type_id);
H A Dbtf.c1886 int btf__add_ptr(struct btf *btf, int ref_type_id) in btf__add_ptr() function

Completed in 16 milliseconds