Searched refs:skel2 (Results 1 – 3 of 3) sorted by relevance
13 struct test_xdp_link *skel1 = NULL, *skel2 = NULL; in test_xdp_link() local25 skel2 = test_xdp_link__open_and_load(); in test_xdp_link()26 if (CHECK(!skel2, "skel_load", "skeleton open and load failed\n")) in test_xdp_link()28 prog_fd2 = bpf_program__fd(skel2->progs.xdp_handler); in test_xdp_link()97 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in test_xdp_link()107 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in test_xdp_link()110 skel2->links.xdp_handler = link; in test_xdp_link()150 test_xdp_link__destroy(skel2); in test_xdp_link()
13 struct test_subprogs_unused *skel2; in test_subprogs() local31 skel2 = test_subprogs_unused__open_and_load(); in test_subprogs()32 ASSERT_OK_PTR(skel2, "unused_progs_skel"); in test_subprogs()33 test_subprogs_unused__destroy(skel2); in test_subprogs()
377 struct bpf_iter_test_kern2 *skel2; in test_file_iter() local405 skel2 = bpf_iter_test_kern2__open_and_load(); in test_file_iter()406 if (CHECK(!skel2, "bpf_iter_test_kern2__open_and_load", in test_file_iter()410 err = bpf_link__update_program(link, skel2->progs.dump_task); in test_file_iter()417 bpf_iter_test_kern2__destroy(skel2); in test_file_iter()