/art/libartbase/base/ |
D | mem_map.h | 137 int prot, 151 int prot, 158 int prot, in MapAnonymous() argument 164 prot, in MapAnonymous() 172 int prot, in MapAnonymous() argument 179 prot, in MapAnonymous() 197 int prot, in MapFile() argument 206 prot, in MapFile() 231 int prot, 247 bool Protect(int prot); [all …]
|
D | mem_map_fuchsia.cc | 61 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap() argument 73 return mmap(start, len, prot, flags, fd, fd_off); in TargetMMap() 77 if ((prot & PROT_READ) != 0) { in TargetMMap() 80 if ((prot & PROT_WRITE) != 0) { in TargetMMap() 83 if ((prot & PROT_EXEC) != 0) { in TargetMMap()
|
D | mem_map_windows.cc | 50 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap() argument 57 if ((prot != PROT_READ) && (prot != (PROT_READ | PROT_WRITE))) { in TargetMMap() 73 if ((prot & PROT_WRITE) != 0) { in TargetMMap()
|
D | mem_map_unix.cc | 27 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap() argument 28 return mmap(start, len, prot, flags, fd, fd_off); in TargetMMap()
|
D | mem_map.cc | 263 int prot, in TryMemMapLow4GB() argument 267 void* actual = TargetMMap(ptr, page_aligned_byte_count, prot, flags, fd, offset); in TryMemMapLow4GB() 310 int prot, in MapAnonymous() argument 349 prot, in MapAnonymous() 363 prot, in MapAnonymous() 388 prot, in MapAnonymous() 394 int prot, in MapAnonymousAligned() argument 408 prot, in MapAnonymousAligned() 513 int prot, in MapFileAtAddress() argument 522 CHECK_NE(0, prot); in MapFileAtAddress() [all …]
|
/art/runtime/jit/ |
D | jit_scoped_code_cache_write.h | 45 int prot = region.HasDualCodeMapping() ? kProtRW : kProtRWX; in ScopedCodeCacheWrite() local 46 CheckedCall(mprotect, "Cache +W", updatable_pages->Begin(), updatable_pages->Size(), prot); in ScopedCodeCacheWrite() 56 int prot = region_.HasDualCodeMapping() ? kProtR : kProtRX; in ~ScopedCodeCacheWrite() local 57 CheckedCall(mprotect, "Cache -W", updatable_pages->Begin(), updatable_pages->Size(), prot); in ~ScopedCodeCacheWrite()
|
/art/runtime/oat/ |
D | elf_file.cc | 67 int prot; in Open() local 70 prot = PROT_READ | PROT_WRITE; in Open() 73 prot = PROT_READ; in Open() 76 if (!elf_file->Setup(file, prot, flags, low_4gb, error_msg)) { in Open() 84 int prot, in Open() argument 89 new ElfFileImpl<ElfTypes>(file, (prot & PROT_WRITE) != 0, /* program_header_only= */ false)); in Open() 90 if (!elf_file->Setup(file, prot, flags, low_4gb, error_msg)) { in Open() 98 int prot, in Setup() argument 122 prot, in Setup() 142 prot, in Setup() [all …]
|
D | elf_file_impl.h | 139 bool Setup(File* file, int prot, int flags, bool low_4gb, std::string* error_msg);
|
/art/libartpalette/apex/ |
D | palette.cc | 158 palette_status_t PaletteAshmemSetProtRegion(int fd, int prot) { in PaletteAshmemSetProtRegion() argument 161 return m(fd, prot); in PaletteAshmemSetProtRegion()
|
/art/libartpalette/system/ |
D | palette_fake.cc | 81 palette_status_t PaletteAshmemSetProtRegion([[maybe_unused]] int fd, [[maybe_unused]] int prot) { in PaletteAshmemSetProtRegion() argument
|