Searched refs:btf__add_ptr (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | btf_dedup_split.c | 19 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(btf2, 11); /* [9] ptr to struct s2 */ in test_split_struct_duped() [all …]
|
D | btf_distill.c | 23 btf__add_ptr(btf1, 1); /* [2] ptr to int */ in test_distilled_base() 107 btf__add_ptr(btf2, 3); /* [18] ptr to struct s1 */ in test_distilled_base() 109 btf__add_ptr(btf2, 4); /* [19] ptr to struct (anon) */ in test_distilled_base() 115 btf__add_ptr(btf2, 11); /* [25] restrict enum64 (anon) */ in test_distilled_base() 314 btf__add_ptr(btf2, 1); in test_distilled_base_multi() 368 btf__add_ptr(btf2, 1); in test_distilled_base_missing_err() 422 btf__add_ptr(btf2, 1); in test_distilled_base_multi_err() 465 btf__add_ptr(btf2, 1); in test_distilled_base_multi_err2() 516 btf__add_ptr(split_btf, myint_id); in test_distilled_base_vmlinux() 560 btf__add_ptr(split, 1); in test_distilled_endianness()
|
D | btf_split.c | 28 btf__add_ptr(btf1, 1); /* [2] ptr to int */ in test_btf_split()
|
D | btf_field_iter.c | 52 btf__add_ptr(btf, 1); /* [3] int * */ in test_btf_field_iter()
|
D | log_buf.c | 247 ASSERT_GT(btf__add_ptr(btf, 100), 0, "bad_ptr_type"); in bpf_btf_load_log_buf()
|
D | core_autosize.c | 96 void_ptr_id = btf__add_ptr(btf, 0); in test_core_autosize()
|
D | btf_write.c | 55 id = btf__add_ptr(btf, 1); in gen_btf()
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf.map | 222 btf__add_ptr;
|
D | btf.h | 200 LIBBPF_API int btf__add_ptr(struct btf *btf, int ref_type_id);
|
D | btf.c | 2127 int btf__add_ptr(struct btf *btf, int ref_type_id) in btf__add_ptr() function
|
D | libbpf.c | 6973 ptr_id = btf__add_ptr(btf, struct_id); in bpf_program_fixup_func_info()
|