/linux-6.6.21/tools/testing/selftests/powerpc/pmu/ebb/ |
D | ebb_on_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) in victim_child() argument 27 FAIL_IF(wait_for_parent(read_pipe)); in victim_child() 32 FAIL_IF(wait_for_parent(read_pipe)); in victim_child() 46 union pipe read_pipe, write_pipe; in ebb_on_child() local 52 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_on_child() 58 exit(victim_child(write_pipe, read_pipe)); in ebb_on_child() 61 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in ebb_on_child() 75 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in ebb_on_child()
|
D | ebb_on_willing_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) in victim_child() argument 25 FAIL_IF(wait_for_parent(read_pipe)); in victim_child() 51 union pipe read_pipe, write_pipe; in ebb_on_willing_child() local 57 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_on_willing_child() 63 exit(victim_child(write_pipe, read_pipe)); in ebb_on_willing_child() 67 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in ebb_on_willing_child()
|
D | task_event_vs_ebb_test.c | 38 union pipe read_pipe, write_pipe; in task_event_vs_ebb() local 45 FAIL_IF(pipe(read_pipe.fds) == -1); in task_event_vs_ebb() 51 exit(ebb_child(write_pipe, read_pipe)); in task_event_vs_ebb() 62 if (sync_with_child(read_pipe, write_pipe)) in task_event_vs_ebb() 67 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in task_event_vs_ebb()
|
D | cpu_event_vs_ebb_test.c | 39 union pipe read_pipe, write_pipe; in cpu_event_vs_ebb() local 49 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_vs_ebb() 55 exit(ebb_child(write_pipe, read_pipe)); in cpu_event_vs_ebb() 66 if (sync_with_child(read_pipe, write_pipe)) in cpu_event_vs_ebb() 71 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in cpu_event_vs_ebb()
|
D | task_event_pinned_vs_ebb_test.c | 40 union pipe read_pipe, write_pipe; in task_event_pinned_vs_ebb() local 47 FAIL_IF(pipe(read_pipe.fds) == -1); in task_event_pinned_vs_ebb() 53 exit(ebb_child(write_pipe, read_pipe)); in task_event_pinned_vs_ebb() 64 if (sync_with_child(read_pipe, write_pipe)) in task_event_pinned_vs_ebb() 69 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in task_event_pinned_vs_ebb()
|
D | ebb_vs_cpu_event_test.c | 39 union pipe read_pipe, write_pipe; in ebb_vs_cpu_event() local 49 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_vs_cpu_event() 55 exit(ebb_child(write_pipe, read_pipe)); in ebb_vs_cpu_event() 59 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in ebb_vs_cpu_event() 69 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in ebb_vs_cpu_event()
|
D | cpu_event_pinned_vs_ebb_test.c | 41 union pipe read_pipe, write_pipe; in cpu_event_pinned_vs_ebb() local 51 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_pinned_vs_ebb() 57 exit(ebb_child(write_pipe, read_pipe)); in cpu_event_pinned_vs_ebb() 68 if (sync_with_child(read_pipe, write_pipe)) in cpu_event_pinned_vs_ebb() 73 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in cpu_event_pinned_vs_ebb()
|
D | ebb.c | 349 int ebb_child(union pipe read_pipe, union pipe write_pipe) in ebb_child() argument 354 FAIL_IF(wait_for_parent(read_pipe)); in ebb_child() 384 FAIL_IF(wait_for_parent(read_pipe)); in ebb_child()
|
D | ebb.h | 72 int ebb_child(union pipe read_pipe, union pipe write_pipe);
|
/linux-6.6.21/tools/testing/selftests/powerpc/pmu/ |
D | lib.c | 20 int sync_with_child(union pipe read_pipe, union pipe write_pipe) in sync_with_child() argument 25 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); in sync_with_child() 32 int wait_for_parent(union pipe read_pipe) in wait_for_parent() argument 36 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); in wait_for_parent() 84 static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe) in eat_cpu_child() argument 95 wait_for_parent(read_pipe); in eat_cpu_child() 105 union pipe read_pipe, write_pipe; in eat_cpu() local 111 if (pipe(read_pipe.fds) == -1) in eat_cpu() 119 exit(eat_cpu_child(write_pipe, read_pipe)); in eat_cpu() 121 if (sync_with_child(read_pipe, write_pipe)) { in eat_cpu()
|
D | lib.h | 25 extern int sync_with_child(union pipe read_pipe, union pipe write_pipe); 26 extern int wait_for_parent(union pipe read_pipe);
|
/linux-6.6.21/tools/testing/selftests/powerpc/mm/ |
D | stack_expansion_signal.c | 74 union pipe read_pipe, write_pipe; in test_one_size() local 77 FAIL_IF(pipe(read_pipe.fds) == -1); in test_one_size() 82 close(read_pipe.read_fd); in test_one_size() 84 exit(child(stack_size, read_pipe)); in test_one_size() 87 close(read_pipe.write_fd); in test_one_size() 89 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in test_one_size() 95 close(read_pipe.read_fd); in test_one_size()
|
/linux-6.6.21/tools/virtio/virtio-trace/ |
D | trace-agent-rw.c | 33 rw_ti->read_pipe = -1; in rw_thread_info_new() 81 rw_ti->read_pipe = data_pipe[1]; in rw_thread_init() 127 rlen = splice(ts->in_fd, NULL, ts->read_pipe, NULL, in rw_thread_main()
|
D | trace-agent.h | 39 int read_pipe; member
|
D | trace-agent.c | 253 close(s->rw_ti[i]->read_pipe); in agent_info_free()
|
D | README | 6 - splice a page of ring-buffer to read_pipe without memory copying
|
/linux-6.6.21/drivers/net/wireless/intersil/orinoco/ |
D | orinoco_usb.c | 248 int read_pipe; member 767 usb_fill_bulk_urb(upriv->read_urb, upriv->udev, upriv->read_pipe, in ezusb_submit_in_urb() 1664 upriv->read_pipe = usb_rcvbulkpipe(udev, in ezusb_probe()
|