Home
last modified time | relevance | path

Searched refs:MapSize (Results 1 – 5 of 5) sorted by relevance

/src/contrib/llvm-project/llvm/lib/Support/
H A DMemoryBuffer.cpp125 getFileAux(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
177 MemoryBuffer::getFileSlice(const Twine &FilePath, uint64_t MapSize, in getFileSlice() argument
180 return getFileAux<MemoryBuffer>(FilePath, MapSize, Offset, /*IsText=*/false, in getFileSlice()
272 uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator,
277 getFileAux(const Twine &Filename, uint64_t MapSize, uint64_t Offset, in getFileAux() argument
285 auto Ret = getOpenFileImpl<MB>(FD, Filename, /*FileSize=*/-1, MapSize, Offset, in getFileAux()
300 WritableMemoryBuffer::getFileSlice(const Twine &Filename, uint64_t MapSize, in getFileSlice() argument
304 Filename, MapSize, Offset, /*IsText=*/false, in getFileSlice()
360 size_t MapSize, in shouldUseMmap() argument
373 if (MapSize < 4 * 4096 || MapSize < (unsigned)PageSize) in shouldUseMmap()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemoryBuffer.h112 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize,
156 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
208 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
271 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset);
/src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dprimary32.h420 uptr MapSize = 2 * RegionSize; in allocateRegionSlow() local
422 map(nullptr, MapSize, "scudo:primary", MAP_ALLOWNOMEM)); in allocateRegionSlow()
425 const uptr MapEnd = MapBase + MapSize; in allocateRegionSlow()
432 MapSize = RegionSize; in allocateRegionSlow()
436 MapSize = RegionSize; in allocateRegionSlow()
438 const uptr End = Region + MapSize; in allocateRegionSlow()
H A Dsecondary.h634 const uptr MapSize = RoundedSize + 2 * PageSize; in allocate() local
635 if (UNLIKELY(!ReservedMemory.create(/*Addr=*/0U, MapSize, nullptr, in allocate()
645 uptr MapEnd = MapBase + MapSize; in allocate()
H A Dprimary64.h1044 const uptr MapSize = in populateFreeListAndPopBlocks() local
1047 if (UNLIKELY(RegionBase + MappedUser + MapSize > RegionSize)) { in populateFreeListAndPopBlocks()
1053 RegionBeg + MappedUser, MapSize, "scudo:primary", in populateFreeListAndPopBlocks()
1059 Region->MemMapInfo.MappedUser += MapSize; in populateFreeListAndPopBlocks()
1060 C->getStats().add(StatMapped, MapSize); in populateFreeListAndPopBlocks()