Searched refs:link1_fd (Results 1 - 3 of 3) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | kprobe_multi_test.c | 65 int prog_fd, link1_fd = -1, link2_fd = -1; local 74 link1_fd = bpf_link_create(prog_fd, 0, BPF_TRACE_KPROBE_MULTI, opts); 75 if (!ASSERT_GE(link1_fd, 0, "link_fd")) 87 if (link1_fd != -1) 88 close(link1_fd);
|
H A D | uprobe_multi_test.c | 521 int prog_fd, link1_fd = -1, link2_fd = -1, link3_fd = -1, link4_fd = -1; local 549 link1_fd = bpf_link_create(prog_fd, 0, BPF_TRACE_UPROBE_MULTI, &opts); 550 if (!ASSERT_GE(link1_fd, 0, "link1_fd")) 581 if (link1_fd >= 0) 582 close(link1_fd);
|
H A D | bpf_cookie.c | 102 int prog_fd, link1_fd = -1, link2_fd = -1; local 149 link1_fd = bpf_link_create(prog_fd, 0, BPF_TRACE_KPROBE_MULTI, &opts); 150 if (!ASSERT_GE(link1_fd, 0, "link1_fd")) 172 close(link1_fd);
|
Completed in 240 milliseconds