Searched refs:btf__add_struct (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/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() 166 btf__add_struct(btf2, "s1", 16); /* [10] struct s1 { */ in test_split_fwd_resolve() 223 btf__add_struct(btf1, "s1", 16); /* [5] struct s1 { */ in test_split_struct_duped() 246 btf__add_struct(btf2, "s1", 16); /* [10] struct s1 { */ in test_split_struct_duped() 250 btf__add_struct(btf2, "s2", 40); /* [11] struct s2 { */ in test_split_struct_duped() 257 btf__add_struct(btf2, "s3", 8); /* [13] struct s3 { */ in test_split_struct_duped()
|
D | btf_split.c | 31 btf__add_struct(btf1, "s1", 4); /* [3] struct s1 { */ in test_btf_split() 51 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_write.c | 104 id = btf__add_struct(btf, "s1", 8); in test_btf_write()
|
D | btf_dump.c | 169 id = btf__add_struct(btf, "s", 4); in test_btf_dump_incremental() 206 id = btf__add_struct(btf, "s", 4); in test_btf_dump_incremental()
|
/Linux-v5.15/tools/lib/bpf/ |
D | libbpf.map | 324 btf__add_struct;
|
D | btf.h | 111 LIBBPF_API int btf__add_struct(struct btf *btf, const char *name, __u32 sz);
|
D | btf.c | 1911 int btf__add_struct(struct btf *btf, const char *name, __u32 byte_sz) in btf__add_struct() function
|