Home
last modified time | relevance | path

Searched refs:getCapacity (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dmem_map_base.h35 DCHECK((Addr == getBase()) || (Addr + Size == getBase() + getCapacity())); in unmap()
39 void unmap() { unmap(getBase(), getCapacity()); } in unmap()
46 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity()));
54 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); in setMemoryPermission()
63 DCHECK((From >= getBase()) && (From + Size <= getBase() + getCapacity())); in releasePagesToOS()
70 DCHECK((From >= getBase()) && (From + Size <= getBase() + getCapacity())); in releaseAndZeroPagesToOS()
75 uptr getCapacity() { return invokeImpl(&Derived::getCapacityImpl); } in getCapacity() function
113 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); in dispatch()
118 uptr getCapacity() { return invokeImpl(&Derived::getCapacityImpl); } in getCapacity() function
H A Dsecondary.h746 FragmentedBytes += H->MemMap.getCapacity() - H->CommitSize; in tryAllocateFromCache()
749 Stats.add(StatMapped, H->MemMap.getCapacity()); in tryAllocateFromCache()
798 ReservedMemory.getCapacity()); in allocate()
856 FragmentedBytes += H->MemMap.getCapacity() - CommitSize; in allocate()
861 Stats.add(StatMapped, H->MemMap.getCapacity()); in allocate()
875 FragmentedBytes -= H->MemMap.getCapacity() - CommitSize; in deallocate()
878 Stats.sub(StatMapped, H->MemMap.getCapacity()); in deallocate()
H A Dprimary64.h692 ReservedMemory.getCapacity()), in populateFreeListAndPopBlocks()