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 | 63 int prog_fd, link1_fd = -1, link2_fd = -1; local 72 link1_fd = bpf_link_create(prog_fd, 0, BPF_TRACE_KPROBE_MULTI, opts); 73 if (!ASSERT_GE(link1_fd, 0, "link_fd")) 85 if (link1_fd != -1) 86 close(link1_fd);
|
H A D | uprobe_multi_test.c | 410 int prog_fd, link1_fd = -1, link2_fd = -1, link3_fd = -1, link4_fd = -1; local 438 link1_fd = bpf_link_create(prog_fd, 0, BPF_TRACE_UPROBE_MULTI, &opts); 439 if (!ASSERT_GE(link1_fd, 0, "link1_fd")) 470 if (link1_fd >= 0) 471 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 267 milliseconds