Searched refs:skel2 (Results 1 – 4 of 4) sorted by relevance
11 struct test_xdp_link *skel1 = NULL, *skel2 = NULL; in serial_test_xdp_link() local26 skel2 = test_xdp_link__open_and_load(); in serial_test_xdp_link()27 if (!ASSERT_OK_PTR(skel2, "skel_load")) in serial_test_xdp_link()29 prog_fd2 = bpf_program__fd(skel2->progs.xdp_handler); in serial_test_xdp_link()97 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()107 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()110 skel2->links.xdp_handler = link; in serial_test_xdp_link()151 test_xdp_link__destroy(skel2); in serial_test_xdp_link()
64 struct test_subprogs_unused *skel2; in test_subprogs_alone() local82 skel2 = test_subprogs_unused__open_and_load(); in test_subprogs_alone()83 ASSERT_OK_PTR(skel2, "unused_progs_skel"); in test_subprogs_alone()84 test_subprogs_unused__destroy(skel2); in test_subprogs_alone()
603 struct bpf_iter_test_kern2 *skel2; in test_file_iter() local630 skel2 = bpf_iter_test_kern2__open_and_load(); in test_file_iter()631 if (!ASSERT_OK_PTR(skel2, "bpf_iter_test_kern2__open_and_load")) in test_file_iter()634 err = bpf_link__update_program(link, skel2->progs.dump_task); in test_file_iter()641 bpf_iter_test_kern2__destroy(skel2); in test_file_iter()
106 struct struct_ops_module *skel2; in main() local127 skel2 = struct_ops_module__open_and_load(); in main()128 struct_ops_module__destroy(skel2); in main()