Searched refs:skel1 (Results 1 – 2 of 2) sorted by relevance
11 struct test_xdp_link *skel1 = NULL, *skel2 = NULL; in serial_test_xdp_link() local21 skel1 = test_xdp_link__open_and_load(); in serial_test_xdp_link()22 if (!ASSERT_OK_PTR(skel1, "skel_load")) in serial_test_xdp_link()24 prog_fd1 = bpf_program__fd(skel1->progs.xdp_handler); in serial_test_xdp_link()54 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()70 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()73 skel1->links.xdp_handler = link; in serial_test_xdp_link()103 bpf_link__destroy(skel1->links.xdp_handler); in serial_test_xdp_link()104 skel1->links.xdp_handler = NULL; in serial_test_xdp_link()117 err = bpf_link__update_program(link, skel1->progs.xdp_handler); in serial_test_xdp_link()[all …]
602 struct bpf_iter_test_kern1 *skel1; in test_file_iter() local607 skel1 = bpf_iter_test_kern1__open_and_load(); in test_file_iter()608 if (!ASSERT_OK_PTR(skel1, "bpf_iter_test_kern1__open_and_load")) in test_file_iter()611 link = bpf_program__attach_iter(skel1->progs.dump_task, NULL); in test_file_iter()647 bpf_iter_test_kern1__destroy(skel1); in test_file_iter()