Lines Matching full:s1
20 btf__add_struct(btf1, "s1", 4); /* [3] struct s1 { */ in test_split_simple()
28 "[3] STRUCT 's1' size=4 vlen=1\n" in test_split_simple()
32 struct s1 {\n\ in test_split_simple()
53 btf__add_field(btf2, "f1", 6, 0, 0); /* struct s1 f1; */ in test_split_simple()
61 /* duplicated struct s1 */ in test_split_simple()
62 btf__add_struct(btf2, "s1", 4); /* [6] struct s1 { */ in test_split_simple()
70 "[3] STRUCT 's1' size=4 vlen=1\n" in test_split_simple()
77 "[6] STRUCT 's1' size=4 vlen=1\n" in test_split_simple()
81 struct s1 {\n\ in test_split_simple()
103 "[3] STRUCT 's1' size=4 vlen=1\n" in test_split_simple()
111 struct s1 {\n\ in test_split_simple()
116 struct s1 f1;\n\ in test_split_simple()
137 btf__add_ptr(btf1, 4); /* [2] ptr to struct s1 */ in test_split_fwd_resolve()
139 btf__add_struct(btf1, "s1", 16); /* [4] struct s1 { */ in test_split_fwd_resolve()
140 btf__add_field(btf1, "f1", 2, 0, 0); /* struct s1 *f1; */ in test_split_fwd_resolve()
156 "[4] STRUCT 's1' size=16 vlen=2\n" in test_split_fwd_resolve()
169 btf__add_ptr(btf2, 11); /* [8] ptr to struct s1 */ in test_split_fwd_resolve()
172 btf__add_struct(btf2, "s1", 16); /* [11] struct s1 { */ in test_split_fwd_resolve()
173 btf__add_field(btf2, "f1", 8, 0, 0); /* struct s1 *f1; */ in test_split_fwd_resolve()
177 btf__add_ptr(btf2, 12); /* [13] ptr to struct s1 */ in test_split_fwd_resolve()
184 "[4] STRUCT 's1' size=16 vlen=2\n" in test_split_fwd_resolve()
195 "[11] STRUCT 's1' size=16 vlen=2\n" in test_split_fwd_resolve()
210 "[4] STRUCT 's1' size=16 vlen=2\n" in test_split_fwd_resolve()
235 btf__add_ptr(btf1, 5); /* [2] ptr to struct s1 */ in test_split_struct_duped()
238 btf__add_struct(btf1, "s1", 16); /* [5] struct s1 { */ in test_split_struct_duped()
239 btf__add_field(btf1, "f1", 2, 0, 0); /* struct s1 *f1; */ in test_split_struct_duped()
249 "[5] STRUCT 's1' size=16 vlen=2\n" in test_split_struct_duped()
258 btf__add_ptr(btf2, 10); /* [7] ptr to struct s1 */ in test_split_struct_duped()
261 btf__add_struct(btf2, "s1", 16); /* [10] struct s1 { */ in test_split_struct_duped()
262 btf__add_field(btf2, "f1", 7, 0, 0); /* struct s1 *f1; */ in test_split_struct_duped()
266 btf__add_field(btf2, "f1", 7, 0, 0); /* struct s1 *f1; */ in test_split_struct_duped()
269 btf__add_field(btf2, "f4", 10, 192, 0); /* struct s1 f4; */ in test_split_struct_duped()
282 "[5] STRUCT 's1' size=16 vlen=2\n" in test_split_struct_duped()
289 "[10] STRUCT 's1' size=16 vlen=2\n" in test_split_struct_duped()
311 "[5] STRUCT 's1' size=16 vlen=2\n" in test_split_struct_duped()
316 "[8] STRUCT 's1' size=16 vlen=2\n" in test_split_struct_duped()