Lines Matching full:s2
52 btf__add_struct(btf2, "s2", 16); /* [4] struct s2 { */ in test_split_simple()
72 "[4] STRUCT 's2' size=16 vlen=3\n" in test_split_simple()
89 struct s2 {\n\ in test_split_simple()
105 "[4] STRUCT 's2' size=16 vlen=3\n" in test_split_simple()
115 struct s2 {\n\ in test_split_simple()
138 btf__add_ptr(btf1, 5); /* [3] ptr to struct s2 */ in test_split_fwd_resolve()
141 btf__add_field(btf1, "f2", 3, 64, 0); /* struct s2 *f2; */ in test_split_fwd_resolve()
143 btf__add_struct(btf1, "s2", 4); /* [5] struct s2 { */ in test_split_fwd_resolve()
159 "[5] STRUCT 's2' size=4 vlen=1\n" in test_split_fwd_resolve()
170 btf__add_fwd(btf2, "s2", BTF_FWD_STRUCT); /* [9] fwd for struct s2 */ in test_split_fwd_resolve()
171 btf__add_ptr(btf2, 9); /* [10] ptr to fwd struct s2 */ in test_split_fwd_resolve()
174 btf__add_field(btf2, "f2", 10, 64, 0); /* struct s2 *f2; */ in test_split_fwd_resolve()
187 "[5] STRUCT 's2' size=4 vlen=1\n" in test_split_fwd_resolve()
193 "[9] FWD 's2' fwd_kind=struct", in test_split_fwd_resolve()
213 "[5] STRUCT 's2' size=4 vlen=1\n" in test_split_fwd_resolve()
236 btf__add_fwd(btf1, "s2", BTF_FWD_STRUCT); /* [3] fwd for struct s2 */ in test_split_struct_duped()
237 btf__add_ptr(btf1, 3); /* [4] ptr to fwd struct s2 */ in test_split_struct_duped()
240 btf__add_field(btf1, "f2", 4, 64, 0); /* struct s2 *f2; */ in test_split_struct_duped()
247 "[3] FWD 's2' fwd_kind=struct", in test_split_struct_duped()
259 btf__add_fwd(btf2, "s2", BTF_FWD_STRUCT); /* [8] fwd for struct s2 */ in test_split_struct_duped()
260 btf__add_ptr(btf2, 11); /* [9] ptr to struct s2 */ in test_split_struct_duped()
263 btf__add_field(btf2, "f2", 9, 64, 0); /* struct s2 *f2; */ in test_split_struct_duped()
265 btf__add_struct(btf2, "s2", 40); /* [11] struct s2 { */ in test_split_struct_duped()
267 btf__add_field(btf2, "f2", 9, 64, 0); /* struct s2 *f2; */ in test_split_struct_duped()
271 btf__add_ptr(btf2, 8); /* [12] ptr to fwd struct s2 */ in test_split_struct_duped()
273 btf__add_field(btf2, "f1", 12, 0, 0); /* struct s2 *f1; (fwd) */ in test_split_struct_duped()
280 "[3] FWD 's2' fwd_kind=struct", in test_split_struct_duped()
287 "[8] FWD 's2' fwd_kind=struct", in test_split_struct_duped()
292 "[11] STRUCT 's2' size=40 vlen=4\n" in test_split_struct_duped()
309 "[3] FWD 's2' fwd_kind=struct", in test_split_struct_duped()
319 "[9] STRUCT 's2' size=40 vlen=4\n" in test_split_struct_duped()