Lines Matching refs:prot
276 int prot, in TryMemMapLow4GB() argument
280 void* actual = mmap(ptr, page_aligned_byte_count, prot, flags, fd, offset); in TryMemMapLow4GB()
296 int prot, in MapAnonymous() argument
306 return new MemMap(name, nullptr, 0, nullptr, 0, prot, false); in MapAnonymous()
360 prot, in MapAnonymous()
377 prot, in MapAnonymous()
388 page_aligned_byte_count, prot, reuse); in MapAnonymous()
486 int prot, in MapFileAtAddress() argument
494 CHECK_NE(0, prot); in MapFileAtAddress()
514 return new MemMap(filename, nullptr, 0, nullptr, 0, prot, false); in MapFileAtAddress()
534 prot, in MapFileAtAddress()
549 page_aligned_expected, page_aligned_byte_count, prot, flags, fd, in MapFileAtAddress()
569 prot, reuse, redzone_size); in MapFileAtAddress()
611 size_t base_size, int prot, bool reuse, size_t redzone_size) in MemMap() argument
613 prot_(prot), reuse_(reuse), already_unmapped_(false), redzone_size_(redzone_size) { in MemMap()
729 bool MemMap::Protect(int prot) { in Protect() argument
731 prot_ = prot; in Protect()
735 if (mprotect(base_begin_, base_size_, prot) == 0) { in Protect()
736 prot_ = prot; in Protect()
741 << prot << ") failed"; in Protect()
903 int prot, in MapInternalArtLow4GBAllocator() argument
938 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset); in MapInternalArtLow4GBAllocator()
973 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset); in MapInternalArtLow4GBAllocator()
989 UNUSED(length, prot, flags, fd, offset); in MapInternalArtLow4GBAllocator()
997 int prot, in MapInternal() argument
1031 const int orig_prot = prot; in MapInternal()
1032 const int prot_non_exec = prot & ~PROT_EXEC; in MapInternal()
1051 actual = mmap(addr, length, prot, flags, fd, offset); in MapInternal()
1058 actual = mmap(addr, length, prot, flags, fd, offset); in MapInternal()