Searched refs:uffd (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/tools/testing/selftests/vm/ |
H A D | userfaultfd.c | 80 static int uffd, finished, *pipefd; variable 232 if (ioctl(uffd, UFFDIO_COPY, &uffdio_copy)) { copy_page() 255 pollfd[0].fd = uffd; uffd_poll_thread() 275 ret = read(uffd, &msg, sizeof(msg)); uffd_poll_thread() 311 ret = read(uffd, &msg, sizeof(msg)); uffd_read_thread() 439 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); userfaultfd_stress() 440 if (uffd < 0) { userfaultfd_stress() 445 uffd_flags = fcntl(uffd, F_GETFD, NULL); userfaultfd_stress() 449 if (ioctl(uffd, UFFDIO_API, &uffdio_api)) { userfaultfd_stress() 519 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); userfaultfd_stress() 521 fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK); userfaultfd_stress() 527 if (ioctl(uffd, UFFDIO_REGISTER, &uffdio_register)) { userfaultfd_stress() 575 if (ioctl(uffd, UFFDIO_UNREGISTER, &uffdio_register.range)) { userfaultfd_stress()
|
Completed in 45 milliseconds