Lines Matching refs:pipefd
102 static int uffd_flags, finished, *pipefd; variable
489 if (pipefd) { in uffd_test_ctx_clear()
491 if (close(pipefd[i])) in uffd_test_ctx_clear()
494 free(pipefd); in uffd_test_ctx_clear()
495 pipefd = NULL; in uffd_test_ctx_clear()
565 pipefd = malloc(sizeof(int) * nr_cpus * 2); in uffd_test_ctx_init()
566 if (!pipefd) in uffd_test_ctx_init()
569 if (pipe2(&pipefd[cpu * 2], O_CLOEXEC | O_NONBLOCK)) in uffd_test_ctx_init()
821 pollfd[1].fd = pipefd[cpu*2]; in uffd_poll_thread()
971 if (write(pipefd[cpu*2+1], &c, 1) != 1) in stress()
1244 if (write(pipefd[1], &c, sizeof(c)) != sizeof(c)) in userfaultfd_events_test()
1301 if (write(pipefd[1], &c, sizeof(c)) != sizeof(c)) in userfaultfd_sig_test()
1377 if (write(pipefd[1], &c, sizeof(c)) != sizeof(c)) in userfaultfd_minor_test()