Home
last modified time | relevance | path

Searched refs:pipe2 (Results 1 – 25 of 35) sorted by relevance

12

/linux/tools/testing/selftests/landlock/
H A Dscoped_signal_test.c96 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
193 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
194 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
282 ASSERT_EQ(0, pipe2(thread_pipe, O_CLOEXEC)); in TEST()
307 ASSERT_EQ(0, pipe2(thread_pipe, O_CLOEXEC)); in TEST()
359 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST()
494 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
495 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
618 ASSERT_EQ(0, pipe2(trigger, O_CLOEXEC)); in TEST()
619 ASSERT_EQ(0, pipe2(sync_chil in TEST()
[all...]
H A Dptrace_test.c172 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
173 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
363 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
364 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
731 ASSERT_EQ(0, pipe2(sync_pipe, O_CLOEXEC));
H A Dscoped_abstract_unix_test.c92 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
189 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
190 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
367 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
368 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
490 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
505 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
709 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
710 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
875 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
[all …]
H A Daudit_test.c235 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
237 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
462 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in matches_log_fs_read_root()
464 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in FIXTURE()
545 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
547 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
878 ASSERT_EQ(0, pipe2(pipe_child, 0));
879 ASSERT_EQ(0, pipe2(pipe_parent, 0));
/linux/tools/testing/selftests/net/
H A Dudp_splice_checksum.c127 if (pipe2(source, O_NONBLOCK | O_CLOEXEC)) in append_fragment()
178 if (pipe2(source, O_NONBLOCK | O_CLOEXEC)) { in append_page_tail()
283 if (pipe2(pipefd, O_NONBLOCK | O_CLOEXEC)) { in run_case()
/linux/fs/
H A Dpipe.c103 struct pipe_inode_info *pipe2) in pipe_double_lock() argument
105 BUG_ON(pipe1 == pipe2); in pipe_double_lock()
107 if (pipe1 > pipe2) in pipe_double_lock()
108 swap(pipe1, pipe2); in pipe_double_lock()
111 pipe_lock(pipe2); in pipe_double_lock()
1094 SYSCALL_DEFINE2(pipe2, int __user *, fildes, int, flags) in __do_pipe_flags()
1137 SYSCALL_DEFINE2(pipe2,int __user *,fildes,int,flags) SYSCALL_DEFINE2() argument
/linux/tools/virtio/virtio-trace/
H A Dtrace-agent-rw.c67 if (pipe2(data_pipe, O_NONBLOCK) < 0) { in rw_thread_init()
/linux/samples/watch_queue/
H A Dwatch_test.c164 if (pipe2(pipefd, O_NOTIFICATION_PIPE) == -1) { in main()
/linux/Documentation/translations/zh_CN/core-api/
H A Dwatch_queue.rst266 pipe2(fds, O_TMPFILE);
/linux/tools/testing/selftests/kvm/lib/
H A Duserfaultfd_util.c158 ret = pipe2((int *) &pipes, O_CLOEXEC | O_NONBLOCK); in uffd_setup_demand_paging()
/linux/tools/testing/selftests/filesystems/
H A Dreaddir_hold.h186 if (ioctl(h->uffd, UFFDIO_REGISTER, &reg) || pipe2(h->done, O_CLOEXEC)) in readdir_hold_check()
/linux/tools/include/nolibc/
H A Dsys.h719 int pipe2(int pipefd[2], int flags) in pipe2() function
727 return pipe2(pipefd, 0); in pipe()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_test.c301 ret = pipe2(pipe_fds, O_CLOEXEC); in test_pidfd_send_signal_recycled_pid_fail()
/linux/tools/testing/selftests/coredump/
H A Dcoredump_worker_test.c348 ASSERT_EQ(pipe2(ipc, O_CLOEXEC), 0); in run_dumper()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl298 287 n64 pipe2 sys_pipe2
/linux/scripts/
H A Dsyscall.tbl77 59 common pipe2 sys_pipe2
/linux/tools/scripts/
H A Dsyscall.tbl77 59 common pipe2 sys_pipe2
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl279 325 common pipe2 sys_pipe2
/linux/tools/testing/selftests/mm/
H A Duffd-common.c398 if (pipe2(&gopts->pipefd[cpu * 2], O_CLOEXEC | O_NONBLOCK)) in uffd_test_ctx_init()
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl341 331 common pipe2 sys_pipe2
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl334 311 common pipe2 sys_pipe2
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl305 293 common pipe2 sys_pipe2
H A Dsyscall_32.tbl346 331 i386 pipe2 sys_pipe2
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl390 321 common pipe2 sys_pipe2
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl377 359 common pipe2 sys_pipe2

12