Lines Matching refs:uffd
86 long uffd; /* userfaultfd file descriptor */
91 uffd = (long) arg;
94 pollfd.fd = uffd;
101 nread = read(uffd, &msg, sizeof(msg));
130 if (ioctl(uffd, UFFDIO_COPY, &uffdio_copy) == -1) {
139 long uffd; /* userfaultfd file descriptor */
148 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK);
149 if (uffd == -1) {
155 if (ioctl(uffd, UFFDIO_API, &uffdio_api) == -1) {
180 if (ioctl(uffd, UFFDIO_REGISTER, &uffdio_register) == -1) {
186 ret = pthread_create(&thr, NULL, fault_handler_thread, (void *) uffd);