Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/filesystems/statmount/
Dstatmount_test_ns.c285 int child_ready_pipe[2]; in test_listmount_ns() local
290 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()
/linux-6.12.1/tools/perf/util/
Devlist.c1484 int child_ready_pipe[2], go_pipe[2]; in evlist__prepare_workload() local
1487 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()