Home
last modified time | relevance | path

Searched refs:CheckedCall (Results 1 – 9 of 9) sorted by relevance

/art/runtime/gc/space/
Dmalloc_space.cc161 CheckedCall(mprotect, GetName(), original_end, increment, PROT_READ | PROT_WRITE); in MoreCore()
172 CheckedCall(madvise, GetName(), new_end, size, MADV_DONTNEED); in MoreCore()
173 CheckedCall(mprotect, GetName(), new_end, size, PROT_NONE); in MoreCore()
221 CheckedCall(mprotect, alloc_space_name, end, capacity - initial_size_, PROT_NONE); in CreateZygoteSpace()
Dregion_space.cc413 CheckedCall(mprotect, __FUNCTION__, begin, end - begin, PROT_NONE); in ZeroAndProtectRegion()
772 CheckedCall(mprotect, __FUNCTION__, Begin(), Size(), PROT_NONE); in Protect()
778 CheckedCall(mprotect, __FUNCTION__, Begin(), Size(), PROT_READ | PROT_WRITE); in Unprotect()
1023 CheckedCall(mprotect, __FUNCTION__, Begin(), kRegionSize, PROT_READ | PROT_WRITE); in MarkAsAllocated()
Dlarge_object_space.cc476 CheckedCall(mprotect, __FUNCTION__, obj, allocation_size, PROT_READ); in Free()
542 CheckedCall(mprotect, __FUNCTION__, obj, allocation_size, PROT_READ | PROT_WRITE); in Alloc()
Ddlmalloc_space.cc81 CheckedCall(mprotect, name.c_str(), end, capacity - starting_size, PROT_NONE); in CreateFromMemMap()
Drosalloc_space.cc97 CheckedCall(mprotect, name.c_str(), end, capacity - starting_size, PROT_NONE); in CreateFromMemMap()
/art/libartbase/base/
Dutils.h142 static inline void CheckedCall(const Func& function, const char* what, Args... args) { in CheckedCall() function
/art/runtime/
Dthread_pool.cc57 CheckedCall(mprotect, in ThreadPoolWorker()
Doat_file.cc855 CheckedCall(mprotect, "protect relocations", reloc_begin, DataBimgRelRoSize(), PROT_READ); in Setup()
2223 CheckedCall(mprotect, in InitializeRelocations()
2233 CheckedCall(mprotect, in InitializeRelocations()
/art/runtime/jit/
Djit_code_cache.cc470 CheckedCall(mprotect, "create code heap", code_heap->Begin(), code_heap->Size(), kProtRW); in InitializeSpaces()
476 CheckedCall(mprotect, "protect code heap", code_heap->Begin(), code_heap->Size(), kProtR); in InitializeSpaces()
580 CheckedCall(mprotect, "Cache +W", updatable_pages->Begin(), updatable_pages->Size(), prot); in ScopedCodeCacheWrite()
589 CheckedCall(mprotect, "Cache -W", updatable_pages->Begin(), updatable_pages->Size(), prot); in ~ScopedCodeCacheWrite()