Searched refs:skel2 (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xdp_link.c | 11 struct test_xdp_link *skel1 = NULL, *skel2 = NULL; in serial_test_xdp_link() local 26 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()
|
| H A D | subprogs.c | 64 struct test_subprogs_unused *skel2; in test_subprogs_alone() local 82 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()
|
| H A D | tailcalls.c | 1914 struct tailcall_bpf2bpf_fexit *skel1 = NULL, *skel2 = NULL; in test_tailcall_bpf2bpf_fexit_links() local 1939 skel2 = tailcall_bpf2bpf_fexit__open(); in test_tailcall_bpf2bpf_fexit_links() 1940 if (!ASSERT_OK_PTR(skel2, "tailcall_bpf2bpf_fexit__open")) in test_tailcall_bpf2bpf_fexit_links() 1943 err = bpf_program__set_attach_target(skel2->progs.fexit, prog_fd, "subprog_tail"); in test_tailcall_bpf2bpf_fexit_links() 1947 err = tailcall_bpf2bpf_fexit__load(skel2); in test_tailcall_bpf2bpf_fexit_links() 1952 tailcall_bpf2bpf_fexit__destroy(skel2); in test_tailcall_bpf2bpf_fexit_links()
|
| H A D | bpf_iter.c | 670 struct bpf_iter_test_kern2 *skel2; in test_file_iter() local 697 skel2 = bpf_iter_test_kern2__open_and_load(); in test_file_iter() 698 if (!ASSERT_OK_PTR(skel2, "bpf_iter_test_kern2__open_and_load")) in test_file_iter() 701 err = bpf_link__update_program(link, skel2->progs.dump_task); in test_file_iter() 708 bpf_iter_test_kern2__destroy(skel2); in test_file_iter()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_cpp.cpp | 106 struct struct_ops_module *skel2; in main() local 127 skel2 = struct_ops_module__open_and_load(); in main() 128 struct_ops_module__destroy(skel2); in main()
|