/art/libartbase/base/ |
D | mem_map.h | 134 int prot, 142 int prot, in MapAnonymous() argument 148 prot, in MapAnonymous() 156 int prot, in MapAnonymous() argument 163 prot, in MapAnonymous() 181 int prot, in MapFile() argument 190 prot, in MapFile() 215 int prot, 231 bool Protect(int prot); 330 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_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_windows.cc | 45 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap() argument 52 if ((prot != PROT_READ) && (prot != (PROT_READ | PROT_WRITE))) { in TargetMMap() 68 if ((prot & PROT_WRITE) != 0) { in TargetMMap()
|
D | mem_map.cc | 260 int prot, in TryMemMapLow4GB() argument 264 void* actual = TargetMMap(ptr, page_aligned_byte_count, prot, flags, fd, offset); in TryMemMapLow4GB() 307 int prot, in MapAnonymous() argument 346 prot, in MapAnonymous() 363 prot, in MapAnonymous() 388 prot, in MapAnonymous() 483 int prot, in MapFileAtAddress() argument 492 CHECK_NE(0, prot); in MapFileAtAddress() 540 prot, in MapFileAtAddress() 555 page_aligned_expected, page_aligned_byte_count, prot, flags, fd, in MapFileAtAddress() [all …]
|
/art/runtime/jit/ |
D | jit_scoped_code_cache_write.h | 44 int prot = region.HasDualCodeMapping() ? kProtRW : kProtRWX; in ScopedCodeCacheWrite() local 45 CheckedCall(mprotect, "Cache +W", updatable_pages->Begin(), updatable_pages->Size(), prot); in ScopedCodeCacheWrite() 53 int prot = region_.HasDualCodeMapping() ? kProtR : kProtRX; in ~ScopedCodeCacheWrite() local 54 CheckedCall(mprotect, "Cache -W", updatable_pages->Begin(), updatable_pages->Size(), prot); in ~ScopedCodeCacheWrite()
|
/art/libartpalette/apex/ |
D | palette.cc | 160 enum PaletteStatus PaletteAshmemSetProtRegion(int fd, int prot) { in PaletteAshmemSetProtRegion() argument 163 return m(fd, prot); in PaletteAshmemSetProtRegion()
|
/art/runtime/ |
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 | 146 bool Setup(File* file, int prot, int flags, bool low_4gb, std::string* error_msg);
|
/art/libartpalette/system/ |
D | palette_fake.cc | 87 int prot ATTRIBUTE_UNUSED) { in PaletteAshmemSetProtRegion()
|