Lines Matching refs:pipefd
92 static int uffd_flags, finished, *pipefd; variable
381 if (pipefd) { in uffd_test_ctx_clear()
383 if (close(pipefd[i])) in uffd_test_ctx_clear()
386 free(pipefd); in uffd_test_ctx_clear()
387 pipefd = NULL; in uffd_test_ctx_clear()
457 pipefd = malloc(sizeof(int) * nr_cpus * 2); in uffd_test_ctx_init_ext()
458 if (!pipefd) in uffd_test_ctx_init_ext()
461 if (pipe2(&pipefd[cpu * 2], O_CLOEXEC | O_NONBLOCK)) in uffd_test_ctx_init_ext()
704 pollfd[1].fd = pipefd[cpu*2]; in uffd_poll_thread()
850 if (write(pipefd[cpu*2+1], &c, 1) != 1) in stress()
1135 if (write(pipefd[1], &c, sizeof(c)) != sizeof(c)) in userfaultfd_events_test()
1194 if (write(pipefd[1], &c, sizeof(c)) != sizeof(c)) in userfaultfd_sig_test()
1281 if (write(pipefd[1], &c, sizeof(c)) != sizeof(c)) in userfaultfd_minor_test()