Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 10 of 10) sorted by relevance

/art/libartbase/base/
Dmem_map.h134 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 …]
Dmem_map_fuchsia.cc61 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()
Dmem_map_unix.cc27 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()
Dmem_map_windows.cc45 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()
Dmem_map.cc260 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/
Djit_scoped_code_cache_write.h44 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/
Dpalette.cc160 enum PaletteStatus PaletteAshmemSetProtRegion(int fd, int prot) { in PaletteAshmemSetProtRegion() argument
163 return m(fd, prot); in PaletteAshmemSetProtRegion()
/art/runtime/
Delf_file.cc67 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 …]
Delf_file_impl.h146 bool Setup(File* file, int prot, int flags, bool low_4gb, std::string* error_msg);
/art/libartpalette/system/
Dpalette_fake.cc87 int prot ATTRIBUTE_UNUSED) { in PaletteAshmemSetProtRegion()