Home
last modified time | relevance | path

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

/art/libartbase/base/
Dmem_map.h135 int prot,
143 int prot, in MapAnonymous() argument
149 prot, in MapAnonymous()
157 int prot, in MapAnonymous() argument
164 prot, in MapAnonymous()
182 int prot, in MapFile() argument
191 prot, in MapFile()
216 int prot,
232 bool Protect(int prot);
326 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/
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.h142 bool Setup(File* file, int prot, int flags, bool low_4gb, std::string* error_msg);
/art/runtime/jit/
Djit_code_cache.cc579 int prot = code_cache_->HasDualCodeMapping() ? kProtRW : kProtRWX; in ScopedCodeCacheWrite() local
580 CheckedCall(mprotect, "Cache +W", updatable_pages->Begin(), updatable_pages->Size(), prot); in ScopedCodeCacheWrite()
588 int prot = code_cache_->HasDualCodeMapping() ? kProtR : kProtRX; in ~ScopedCodeCacheWrite() local
589 CheckedCall(mprotect, "Cache -W", updatable_pages->Begin(), updatable_pages->Size(), prot); in ~ScopedCodeCacheWrite()