Searched refs:allocatedSize (Results 1 – 8 of 8) sorted by relevance
66 if (FreeMB.Free.allocatedSize() >= RequiredSize) { in allocateSection()68 uintptr_t EndOfBlock = Addr + FreeMB.Free.allocatedSize(); in allocateSection()126 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); in allocateSection()187 size_t TrimmedSize = M.allocatedSize(); in trimBlockToPageSize()195 assert((Trimmed.allocatedSize() % PageSize) == 0); in trimBlockToPageSize()197 Trimmed.allocatedSize() <= M.allocatedSize()); in trimBlockToPageSize()221 return FreeMB.Free.allocatedSize() == 0; in applyMemoryGroupPermissions()230 Block.allocatedSize()); in invalidateInstructionCache()
36 MemoryBlock(void *addr, size_t allocatedSize) in MemoryBlock() argument37 : Address(addr), AllocatedSize(allocatedSize) {} in MemoryBlock()41 size_t allocatedSize() const { return AllocatedSize; } in allocatedSize() function159 size_t allocatedSize() const { return M.allocatedSize(); } in allocatedSize() function
45 << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] (" in operator <<()46 << MB.allocatedSize() << " bytes)"; in operator <<()
329 sys::Memory::InvalidateInstructionCache(MB.base(), MB.allocatedSize()); in applyProtections()403 memset(Slab.base(), 0, Slab.allocatedSize()); in allocate()418 NextStandardSegAddr + StandardSegsMem.allocatedSize()) in allocate()424 NextFinalizeSegAddr + FinalizeSegsMem.allocatedSize()) in allocate()
54 Reservations[MB.base()].Size = MB.allocatedSize(); in reserve()58 ExecutorAddrRange(ExecutorAddr::fromPtr(MB.base()), MB.allocatedSize())); in reserve()
723 AlreadyAllocated[LoadAddr] = (*Tmp)->MB.allocatedSize(); in remapSectionsAndSymbols()747 if (NextSectionAddr + CurEntry->MB.allocatedSize() + TargetSectionSep <= in remapSectionsAndSymbols()754 AlreadyAllocated[NextSectionAddr] = CurEntry->MB.allocatedSize(); in remapSectionsAndSymbols()
122 NearBlock->allocatedSize()
106 NearBlock->allocatedSize()