Lines Matching refs:pregion

745   uint8_t* pregion = tlsPtr_.stack_begin - GetStackOverflowProtectedSize();  in InstallImplicitProtection()  local
751 static_cast<void*>(pregion) << " to " << in InstallImplicitProtection()
752 static_cast<void*>(pregion + GetStackOverflowProtectedSize() - 1); in InstallImplicitProtection()
757 reinterpret_cast<uintptr_t>(stack_top) - reinterpret_cast<uintptr_t>(pregion) - gPageSize; in InstallImplicitProtection()
758 madvise(pregion, unwanted_size, MADV_DONTNEED); in InstallImplicitProtection()
786 static_cast<void*>(pregion); in InstallImplicitProtection()
819 RecurseDownStack::Touch(reinterpret_cast<uintptr_t>(pregion)); in InstallImplicitProtection()
822 static_cast<void*>(pregion) << " to " << in InstallImplicitProtection()
823 static_cast<void*>(pregion + GetStackOverflowProtectedSize() - 1); in InstallImplicitProtection()
831 reinterpret_cast<uintptr_t>(stack_top) - reinterpret_cast<uintptr_t>(pregion) - gPageSize; in InstallImplicitProtection()
832 madvise(pregion, unwanted_size, MADV_DONTNEED); in InstallImplicitProtection()
4664 void* pregion = tlsPtr_.stack_begin - GetStackOverflowProtectedSize(); in ProtectStack() local
4665 VLOG(threads) << "Protecting stack at " << pregion; in ProtectStack()
4666 if (mprotect(pregion, GetStackOverflowProtectedSize(), PROT_NONE) == -1) { in ProtectStack()
4680 void* pregion = tlsPtr_.stack_begin - GetStackOverflowProtectedSize(); in UnprotectStack() local
4681 VLOG(threads) << "Unprotecting stack at " << pregion; in UnprotectStack()
4682 return mprotect(pregion, GetStackOverflowProtectedSize(), PROT_READ|PROT_WRITE) == 0; in UnprotectStack()