Home
last modified time | relevance | path

Searched refs:btf__add_struct (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dedup_split.c20 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 …]
H A Dlinked_list.c325 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()
374 id = btf__add_struct(btf, "foo", 36); in test_btf()
400 id = btf__add_struct(btf, "foo", 24); in test_btf()
420 id = btf__add_struct(btf, "foo", 24); in test_btf()
443 id = btf__add_struct(btf, "foo", 24); in test_btf()
466 id = btf__add_struct(btf, "foo", 20); in test_btf()
478 id = btf__add_struct(btf, "bar", 4); in test_btf()
495 id = btf__add_struct(btf, "foo", 52); in test_btf()
[all …]
H A Dbtf_split.c30 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()
H A Dcore_autosize.c99 id = btf__add_struct(btf, "test_struct", 20 /* bytes */); in test_core_autosize()
H A Dbtf_dump.c180 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()
H A Dbtf_write.c101 id = btf__add_struct(btf, "s1", 8); in gen_btf()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.map225 btf__add_struct;
H A Dbtf.h182 LIBBPF_API int btf__add_struct(struct btf *btf, const char *name, __u32 sz);
H A Dbtf.c1971 int btf__add_struct(struct btf *btf, const char *name, __u32 byte_sz) in btf__add_struct() function
/openbmc/linux/tools/bpf/bpftool/
H A Dgen.c2178 err = btf__add_struct(btf_new, name, type->size); in btfgen_get_btf()