Searched refs:Protect (Results 1 – 14 of 14) sorted by relevance
63 CHECK(target_map_.Protect(PROT_READ | PROT_WRITE)) << "Failed to mprotect R/W"; in Action()67 CHECK(target_map_.Protect(PROT_READ)) << "Failed to mprotect R-only"; in Action()
223 from_space_->GetMemMap()->Protect(PROT_NONE); in MarkingPhase()229 from_space_->GetMemMap()->Protect(PROT_READ); in MarkingPhase()647 from_space_->GetMemMap()->Protect(PROT_NONE); in FinishPhase()
62 return mem_map_.Protect(PROT_READ | PROT_WRITE); in EnableWrite()71 return mem_map_.Protect(PROT_READ); in DisableWrite()
231 bool Protect(int prot);
443 if (!source->Protect(GetProtect())) { in ReplaceWith()458 source->Protect(old_prot); in ReplaceWith()857 bool MemMap::Protect(int prot) { in Protect() function in art::MemMap
26 "bugprone-unused-raii", // Protect scoped things like MutexLock.
73 CHECK(dex_data_mmap_.Protect(PROT_READ)); in InitializeMemory()
525 map.Protect(PROT_READ); in MoveDataToMemMap()
221 CHECK(mmap_.Protect(val ? (PROT_READ | PROT_WRITE) : PROT_READ)); in AllowWriting()
146 Protect(); in RegionSpace()774 void RegionSpace::Protect() { in Protect() function in art::gc::space::RegionSpace
125 void Protect();
2096 to_space->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PerformHomogeneousSpaceCompact()2332 non_moving_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()2363 main_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()2376 region_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()2380 bump_pointer_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()2653 temp_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in CollectGarbageInternal()
586 # Protect additional arguments in quotes to preserve whitespaces (used by
1944 if (!map.Protect(PROT_READ | PROT_WRITE)) { in Setup()