Lines Matching refs:btf
9 struct btf *btf1, *btf2; in test_split_simple()
127 struct btf *btf1, *btf2; in test_split_fwd_resolve()
225 struct btf *btf1, *btf2; in test_split_struct_duped()
332 static void btf_add_dup_struct_in_cu(struct btf *btf, int start_id) in btf_add_dup_struct_in_cu() argument
335 btf__set_pointer_size(btf, 8); /* enforce 64-bit arch */ in btf_add_dup_struct_in_cu()
337 btf__add_int(btf, "int", 4, BTF_INT_SIGNED); /* [1] int */ in btf_add_dup_struct_in_cu()
339 btf__add_struct(btf, "s", 8); /* [2] struct s { */ in btf_add_dup_struct_in_cu()
340 btf__add_field(btf, "a", ID(3), 0, 0); /* struct anon a; */ in btf_add_dup_struct_in_cu()
341 btf__add_field(btf, "b", ID(4), 0, 0); /* struct anon b; */ in btf_add_dup_struct_in_cu()
344 btf__add_struct(btf, "(anon)", 8); /* [3] struct anon { */ in btf_add_dup_struct_in_cu()
345 btf__add_field(btf, "f1", ID(1), 0, 0); /* int f1; */ in btf_add_dup_struct_in_cu()
346 btf__add_field(btf, "f2", ID(1), 32, 0); /* int f2; */ in btf_add_dup_struct_in_cu()
349 btf__add_struct(btf, "(anon)", 8); /* [4] struct anon { */ in btf_add_dup_struct_in_cu()
350 btf__add_field(btf, "f1", ID(1), 0, 0); /* int f1; */ in btf_add_dup_struct_in_cu()
351 btf__add_field(btf, "f2", ID(1), 32, 0); /* int f2; */ in btf_add_dup_struct_in_cu()
358 struct btf *btf1, *btf2 = NULL; in test_split_dup_struct_in_cu()
473 struct btf *vmlinux_btf, *btf1 = NULL; in test_split_module()