Searched refs:allocatedSize (Results 1 – 8 of 8) sorted by relevance
67 if (FreeMB.Free.allocatedSize() >= RequiredSize) { in allocateSection()69 uintptr_t EndOfBlock = Addr + FreeMB.Free.allocatedSize(); in allocateSection()127 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); in allocateSection()188 size_t TrimmedSize = M.allocatedSize(); in trimBlockToPageSize()196 assert((Trimmed.allocatedSize() % PageSize) == 0); in trimBlockToPageSize()198 Trimmed.allocatedSize() <= M.allocatedSize()); in trimBlockToPageSize()222 return FreeMB.Free.allocatedSize() == 0; in applyMemoryGroupPermissions()231 Block.allocatedSize()); in invalidateInstructionCache()
34 MemoryBlock(void *addr, size_t allocatedSize) in MemoryBlock() argument35 : Address(addr), AllocatedSize(allocatedSize) {} in MemoryBlock()39 size_t allocatedSize() const { return AllocatedSize; } in allocatedSize() function157 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 <<()
315 sys::Memory::InvalidateInstructionCache(MB.base(), MB.allocatedSize()); in applyProtections()390 memset(Slab.base(), 0, Slab.allocatedSize()); in allocate()405 NextStandardSegAddr + StandardSegsMem.allocatedSize()) in allocate()411 NextFinalizeSegAddr + FinalizeSegsMem.allocatedSize()) in allocate()
55 Reservations[MB.base()].Size = MB.allocatedSize(); in reserve()59 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()