Home
last modified time | relevance | path

Searched refs:MapBase (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dsecondary.h643 uptr MapBase = MemMap.getBase(); in allocate() local
644 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()
H A Dprimary32.h421 const uptr MapBase = reinterpret_cast<uptr>( in allocateRegionSlow() local
423 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()