Searched refs:pipe_fd2 (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/syscalls/sigrelse/ |
D | sigrelse01.c | 166 static int pipe_fd2[2]; /* file descriptors for pipe child read */ variable 196 maybe_run_child(&child, "dd", &pipe_fd[1], &pipe_fd2[0]); in main() 219 if (self_exec(argv[0], "dd", pipe_fd[1], pipe_fd2[0]) < in main() 286 if (write_pipe(pipe_fd2[1], READY) < 0) { in parent() 460 if ((str = read_pipe(pipe_fd2[0])) == NULL) { in child() 782 SAFE_PIPE(cleanup, pipe_fd2); in setup() 788 if (fcntl(pipe_fd2[0], F_SETFL, O_NONBLOCK) == -1) in setup()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 167 static int pipe_fd2[2]; variable 171 if (pipe(pipe_fd1) || pipe(pipe_fd2)) in pipe_setup() 184 assert(write(pipe_fd2[WRITE], &c, 1) == 1); in pipe_thread1() 199 assert(read(pipe_fd2[READ], &c, 1) == 1); in pipe_thread2()
|