Home
last modified time | relevance | path

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

12345

/tools/testing/selftests/powerpc/pmu/
A Dlib.h15 union pipe { union
25 extern int sync_with_child(union pipe read_pipe, union pipe write_pipe);
26 extern int wait_for_parent(union pipe read_pipe);
27 extern int notify_parent(union pipe write_pipe);
28 extern int notify_parent_of_error(union pipe write_pipe);
A Dlib.c20 int sync_with_child(union pipe read_pipe, union pipe write_pipe) in sync_with_child()
32 int wait_for_parent(union pipe read_pipe) in wait_for_parent()
42 int notify_parent(union pipe write_pipe) in notify_parent()
51 int notify_parent_of_error(union pipe write_pipe) in notify_parent_of_error()
84 static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe) in eat_cpu_child()
105 union pipe read_pipe, write_pipe; in eat_cpu()
111 if (pipe(read_pipe.fds) == -1) in eat_cpu()
114 if (pipe(write_pipe.fds) == -1) in eat_cpu()
/tools/testing/selftests/powerpc/pmu/ebb/
A 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()
A 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()
A 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()
A Dcpu_event_vs_ebb_test.c39 union pipe read_pipe, write_pipe; in cpu_event_vs_ebb()
49 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_vs_ebb()
50 FAIL_IF(pipe(write_pipe.fds) == -1); in cpu_event_vs_ebb()
A Debb_vs_cpu_event_test.c39 union pipe read_pipe, write_pipe; in ebb_vs_cpu_event()
49 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_vs_cpu_event()
50 FAIL_IF(pipe(write_pipe.fds) == -1); in ebb_vs_cpu_event()
A 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()
A Dcpu_event_pinned_vs_ebb_test.c41 union pipe read_pipe, write_pipe; in cpu_event_pinned_vs_ebb()
51 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_pinned_vs_ebb()
52 FAIL_IF(pipe(write_pipe.fds) == -1); in cpu_event_pinned_vs_ebb()
A Debb.h72 int ebb_child(union pipe read_pipe, union pipe write_pipe);
/tools/perf/Documentation/
A Dperf-bench.txt32 (executing 1000000 pipe operations between two tasks)
85 --pipe::
86 Use pipe() instead of socketpair()
117 *pipe*::
118 Suite for pipe() system call.
119 Based on pipe-test-1m.c by Ingo Molnar.
121 Options of *pipe*
135 Example of *pipe*
139 % perf bench sched pipe
153 % perf bench sched pipe -G AAA,BBB
[all …]
/tools/testing/selftests/powerpc/mm/
A 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()
A Dlarge_vm_fork_separation.c45 FAIL_IF(pipe(p2c) == -1 || pipe(c2p) == -1); in test()
/tools/testing/selftests/landlock/
A D.gitignore4 /wait-pipe
5 /wait-pipe-sandbox
A DMakefile16 wait-pipe \
17 wait-pipe-sandbox
/tools/virtio/virtio-trace/
A 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/
A Dtc_actions.sh168 ct commit nat src addr 192.0.2.2 pipe \
169 ct clear pipe \
170 ct commit nat dst addr 192.0.2.1 pipe \
213 action ct commit nat src addr 192.0.2.2 pipe \
214 action ct clear pipe \
215 action ct commit nat dst addr 192.0.2.1 pipe \
216 action ct clear pipe \
217 action skbedit ptype host pipe \
274 pipe action vlan push id 100 protocol 0x8100 action goto chain 5
/tools/testing/selftests/kvm/lib/
A Duserfaultfd_util.c46 TEST_ASSERT(!epoll_ctl(epollfd, EPOLL_CTL_ADD, reader_args->pipe, &evt), in uffd_handler_thread_fn()
64 r = read(reader_args->pipe, &tmp_chr, 1); in uffd_handler_thread_fn()
168 uffd_desc->reader_args[i].pipe = pipes[0]; in uffd_setup_demand_paging()
197 close(uffd->reader_args[i].pipe); in uffd_stop_demand_paging()
/tools/testing/selftests/exec/
A D.gitignore20 pipe
/tools/testing/selftests/net/packetdrill/
A Dtcp_splice_tcp_splice_loop_test.pkt17 +0 pipe([5, 6]) = 0
/tools/testing/selftests/kvm/include/
A Duserfaultfd_util.h23 int pipe; member
/tools/lib/subcmd/
A Drun-command.c44 if (pipe(fdin) < 0) { in start_command()
56 if (pipe(fdout) < 0) { in start_command()
68 if (pipe(fderr) < 0) { in start_command()
/tools/testing/selftests/proc/
A Dsetns-dcache.c65 if (pipe(fd) == -1) { in main()
A Dsetns-sysvipc.c64 if (pipe(fd) == -1) { in main()
/tools/testing/selftests/bpf/prog_tests/
A Dsend_signal.c33 if (!ASSERT_OK(pipe(pipe_c2p), "pipe_c2p")) in test_send_signal_common()
36 if (!ASSERT_OK(pipe(pipe_p2c), "pipe_p2c")) { in test_send_signal_common()

Completed in 24 milliseconds

12345