Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DMemoryBuffer.cpp284 Filename, MapSize, Offset, /*IsText=*/false, in getFileSlice()
325 size_t MapSize, in shouldUseMmap() argument
338 if (MapSize < 4 * 4096 || MapSize < (unsigned)PageSize) in shouldUseMmap()
357 size_t End = Offset + MapSize; in shouldUseMmap()
388 if (MapSize == uint64_t(-1)) { in getReadWriteFile()
406 MapSize = FileSize; in getReadWriteFile()
428 return getReadWriteFile(Filename, -1, MapSize, Offset); in getFileSlice()
439 if (MapSize == uint64_t(-1)) { in getOpenFileImpl()
458 MapSize = FileSize; in getOpenFileImpl()
466 RequiresNullTerminator, FD, MapSize, Offset, EC)); in getOpenFileImpl()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dsecondary.h40 uptr MapSize; member
145 Entry.MapSize = H->MapSize; in store()
267 (*H)->MapSize = Entry.MapSize; in retrieve()
332 uptr MapSize; in empty() member
342 MapInfo[N].MapSize = Entries[I].MapSize; in empty()
359 uptr MapSize; member
519 Stats.add(StatMapped, H->MapSize); in allocate()
532 uptr MapEnd = MapBase + MapSize; in allocate()
569 H->MapSize = MapEnd - MapBase; in allocate()
583 Stats.add(StatMapped, H->MapSize); in allocate()
[all …]
H A Dprimary32.h280 uptr MapSize = 2 * RegionSize; in allocateRegionSlow() local
282 map(nullptr, MapSize, "scudo:primary", MAP_ALLOWNOMEM)); in allocateRegionSlow()
285 const uptr MapEnd = MapBase + MapSize; in allocateRegionSlow()
292 MapSize = RegionSize; in allocateRegionSlow()
296 MapSize = RegionSize; in allocateRegionSlow()
298 const uptr End = Region + MapSize; in allocateRegionSlow()
H A Dprimary64.h342 const uptr MapSize = in populateFreeList() local
345 if (UNLIKELY(RegionBase + MappedUser + MapSize > RegionSize)) { in populateFreeList()
360 reinterpret_cast<void *>(RegionBeg + MappedUser), MapSize, in populateFreeList()
366 Region->MappedUser += MapSize; in populateFreeList()
367 C->getStats().add(StatMapped, MapSize); in populateFreeList()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemoryBuffer.h100 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize,
138 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
188 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
246 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset);