Searched refs:uffd_ (Results 1 – 2 of 2) sorted by relevance
368 if (post_fork || uffd_ == kFdUnused) { in CreateUserfaultfd()376 uffd_ = syscall(__NR_userfaultfd, O_CLOEXEC | UFFD_USER_MODE_ONLY); in CreateUserfaultfd()380 if (!kIsTargetAndroid && UNLIKELY(uffd_ == -1 && errno == EINVAL)) { in CreateUserfaultfd()381 uffd_ = syscall(__NR_userfaultfd, O_CLOEXEC); in CreateUserfaultfd()383 if (UNLIKELY(uffd_ == -1)) { in CreateUserfaultfd()384 uffd_ = kFallbackMode; in CreateUserfaultfd()388 DCHECK(IsValidFd(uffd_)); in CreateUserfaultfd()405 CHECK_EQ(ioctl(uffd_, UFFDIO_API, &api), 0) in CreateUserfaultfd()409 uffd_ = kFallbackMode; in CreateUserfaultfd()412 uffd_initialized_ = !post_fork || uffd_ == kFallbackMode; in CreateUserfaultfd()[all …]
840 int uffd_; variable