Lines Matching refs:sys

75         MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size));  in allocateSection()
81 sys::MemoryBlock &PendingMB = in allocateSection()
83 PendingMB = sys::MemoryBlock(PendingMB.base(), in allocateSection()
89 sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection()
104 sys::MemoryBlock MB = MMapper->allocateMappedMemory( in allocateSection()
106 sys::Memory::MF_READ | sys::Memory::MF_WRITE, ec); in allocateSection()
133 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
140 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), FreeSize); in allocateSection()
155 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory()
164 ec = applyMemoryGroupPermissions(RODataMem, sys::Memory::MF_READ); in finalizeMemory()
182 static sys::MemoryBlock trimBlockToPageSize(sys::MemoryBlock M) { in trimBlockToPageSize()
183 static const size_t PageSize = sys::Process::getPageSizeEstimate(); in trimBlockToPageSize()
192 sys::MemoryBlock Trimmed((void *)((uintptr_t)M.base() + StartOverlap), in trimBlockToPageSize()
206 for (sys::MemoryBlock &MB : MemGroup.PendingMem) in applyMemoryGroupPermissions()
229 for (sys::MemoryBlock &Block : CodeMem.PendingMem) in invalidateInstructionCache()
230 sys::Memory::InvalidateInstructionCache(Block.base(), in invalidateInstructionCache()
236 for (sys::MemoryBlock &Block : Group->AllocatedMem) in ~SectionMemoryManager()
250 sys::MemoryBlock
252 size_t NumBytes, const sys::MemoryBlock *const NearBlock, in allocateMappedMemory()
254 return sys::Memory::allocateMappedMemory(NumBytes, NearBlock, Flags, EC); in allocateMappedMemory()
257 std::error_code protectMappedMemory(const sys::MemoryBlock &Block, in protectMappedMemory()
259 return sys::Memory::protectMappedMemory(Block, Flags); in protectMappedMemory()
262 std::error_code releaseMappedMemory(sys::MemoryBlock &M) override { in releaseMappedMemory()
263 return sys::Memory::releaseMappedMemory(M); in releaseMappedMemory()