Lines Matching refs:pipefd
94 static int uffd_flags, finished, *pipefd; variable
410 if (pipefd) { in uffd_test_ctx_clear()
412 if (close(pipefd[i])) in uffd_test_ctx_clear()
415 free(pipefd); in uffd_test_ctx_clear()
416 pipefd = NULL; in uffd_test_ctx_clear()
486 pipefd = malloc(sizeof(int) * nr_cpus * 2); in uffd_test_ctx_init()
487 if (!pipefd) in uffd_test_ctx_init()
490 if (pipe2(&pipefd[cpu * 2], O_CLOEXEC | O_NONBLOCK)) in uffd_test_ctx_init()
722 pollfd[1].fd = pipefd[cpu*2]; in uffd_poll_thread()
868 if (write(pipefd[cpu*2+1], &c, 1) != 1) in stress()
1147 if (write(pipefd[1], &c, sizeof(c)) != sizeof(c)) in userfaultfd_events_test()
1204 if (write(pipefd[1], &c, sizeof(c)) != sizeof(c)) in userfaultfd_sig_test()
1273 if (write(pipefd[1], &c, sizeof(c)) != sizeof(c)) in userfaultfd_minor_test()