Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/filesystems/statmount/
H 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()
/linux/tools/perf/util/
H A Devlist.c1434 int child_ready_pipe[2], go_pipe[2]; in evlist__prepare_workload() local
1439 if (pipe(child_ready_pipe) < 0) { in evlist__prepare_workload()
1463 close(child_ready_pipe[0]); in evlist__prepare_workload()
1477 close(child_ready_pipe[1]); in evlist__prepare_workload()
1529 close(child_ready_pipe[1]); in evlist__prepare_workload()
1534 if (read(child_ready_pipe[0], &bf, 1) == -1) { in evlist__prepare_workload()
1541 close(child_ready_pipe[0]); in evlist__prepare_workload()
1548 close(child_ready_pipe[0]); in evlist__prepare_workload()
1549 close(child_ready_pipe[1]); in evlist__prepare_workload()