Searched refs:MapSize (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 296 Filename, MapSize, Offset, /*IsText=*/false, in getFileSlice() 345 size_t MapSize, in shouldUseMmap() argument 358 if (MapSize < 4 * 4096 || MapSize < (unsigned)PageSize) in shouldUseMmap() 377 size_t End = Offset + MapSize; in shouldUseMmap() 408 if (MapSize == uint64_t(-1)) { in getReadWriteFile() 426 MapSize = FileSize; in getReadWriteFile() 448 return getReadWriteFile(Filename, -1, MapSize, Offset); in getFileSlice() 459 if (MapSize == uint64_t(-1)) { in getOpenFileImpl() 478 MapSize = FileSize; in getOpenFileImpl() 486 RequiresNullTerminator, FD, MapSize, Offset, EC)); in getOpenFileImpl() [all …]
|
| /freebsd-14.2/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);
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | primary32.h | 434 uptr MapSize = 2 * RegionSize; in allocateRegionSlow() local 436 map(nullptr, MapSize, "scudo:primary", MAP_ALLOWNOMEM)); in allocateRegionSlow() 439 const uptr MapEnd = MapBase + MapSize; in allocateRegionSlow() 446 MapSize = RegionSize; in allocateRegionSlow() 450 MapSize = RegionSize; in allocateRegionSlow() 452 const uptr End = Region + MapSize; in allocateRegionSlow()
|
| H A D | secondary.h | 608 const uptr MapSize = RoundedSize + 2 * PageSize; in allocate() local 609 if (UNLIKELY(!ReservedMemory.create(/*Addr=*/0U, MapSize, nullptr, in allocate() 619 uptr MapEnd = MapBase + MapSize; in allocate()
|
| H A D | primary64.h | 992 const uptr MapSize = in populateFreeListAndPopBatch() local 995 if (UNLIKELY(RegionBase + MappedUser + MapSize > RegionSize)) { in populateFreeListAndPopBatch() 1001 RegionBeg + MappedUser, MapSize, "scudo:primary", in populateFreeListAndPopBatch() 1007 Region->MemMapInfo.MappedUser += MapSize; in populateFreeListAndPopBatch() 1008 C->getStats().add(StatMapped, MapSize); in populateFreeListAndPopBatch()
|