Searched refs:MapBase (Results 1 – 4 of 4) sorted by relevance
25 : MapBase(Base), MapCapacity(Capacity) {} in MemMapLinux()36 uptr getBaseImpl() { return MapBase; } in getBaseImpl()40 uptr MapBase = 0;50 uptr getBaseImpl() { return MapBase; } in getBaseImpl()59 uptr MapBase = 0;
86 MapBase = reinterpret_cast<uptr>(P); in mapImpl()95 MapBase = MapCapacity = 0; in unmapImpl()99 if (MapBase == Addr) in unmapImpl()100 MapBase = Addr + Size; in unmapImpl()135 MapBase = MemMap.getBase(); in createImpl()
617 uptr MapBase = MemMap.getBase(); in allocate() local618 uptr CommitBase = MapBase + PageSize; in allocate()619 uptr MapEnd = MapBase + MapSize; in allocate()627 CommitBase = roundUp(MapBase + PageSize + 1, Alignment) - PageSize; in allocate()629 DCHECK_GE(NewMapBase, MapBase); in allocate()632 if (SCUDO_WORDSIZE == 32U && NewMapBase != MapBase) { in allocate()633 MemMap.unmap(MapBase, NewMapBase - MapBase); in allocate()634 MapBase = NewMapBase; in allocate()
435 const uptr MapBase = reinterpret_cast<uptr>( in allocateRegionSlow() local437 if (!MapBase) in allocateRegionSlow()439 const uptr MapEnd = MapBase + MapSize; in allocateRegionSlow()440 uptr Region = MapBase; in allocateRegionSlow()444 RegionsStash[NumberOfStashedRegions++] = MapBase + RegionSize; in allocateRegionSlow()448 Region = roundUp(MapBase, RegionSize); in allocateRegionSlow()449 unmap(reinterpret_cast<void *>(MapBase), Region - MapBase); in allocateRegionSlow()