Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 70) sorted by relevance

123

/tools/testing/selftests/powerpc/pmu/
Dlib.h15 union pipe { union
26 extern int sync_with_child(union pipe read_pipe, union pipe write_pipe);
27 extern int wait_for_parent(union pipe read_pipe);
28 extern int notify_parent(union pipe write_pipe);
29 extern int notify_parent_of_error(union pipe write_pipe);
Dlib.c33 int sync_with_child(union pipe read_pipe, union pipe write_pipe) in sync_with_child()
45 int wait_for_parent(union pipe read_pipe) in wait_for_parent()
55 int notify_parent(union pipe write_pipe) in notify_parent()
64 int notify_parent_of_error(union pipe write_pipe) in notify_parent_of_error()
97 static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe) in eat_cpu_child()
118 union pipe read_pipe, write_pipe; in eat_cpu()
126 if (pipe(read_pipe.fds) == -1) in eat_cpu()
129 if (pipe(write_pipe.fds) == -1) in eat_cpu()
/tools/testing/selftests/powerpc/pmu/ebb/
Debb_on_child_test.c23 static int victim_child(union pipe read_pipe, union pipe write_pipe) in victim_child()
46 union pipe read_pipe, write_pipe; in ebb_on_child()
52 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_on_child()
53 FAIL_IF(pipe(write_pipe.fds) == -1); in ebb_on_child()
Debb_on_willing_child_test.c23 static int victim_child(union pipe read_pipe, union pipe write_pipe) in victim_child()
51 union pipe read_pipe, write_pipe; in ebb_on_willing_child()
57 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_on_willing_child()
58 FAIL_IF(pipe(write_pipe.fds) == -1); in ebb_on_willing_child()
Dtask_event_vs_ebb_test.c38 union pipe read_pipe, write_pipe; in task_event_vs_ebb()
45 FAIL_IF(pipe(read_pipe.fds) == -1); in task_event_vs_ebb()
46 FAIL_IF(pipe(write_pipe.fds) == -1); in task_event_vs_ebb()
Debb_vs_cpu_event_test.c39 union pipe read_pipe, write_pipe; in ebb_vs_cpu_event()
50 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_vs_cpu_event()
51 FAIL_IF(pipe(write_pipe.fds) == -1); in ebb_vs_cpu_event()
Dcpu_event_vs_ebb_test.c39 union pipe read_pipe, write_pipe; in cpu_event_vs_ebb()
50 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_vs_ebb()
51 FAIL_IF(pipe(write_pipe.fds) == -1); in cpu_event_vs_ebb()
Dtask_event_pinned_vs_ebb_test.c40 union pipe read_pipe, write_pipe; in task_event_pinned_vs_ebb()
47 FAIL_IF(pipe(read_pipe.fds) == -1); in task_event_pinned_vs_ebb()
48 FAIL_IF(pipe(write_pipe.fds) == -1); in task_event_pinned_vs_ebb()
Dcpu_event_pinned_vs_ebb_test.c41 union pipe read_pipe, write_pipe; in cpu_event_pinned_vs_ebb()
52 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_pinned_vs_ebb()
53 FAIL_IF(pipe(write_pipe.fds) == -1); in cpu_event_pinned_vs_ebb()
Debb.h72 int ebb_child(union pipe read_pipe, union pipe write_pipe);
/tools/testing/selftests/powerpc/mm/
Dstack_expansion_signal.c32 static int consume_stack(unsigned int stack_size, union pipe write_pipe) in consume_stack()
50 static int child(unsigned int stack_size, union pipe write_pipe) in child()
74 union pipe read_pipe, write_pipe; in test_one_size()
77 FAIL_IF(pipe(read_pipe.fds) == -1); in test_one_size()
78 FAIL_IF(pipe(write_pipe.fds) == -1); in test_one_size()
Dlarge_vm_fork_separation.c45 FAIL_IF(pipe(p2c) == -1 || pipe(c2p) == -1); in test()
/tools/perf/Documentation/
Dperf-bench.txt31 % perf bench sched pipe # with no style specified
32 (executing 1000000 pipe operations between two tasks)
42 % perf bench --format=simple sched pipe # specified simple
82 --pipe::
83 Use pipe() instead of socketpair()
114 *pipe*::
115 Suite for pipe() system call.
116 Based on pipe-test-1m.c by Ingo Molnar.
118 Options of *pipe*
124 Example of *pipe*
[all …]
/tools/virtio/virtio-trace/
DREADME42 virtio-trace uses virtio-serial pipe as trace data paths as to the number
43 of CPUs and a control path, so FIFO (named pipe) should be created as follows:
53 2) Set up of virtio-serial pipe in a host
54 Add qemu option to use virtio-serial pipe.
59 -chardev pipe,id=charchannel0,path=/tmp/virtio-trace/agent-ctl-path\
63 -chardev pipe,id=charchannel1,path=/tmp/virtio-trace/trace-path-cpu0\
71 <channel type='pipe'>
76 <channel type='pipe'>
/tools/testing/selftests/net/forwarding/
Dtc_actions.sh166 action ct commit nat src addr 192.0.2.2 pipe \
167 action ct clear pipe \
168 action ct commit nat dst addr 192.0.2.1 pipe \
169 action ct clear pipe \
170 action skbedit ptype host pipe \
/tools/testing/selftests/exec/
D.gitignore13 pipe
/tools/lib/subcmd/
Drun-command.c42 if (pipe(fdin) < 0) { in start_command()
54 if (pipe(fdout) < 0) { in start_command()
66 if (pipe(fderr) < 0) { in start_command()
/tools/perf/bench/
Dsched-pipe.c96 BUG_ON(pipe(pipe_1)); in bench_sched_pipe()
97 BUG_ON(pipe(pipe_2)); in bench_sched_pipe()
DBuild2 perf-y += sched-pipe.o
/tools/testing/selftests/bpf/prog_tests/
Dsend_signal.c23 if (!ASSERT_OK(pipe(pipe_c2p), "pipe_c2p")) in test_send_signal_common()
26 if (!ASSERT_OK(pipe(pipe_p2c), "pipe_p2c")) { in test_send_signal_common()
/tools/testing/selftests/proc/
Dsetns-dcache.c65 if (pipe(fd) == -1) { in main()
Dsetns-sysvipc.c64 if (pipe(fd) == -1) { in main()
/tools/testing/selftests/nsfs/
Downer.c34 if (pipe(pfd)) in main()
/tools/testing/selftests/powerpc/signal/
Dsig_sc_double_restart.c87 if (pipe(pipefd) == -1) { in test_restart()
/tools/testing/selftests/clone3/
Dclone3_set_tid.c163 if (pipe(pipe_1) < 0 || pipe(pipe_2) < 0) in main()

123