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.c304 int child_ready_pipe[2];
309 if (pipe(child_ready_pipe) < 0)
324 close(child_ready_pipe[0]);
341 if (write(child_ready_pipe[1], &nr_mounts, sizeof(nr_mounts)) !=
349 close(child_ready_pipe[1]);
353 if (read(child_ready_pipe[0], &nr_mounts, sizeof(nr_mounts)) !=
209 int child_ready_pipe[2]; test_listmount_ns() local
/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()