Searched refs:uffd (Results 1 – 1 of 1) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | userfaultfd.c | 80 static int uffd, finished, *pipefd; variable 232 if (ioctl(uffd, UFFDIO_COPY, &uffdio_copy)) { in copy_page() 255 pollfd[0].fd = uffd; in uffd_poll_thread() 275 ret = read(uffd, &msg, sizeof(msg)); in uffd_poll_thread() 311 ret = read(uffd, &msg, sizeof(msg)); in uffd_read_thread() 439 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); in userfaultfd_stress() 440 if (uffd < 0) { in userfaultfd_stress() 445 uffd_flags = fcntl(uffd, F_GETFD, NULL); in userfaultfd_stress() 449 if (ioctl(uffd, UFFDIO_API, &uffdio_api)) { in userfaultfd_stress() 519 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_stress() [all …]
|