Searched refs:skel1 (Results 1 – 2 of 2) sorted by relevance
13 struct test_xdp_link *skel1 = NULL, *skel2 = NULL; in test_xdp_link() local20 skel1 = test_xdp_link__open_and_load(); in test_xdp_link()21 if (CHECK(!skel1, "skel_load", "skeleton open and load failed\n")) in test_xdp_link()23 prog_fd1 = bpf_program__fd(skel1->progs.xdp_handler); in test_xdp_link()53 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in test_xdp_link()69 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in test_xdp_link()72 skel1->links.xdp_handler = link; in test_xdp_link()103 bpf_link__destroy(skel1->links.xdp_handler); in test_xdp_link()104 skel1->links.xdp_handler = NULL; in test_xdp_link()118 err = bpf_link__update_program(link, skel1->progs.xdp_handler); in test_xdp_link()[all …]
376 struct bpf_iter_test_kern1 *skel1; in test_file_iter() local381 skel1 = bpf_iter_test_kern1__open_and_load(); in test_file_iter()382 if (CHECK(!skel1, "bpf_iter_test_kern1__open_and_load", in test_file_iter()386 link = bpf_program__attach_iter(skel1->progs.dump_task, NULL); in test_file_iter()423 bpf_iter_test_kern1__destroy(skel1); in test_file_iter()