HomeSort by relevance Sort by last modified time
    Searched defs:write_pipe (Results 1 - 11 of 11) sorted by null

  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
ebb_on_willing_child_test.c 23 static int victim_child(union pipe read_pipe, union pipe write_pipe)
32 FAIL_IF(notify_parent(write_pipe));
53 union pipe read_pipe, write_pipe; local
60 FAIL_IF(pipe(write_pipe.fds) == -1);
65 exit(victim_child(write_pipe, read_pipe));
69 FAIL_IF(sync_with_child(read_pipe, write_pipe));
cpu_event_pinned_vs_ebb_test.c 41 union pipe read_pipe, write_pipe; local
53 FAIL_IF(pipe(write_pipe.fds) == -1);
58 exit(ebb_child(write_pipe, read_pipe));
69 if (sync_with_child(read_pipe, write_pipe))
74 FAIL_IF(sync_with_child(read_pipe, write_pipe));
cpu_event_vs_ebb_test.c 39 union pipe read_pipe, write_pipe; local
51 FAIL_IF(pipe(write_pipe.fds) == -1);
56 exit(ebb_child(write_pipe, read_pipe));
67 if (sync_with_child(read_pipe, write_pipe))
72 FAIL_IF(sync_with_child(read_pipe, write_pipe));
ebb_on_child_test.c 23 static int victim_child(union pipe read_pipe, union pipe write_pipe)
28 FAIL_IF(notify_parent(write_pipe));
33 FAIL_IF(notify_parent(write_pipe));
46 union pipe read_pipe, write_pipe; local
53 FAIL_IF(pipe(write_pipe.fds) == -1);
58 exit(victim_child(write_pipe, read_pipe));
61 FAIL_IF(sync_with_child(read_pipe, write_pipe));
75 FAIL_IF(sync_with_child(read_pipe, write_pipe));
ebb_vs_cpu_event_test.c 39 union pipe read_pipe, write_pipe; local
51 FAIL_IF(pipe(write_pipe.fds) == -1);
56 exit(ebb_child(write_pipe, read_pipe));
60 FAIL_IF(sync_with_child(read_pipe, write_pipe));
70 FAIL_IF(sync_with_child(read_pipe, write_pipe));
task_event_pinned_vs_ebb_test.c 40 union pipe read_pipe, write_pipe; local
48 FAIL_IF(pipe(write_pipe.fds) == -1);
53 exit(ebb_child(write_pipe, read_pipe));
64 if (sync_with_child(read_pipe, write_pipe))
69 FAIL_IF(sync_with_child(read_pipe, write_pipe));
task_event_vs_ebb_test.c 38 union pipe read_pipe, write_pipe; local
46 FAIL_IF(pipe(write_pipe.fds) == -1);
51 exit(ebb_child(write_pipe, read_pipe));
62 if (sync_with_child(read_pipe, write_pipe))
67 FAIL_IF(sync_with_child(read_pipe, write_pipe));
  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
lib.c 33 int sync_with_child(union pipe read_pipe, union pipe write_pipe)
37 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1);
55 int notify_parent(union pipe write_pipe)
59 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1);
64 int notify_parent_of_error(union pipe write_pipe)
68 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1);
97 static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe)
107 notify_parent(write_pipe);
118 union pipe read_pipe, write_pipe; local
129 if (pipe(write_pipe.fds) == -1
    [all...]
  /external/ltp/testcases/kernel/syscalls/sigrelse/
sigrelse01.c 132 static int write_pipe(int fd, char *msg);
286 if (write_pipe(pipe_fd2[1], READY) < 0) {
360 /* the write() call failed in child's write_pipe */
427 if (write_pipe(pipe_fd[1], note) < 0) {
429 * write_pipe() failed. Set exit value to WRITE_BROK to let
511 if (write_pipe(pipe_fd[1], note) < 0) {
513 * write_pipe() failed. Set exit value to WRITE_BROK to let
632 * write_pipe(msg) : write msg to pipe. If it fails, put message in
635 static int write_pipe(int fd, char *msg) function
639 printf("write_pipe: pid=%d, sending %s.\n", getpid(), msg)
    [all...]
  /external/python/cpython2/PC/
_subprocess.c 268 HANDLE write_pipe; local
278 result = CreatePipe(&read_pipe, &write_pipe, NULL, size);
285 "NN", sp_handle_new(read_pipe), sp_handle_new(write_pipe));
  /external/wpa_supplicant_8/src/drivers/
ndis_events.c 31 HANDLE read_pipe, write_pipe, event_avail; member in struct:ndis_events_data
123 if (!CreatePipe(&events->read_pipe, &events->write_pipe, NULL, 512)) {
133 CloseHandle(events->write_pipe);
144 CloseHandle(events->write_pipe);
217 if (WriteFile(events->write_pipe, buf, pos - buf, &written, NULL)) {

Completed in 456 milliseconds