Lines Matching refs:prot

260                                     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()
584 prot, in MapFileAtAddress()
681 size_t base_size, int prot, bool reuse, size_t redzone_size) in MemMap() argument
683 prot_(prot), reuse_(reuse), already_unmapped_(false), redzone_size_(redzone_size) { in MemMap()
859 bool MemMap::Protect(int prot) { in Protect() argument
861 prot_ = prot; in Protect()
866 if (mprotect(base_begin_, base_size_, prot) == 0) { in Protect()
867 prot_ = prot; in Protect()
873 << prot << ") failed"; in Protect()
1039 int prot, in MapInternalArtLow4GBAllocator() argument
1074 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset); in MapInternalArtLow4GBAllocator()
1109 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset); in MapInternalArtLow4GBAllocator()
1125 UNUSED(length, prot, flags, fd, offset); in MapInternalArtLow4GBAllocator()
1133 int prot, in MapInternal() argument
1167 const int orig_prot = prot; in MapInternal()
1168 const int prot_non_exec = prot & ~PROT_EXEC; in MapInternal()
1187 actual = TargetMMap(addr, length, prot, flags, fd, offset); in MapInternal()
1194 actual = TargetMMap(addr, length, prot, flags, fd, offset); in MapInternal()