Home
last modified time | relevance | path

Searched refs:host_flags (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/binary_translation/kernel_api/riscv64/
Dopen_emulation.cc93 int host_flags = guest_flags & ~kIncompatibleGuestOpenFlags; in ToHostOpenFlags() local
96 host_flags |= O_LARGEFILE; in ToHostOpenFlags()
99 return host_flags; in ToHostOpenFlags()
102 int ToGuestOpenFlags(int host_flags) { in ToGuestOpenFlags() argument
105 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()
/frameworks/libs/binary_translation/kernel_api/
Dopen_emulation.cc233 int host_flags = ToHostOpenFlags(guest_flags); in OpenatForGuest() local
235 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()
/frameworks/libs/binary_translation/kernel_api/include/berberis/kernel_api/
Dopen_emulation.h31 int ToGuestOpenFlags(int host_flags);