Home
last modified time | relevance | path

Searched refs:child_ready_pipe (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/filesystems/statmount/
A Dstatmount_test_ns.c209 int child_ready_pipe[2]; in test_listmount_ns() local
214 if (pipe(child_ready_pipe) < 0) in test_listmount_ns()
229 close(child_ready_pipe[0]); in test_listmount_ns()
246 if (write(child_ready_pipe[1], &nr_mounts, sizeof(nr_mounts)) != in test_listmount_ns()
254 close(child_ready_pipe[1]); in test_listmount_ns()
258 if (read(child_ready_pipe[0], &nr_mounts, sizeof(nr_mounts)) != in test_listmount_ns()
/tools/perf/util/
A Devlist.c1425 int child_ready_pipe[2], go_pipe[2]; in evlist__prepare_workload() local
1430 if (pipe(child_ready_pipe) < 0) { in evlist__prepare_workload()
1454 close(child_ready_pipe[0]); in evlist__prepare_workload()
1468 close(child_ready_pipe[1]); in evlist__prepare_workload()
1520 close(child_ready_pipe[1]); in evlist__prepare_workload()
1525 if (read(child_ready_pipe[0], &bf, 1) == -1) { in evlist__prepare_workload()
1532 close(child_ready_pipe[0]); in evlist__prepare_workload()
1539 close(child_ready_pipe[0]); in evlist__prepare_workload()
1540 close(child_ready_pipe[1]); in evlist__prepare_workload()

Completed in 85 milliseconds