Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/landlock/
H A Dscoped_signal_test.c91 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
188 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
189 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
277 ASSERT_EQ(0, pipe2(thread_pipe, O_CLOEXEC)); in TEST()
302 ASSERT_EQ(0, pipe2(thread_pipe, O_CLOEXEC));
354 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in FIXTURE_VARIANT_ADD()
468 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
469 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
H A Dscoped_abstract_unix_test.c88 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
185 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
186 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
317 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
318 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
427 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
442 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
646 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
647 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
812 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
[all …]
H A Dptrace_test.c169 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
170 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
360 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
361 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
H A Daudit_test.c233 ASSERT_EQ(0, pipe2(pipe_child, O_CLOEXEC)); in TEST_F()
235 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
550 ASSERT_EQ(0, pipe2(pipe_child, 0)); in TEST_F()
551 ASSERT_EQ(0, pipe2(pipe_parent, 0)); in TEST_F()
/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()
1054 SYSCALL_DEFINE2(pipe2, int __user *, fildes, int, flags) in 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/drivers/gpu/drm/omapdrm/
H A Domap_drv.c355 const struct omap_drm_pipeline *pipe2 = b; in omap_compare_pipelines() local
357 if (pipe1->alias_id > pipe2->alias_id) in omap_compare_pipelines()
359 else if (pipe1->alias_id < pipe2->alias_id) in omap_compare_pipelines()
/linux/tools/include/nolibc/
H A Dsys.h687 * int pipe2(int pipefd[2], int flags);
698 int pipe2(int pipefd[2], int flags)
706 return pipe2(pipefd, 0); in pipe2() function
/linux/Documentation/translations/zh_CN/core-api/
H A Dwatch_queue.rst266 pipe2(fds, O_TMPFILE);
/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/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl298 287 n64 pipe2 sys_pipe2
/linux/tools/testing/selftests/mm/
H A Duffd-common.c396 if (pipe2(&gopts->pipefd[cpu * 2], O_CLOEXEC | O_NONBLOCK)) in uffd_test_ctx_init()
/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/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/arm/entry/syscalls/
H A Dsyscall.tbl377 359 common pipe2 sys_pipe2
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl390 321 common pipe2 sys_pipe2
/linux/Documentation/core-api/
H A Dwatch_queue.rst296 pipe2(fds, O_TMPFILE);
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl335 325 common pipe2 sys_pipe2 sys_pipe2
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl417 317 common pipe2 sys_pipe2
/linux/tools/testing/selftests/net/
H A Dipsec.c2307 if (pipe2(test_desc_fd, O_DIRECT) < 0) in main()
2310 if (pipe2(results_fd, O_DIRECT) < 0) in main()

12