Searched refs:skel2 (Results 1 – 3 of 3) 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()
589 struct bpf_iter_test_kern2 *skel2; in test_file_iter() local616 skel2 = bpf_iter_test_kern2__open_and_load(); in test_file_iter()617 if (!ASSERT_OK_PTR(skel2, "bpf_iter_test_kern2__open_and_load")) in test_file_iter()620 err = bpf_link__update_program(link, skel2->progs.dump_task); in test_file_iter()627 bpf_iter_test_kern2__destroy(skel2); in test_file_iter()