Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dmem_map_linux.h25 : 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;
H A Dmem_map_linux.cpp86 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()
H A Dsecondary.h617 uptr MapBase = MemMap.getBase(); in allocate() local
618 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()
H A Dprimary32.h435 const uptr MapBase = reinterpret_cast<uptr>( in allocateRegionSlow() local
437 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()