Searched refs:parent_pipe (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl17.c | 67 int parent_pipe[2]; variable 108 if (pipe(parent_pipe) < 0) { in setup() 181 close(parent_pipe[0]); in do_child1() 213 close(parent_pipe[0]); in do_child2() 251 close(parent_pipe[0]); in do_child3() 352 if (write(parent_pipe[1], &arg, sizeof(arg)) != sizeof(arg)) { in parent_free() 362 if (read(parent_pipe[0], &arg, sizeof(arg)) != sizeof(arg)) { in parent_wait() 443 &parent_pipe[0], &parent_pipe[1], in main() 448 &parent_pipe[0], &parent_pipe[1], in main() 453 &parent_pipe[0], &parent_pipe[1], in main() [all …]
|
D | fcntl19.c | 58 int parent_pipe[2]; variable 95 SAFE_PIPE(cleanup, parent_pipe); in setup() 132 close(parent_pipe[1]); in do_child() 232 if (write(parent_pipe[1], l, sizeof(*l)) != sizeof(*l)) { in parent_put() 256 if (read(parent_pipe[0], l, sizeof(*l)) != sizeof(*l)) { in child_get() 288 maybe_run_child(&do_child, "ddddd", &parent_pipe[0], &parent_pipe[1], in main() 302 (av[0], "ddddd", parent_pipe[0], parent_pipe[1], in main() 317 (void)close(parent_pipe[0]); in main()
|
D | fcntl20.c | 54 int parent_pipe[2]; variable 97 SAFE_PIPE(NULL, parent_pipe); in setup() 129 close(parent_pipe[1]); in do_child() 231 if (write(parent_pipe[1], l, sizeof(*l)) != sizeof(*l)) { in parent_put() 255 if (read(parent_pipe[0], l, sizeof(*l)) != sizeof(*l)) { in child_get() 287 maybe_run_child(&do_child, "ddddd", &parent_pipe[0], &parent_pipe[1], in main() 301 (av[0], "ddddd", parent_pipe[0], parent_pipe[1], in main() 316 (void)close(parent_pipe[0]); in main()
|
D | fcntl11.c | 54 int parent_pipe[2]; variable 95 SAFE_PIPE(cleanup, parent_pipe); in setup() 118 close(parent_pipe[1]); in do_child() 206 SAFE_WRITE(cleanup, 1, parent_pipe[1], l, sizeof(*l)); in parent_put() 221 SAFE_READ(NULL, 1, parent_pipe[0], l, sizeof(*l)); in child_get() 249 maybe_run_child(&do_child, "ddddd", &parent_pipe[0], in main() 250 &parent_pipe[1], &child_pipe[0], &child_pipe[1], &fd); in main() 262 if (self_exec(av[0], "ddddd", parent_pipe[0], in main() 263 parent_pipe[1], child_pipe[0], in main() 273 SAFE_CLOSE(cleanup, parent_pipe[0]); in main()
|
D | fcntl21.c | 53 int parent_pipe[2]; variable 93 pipe(parent_pipe); in setup() 136 close(parent_pipe[1]); in do_child() 239 if (write(parent_pipe[1], l, sizeof(*l)) != sizeof(*l)) { in parent_put() 263 if (read(parent_pipe[0], l, sizeof(*l)) != sizeof(*l)) { in child_get() 295 maybe_run_child(&do_child, "ddddd", &parent_pipe[0], &parent_pipe[1], in main() 309 (av[0], "ddddd", parent_pipe[0], parent_pipe[1], in main() 323 (void)close(parent_pipe[0]); in main()
|