Lines Matching refs:sys

61         MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size));  in allocateSection()
67 sys::MemoryBlock &PendingMB = MemGroup.PendingMem[FreeMB.PendingPrefixIndex]; in allocateSection()
68 PendingMB = sys::MemoryBlock(PendingMB.base(), Addr + Size - (uintptr_t)PendingMB.base()); in allocateSection()
72 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection()
87 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize, in allocateSection()
89 sys::Memory::MF_READ | in allocateSection()
90 sys::Memory::MF_WRITE, in allocateSection()
109 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
116 FreeMB.Free = sys::MemoryBlock((void*)(Addr + Size), FreeSize); in allocateSection()
132 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory()
145 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory()
163 static sys::MemoryBlock trimBlockToPageSize(sys::MemoryBlock M) { in trimBlockToPageSize()
164 static const size_t PageSize = sys::Process::getPageSize(); in trimBlockToPageSize()
173 sys::MemoryBlock Trimmed((void *)((uintptr_t)M.base() + StartOverlap), TrimmedSize); in trimBlockToPageSize()
186 for (sys::MemoryBlock &MB : MemGroup.PendingMem) in applyMemoryGroupPermissions()
187 if (std::error_code EC = sys::Memory::protectMappedMemory(MB, Permissions)) in applyMemoryGroupPermissions()
210 for (sys::MemoryBlock &Block : CodeMem.PendingMem) in invalidateInstructionCache()
211 sys::Memory::InvalidateInstructionCache(Block.base(), Block.size()); in invalidateInstructionCache()
216 for (sys::MemoryBlock &Block : Group->AllocatedMem) in ~SectionMemoryManager()
217 sys::Memory::releaseMappedMemory(Block); in ~SectionMemoryManager()