Home
last modified time | relevance | path

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

/tools/perf/bench/
Dsched-pipe.c80 int pipe_1[2], pipe_2[2]; in bench_sched_pipe() local
96 BUG_ON(pipe(pipe_1)); in bench_sched_pipe()
107 td->pipe_read = pipe_1[0]; in bench_sched_pipe()
110 td->pipe_write = pipe_1[1]; in bench_sched_pipe()
/tools/testing/selftests/clone3/
Dclone3_set_tid.c30 static int pipe_1[2]; variable
75 close(pipe_1[0]); in call_clone3_set_tid()
76 ret = write(pipe_1[1], &tmp, 1); in call_clone3_set_tid()
82 close(pipe_1[1]); in call_clone3_set_tid()
163 if (pipe(pipe_1) < 0 || pipe(pipe_2) < 0) in main()
335 close(pipe_1[1]); in main()
337 while (read(pipe_1[0], &buf, 1) > 0) { in main()