Searched refs:host_flags (Results 1 – 3 of 3) sorted by relevance
93 int host_flags = guest_flags & ~kIncompatibleGuestOpenFlags; in ToHostOpenFlags() local96 host_flags |= O_LARGEFILE; in ToHostOpenFlags()99 return host_flags; in ToHostOpenFlags()102 int ToGuestOpenFlags(int host_flags) { in ToGuestOpenFlags() argument105 int unknown_host_flags = host_flags & ~(kCompatibleOpenFlags | kIncompatibleHostOpenFlags); in ToGuestOpenFlags()108 host_flags, in ToGuestOpenFlags()112 int guest_flags = host_flags & ~kIncompatibleHostOpenFlags; in ToGuestOpenFlags()114 if (host_flags & O_LARGEFILE) { in ToGuestOpenFlags()
233 int host_flags = ToHostOpenFlags(guest_flags); in OpenatForGuest() local235 if (IsProcSelfMaps(path, host_flags)) { in OpenatForGuest()236 return OpenatProcSelfMapsForGuest(dirfd, host_flags, mode); in OpenatForGuest()240 if ((host_flags & AT_SYMLINK_NOFOLLOW) == 0) { in OpenatForGuest()245 real_path = TryTranslateProcCpuinfoPath(path, host_flags); in OpenatForGuest()248 return openat(dirfd, real_path != nullptr ? real_path : path, host_flags, mode); in OpenatForGuest()
31 int ToGuestOpenFlags(int host_flags);