Searched refs:MapBase (Results 1 – 2 of 2) sorted by relevance
643 uptr MapBase = MemMap.getBase(); in allocate() local644 uptr CommitBase = MapBase + PageSize; in allocate()645 uptr MapEnd = MapBase + MapSize; in allocate()653 CommitBase = roundUp(MapBase + PageSize + 1, Alignment) - PageSize; in allocate()655 DCHECK_GE(NewMapBase, MapBase); in allocate()658 if (SCUDO_WORDSIZE == 32U && NewMapBase != MapBase) { in allocate()659 MemMap.unmap(MapBase, NewMapBase - MapBase); in allocate()660 MapBase = NewMapBase; in allocate()
421 const uptr MapBase = reinterpret_cast<uptr>( in allocateRegionSlow() local423 if (!MapBase) in allocateRegionSlow()425 const uptr MapEnd = MapBase + MapSize; in allocateRegionSlow()426 uptr Region = MapBase; in allocateRegionSlow()430 RegionsStash[NumberOfStashedRegions++] = MapBase + RegionSize; in allocateRegionSlow()434 Region = roundUp(MapBase, RegionSize); in allocateRegionSlow()435 unmap(reinterpret_cast<void *>(MapBase), Region - MapBase); in allocateRegionSlow()