Searched refs:btf__add_struct (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | btf_dedup_split.c | 20 btf__add_struct(btf1, "s1", 4); /* [3] struct s1 { */ in test_split_simple() 52 btf__add_struct(btf2, "s2", 16); /* [4] struct s2 { */ in test_split_simple() 62 btf__add_struct(btf2, "s1", 4); /* [6] struct s1 { */ in test_split_simple() 139 btf__add_struct(btf1, "s1", 16); /* [4] struct s1 { */ in test_split_fwd_resolve() 143 btf__add_struct(btf1, "s2", 4); /* [5] struct s2 { */ in test_split_fwd_resolve() 147 btf__add_struct(btf1, "s3", 4); /* [6] struct s3 { */ in test_split_fwd_resolve() 172 btf__add_struct(btf2, "s1", 16); /* [11] struct s1 { */ in test_split_fwd_resolve() 238 btf__add_struct(btf1, "s1", 16); /* [5] struct s1 { */ in test_split_struct_duped() 261 btf__add_struct(btf2, "s1", 16); /* [10] struct s1 { */ in test_split_struct_duped() 265 btf__add_struct(btf2, "s2", 40); /* [11] struct s2 { */ in test_split_struct_duped() [all …]
|
D | linked_list.c | 248 lid = btf__add_struct(btf, "bpf_spin_lock", 4); in init_btf() 251 hid = btf__add_struct(btf, "bpf_list_head", 16); in init_btf() 254 nid = btf__add_struct(btf, "bpf_list_node", 24); in init_btf() 273 bpf_rb_node_btf_id = btf__add_struct(btf, "bpf_rb_node", 32); in list_and_rb_node_same_struct() 278 bpf_refcount_btf_id = btf__add_struct(btf, "bpf_refcount", 4); in list_and_rb_node_same_struct() 283 id = btf__add_struct(btf, "bar", refcount_field ? 60 : 56); in list_and_rb_node_same_struct() 298 foo_btf_id = btf__add_struct(btf, "foo", 20); in list_and_rb_node_same_struct() 325 id = btf__add_struct(btf, "foo", 24); in test_btf() 348 id = btf__add_struct(btf, "foo", 16); in test_btf() 357 id = btf__add_struct(btf, "baz", 16); in test_btf() [all …]
|
D | btf_split.c | 30 btf__add_struct(btf1, "s1", 4); /* [3] struct s1 { */ in test_btf_split() 50 btf__add_struct(btf2, "s2", 16); /* [4] struct s2 { */ in test_btf_split()
|
D | core_autosize.c | 99 id = btf__add_struct(btf, "test_struct", 20 /* bytes */); in test_core_autosize()
|
D | btf_dump.c | 180 id = btf__add_struct(btf, "s", 4); in test_btf_dump_incremental() 226 id = btf__add_struct(btf, "s", 4); in test_btf_dump_incremental()
|
D | btf_write.c | 101 id = btf__add_struct(btf, "s1", 8); in gen_btf()
|
/linux-6.6.21/tools/lib/bpf/ |
D | libbpf.map | 225 btf__add_struct;
|
D | btf.h | 182 LIBBPF_API int btf__add_struct(struct btf *btf, const char *name, __u32 sz);
|
D | btf.c | 1971 int btf__add_struct(struct btf *btf, const char *name, __u32 byte_sz) in btf__add_struct() function
|
/linux-6.6.21/tools/bpf/bpftool/ |
D | gen.c | 2178 err = btf__add_struct(btf_new, name, type->size); in btfgen_get_btf()
|