Home
last modified time | relevance | path

Searched refs:pipe_fds (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/tools/testing/selftests/pidfd/
Dpidfd_test.c209 int pipe_fds[2]; in test_pidfd_send_signal_recycled_pid_fail() local
213 ret = pipe2(pipe_fds, O_CLOEXEC); in test_pidfd_send_signal_recycled_pid_fail()
222 close(pipe_fds[1]); in test_pidfd_send_signal_recycled_pid_fail()
223 (void)read(pipe_fds[0], &c, 1); in test_pidfd_send_signal_recycled_pid_fail()
224 close(pipe_fds[0]); in test_pidfd_send_signal_recycled_pid_fail()
233 close(pipe_fds[0]); in test_pidfd_send_signal_recycled_pid_fail()
235 close(pipe_fds[1]); in test_pidfd_send_signal_recycled_pid_fail()
/Linux-v5.4/tools/testing/selftests/x86/
Dprotection_keys.c1067 int pipe_fds[2]; in test_kernel_gup_of_access_disabled_region() local
1069 pipe_ret = pipe(pipe_fds); in test_kernel_gup_of_access_disabled_region()
1077 vmsplice_ret = vmsplice(pipe_fds[1], &iov, 1, SPLICE_F_GIFT); in test_kernel_gup_of_access_disabled_region()
1081 close(pipe_fds[0]); in test_kernel_gup_of_access_disabled_region()
1082 close(pipe_fds[1]); in test_kernel_gup_of_access_disabled_region()