Searched refs:MapSize (Results 1 – 5 of 5) sorted by relevance
| /src/contrib/llvm-project/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 125 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 D | MemoryBuffer.h | 112 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 D | primary32.h | 420 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 D | secondary.h | 634 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 D | primary64.h | 1044 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()
|