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()
1423 int child_ready_pipe[2], go_pipe[2]; in evlist__prepare_workload() local1428 if (pipe(child_ready_pipe) < 0) { in evlist__prepare_workload()1452 close(child_ready_pipe[0]); in evlist__prepare_workload()1466 close(child_ready_pipe[1]); in evlist__prepare_workload()1518 close(child_ready_pipe[1]); in evlist__prepare_workload()1523 if (read(child_ready_pipe[0], &bf, 1) == -1) { in evlist__prepare_workload()1530 close(child_ready_pipe[0]); in evlist__prepare_workload()1537 close(child_ready_pipe[0]); in evlist__prepare_workload()1538 close(child_ready_pipe[1]); in evlist__prepare_workload()