Searched refs:pageStart (Results 1 – 2 of 2) sorted by relevance
59 …vm_address_t pageStart = reinterpret_cast<vm_address_t>(zone) & static_cast<vm_size_t>(~(getpagesi… in makeLargeMallocFailSilently() local60 vm_size_t len = reinterpret_cast<vm_address_t>(zone) - pageStart + sizeof(malloc_zone_t); in makeLargeMallocFailSilently()61 mprotect(reinterpret_cast<void*>(pageStart), len, PROT_READ | PROT_WRITE); in makeLargeMallocFailSilently()70 mprotect(reinterpret_cast<void*>(pageStart), len, PROT_READ); in makeLargeMallocFailSilently()
72 void* pageStart = reinterpret_cast<void*>(pageStartPtr); in reprotectRegion() local79 mprotect(pageStart, size, (setting == Writable) ? PROTECTION_FLAGS_RW : PROTECTION_FLAGS_RX); in reprotectRegion()