Searched refs:CheckedCall (Results 1 – 9 of 9) sorted by relevance
/art/runtime/gc/space/ |
D | malloc_space.cc | 161 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()
|
D | region_space.cc | 413 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()
|
D | large_object_space.cc | 476 CheckedCall(mprotect, __FUNCTION__, obj, allocation_size, PROT_READ); in Free() 542 CheckedCall(mprotect, __FUNCTION__, obj, allocation_size, PROT_READ | PROT_WRITE); in Alloc()
|
D | dlmalloc_space.cc | 81 CheckedCall(mprotect, name.c_str(), end, capacity - starting_size, PROT_NONE); in CreateFromMemMap()
|
D | rosalloc_space.cc | 97 CheckedCall(mprotect, name.c_str(), end, capacity - starting_size, PROT_NONE); in CreateFromMemMap()
|
/art/libartbase/base/ |
D | utils.h | 142 static inline void CheckedCall(const Func& function, const char* what, Args... args) { in CheckedCall() function
|
/art/runtime/ |
D | thread_pool.cc | 57 CheckedCall(mprotect, in ThreadPoolWorker()
|
D | oat_file.cc | 855 CheckedCall(mprotect, "protect relocations", reloc_begin, DataBimgRelRoSize(), PROT_READ); in Setup() 2223 CheckedCall(mprotect, in InitializeRelocations() 2233 CheckedCall(mprotect, in InitializeRelocations()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 470 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()
|