Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/filesystems/statmount/
H A 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.15/tools/perf/util/
H A Devlist.c1423 int child_ready_pipe[2], go_pipe[2]; in evlist__prepare_workload() local
1428 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()