Home
last modified time | relevance | path

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

/art/libartbase/base/
Dmem_map.h137 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 …]
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_windows.cc50 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()
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.cc263 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/
Djit_scoped_code_cache_write.h45 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/
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.h139 bool Setup(File* file, int prot, int flags, bool low_4gb, std::string* error_msg);
/art/libartpalette/apex/
Dpalette.cc158 palette_status_t PaletteAshmemSetProtRegion(int fd, int prot) { in PaletteAshmemSetProtRegion() argument
161 return m(fd, prot); in PaletteAshmemSetProtRegion()
/art/libartpalette/system/
Dpalette_fake.cc81 palette_status_t PaletteAshmemSetProtRegion([[maybe_unused]] int fd, [[maybe_unused]] int prot) { in PaletteAshmemSetProtRegion() argument