Home
last modified time | relevance | path

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

/art/runtime/
Dmem_map.h67 int prot,
84 int prot, in MapFile() argument
93 prot, in MapFile()
113 int prot,
131 bool Protect(int prot);
198 int prot,
214 int prot,
Dmem_map.cc258 int prot, in TryMemMapLow4GB() argument
262 void* actual = mmap(ptr, page_aligned_byte_count, prot, flags, fd, offset); in TryMemMapLow4GB()
278 int prot, in MapAnonymous() argument
287 return new MemMap(name, nullptr, 0, nullptr, 0, prot, false); in MapAnonymous()
332 prot, in MapAnonymous()
347 prot, in MapAnonymous()
359 page_aligned_byte_count, prot, reuse); in MapAnonymous()
372 int prot, in MapFileAtAddress() argument
380 CHECK_NE(0, prot); in MapFileAtAddress()
400 return new MemMap(filename, nullptr, 0, nullptr, 0, prot, false); in MapFileAtAddress()
[all …]
Delf_file.cc68 int prot; in Open() local
71 prot = PROT_READ | PROT_WRITE; in Open()
74 prot = PROT_READ; in Open()
77 if (!elf_file->Setup(prot, flags, low_4gb, error_msg)) { in Open()
85 int prot, in Open() argument
90 (file, (prot & PROT_WRITE) == PROT_WRITE, /*program_header_only*/false, in Open()
92 if (!elf_file->Setup(prot, flags, low_4gb, error_msg)) { in Open()
99 bool ElfFileImpl<ElfTypes>::Setup(int prot, int flags, bool low_4gb, std::string* error_msg) { in Setup() argument
119 prot, in Setup()
138 prot, in Setup()
[all …]
Delf_file_impl.h140 bool Setup(int prot, int flags, bool low_4gb, std::string* error_msg);
/art/runtime/jit/
Djit_code_cache.cc46 #define CHECKED_MPROTECT(memory, size, prot) \ argument
48 int rc = mprotect(memory, size, prot); \