Searched refs:child_ready_pipe (Results 1 – 2 of 2) sorted by relevance
285 int child_ready_pipe[2]; in test_listmount_ns() local290 if (pipe(child_ready_pipe) < 0) in test_listmount_ns()305 close(child_ready_pipe[0]); in test_listmount_ns()322 if (write(child_ready_pipe[1], &nr_mounts, sizeof(nr_mounts)) != in test_listmount_ns()330 close(child_ready_pipe[1]); in test_listmount_ns()334 if (read(child_ready_pipe[0], &nr_mounts, sizeof(nr_mounts)) != in test_listmount_ns()
1484 int child_ready_pipe[2], go_pipe[2]; in evlist__prepare_workload() local1487 if (pipe(child_ready_pipe) < 0) { in evlist__prepare_workload()1511 close(child_ready_pipe[0]); in evlist__prepare_workload()1525 close(child_ready_pipe[1]); in evlist__prepare_workload()1577 close(child_ready_pipe[1]); in evlist__prepare_workload()1582 if (read(child_ready_pipe[0], &bf, 1) == -1) { in evlist__prepare_workload()1589 close(child_ready_pipe[0]); in evlist__prepare_workload()1596 close(child_ready_pipe[0]); in evlist__prepare_workload()1597 close(child_ready_pipe[1]); in evlist__prepare_workload()