/reactos/ntoskrnl/mm/ |
H A D | marea.c | 68 PMEMORY_AREA MemoryArea; in MmLocateMemoryAreaByAddress() local 101 return MemoryArea; in MmLocateMemoryAreaByAddress() 116 PMEMORY_AREA MemoryArea; in MmLocateMemoryAreaByRegion() local 149 ASSERT(MemoryArea != NULL); in MmLocateMemoryAreaByRegion() 150 return MemoryArea; in MmLocateMemoryAreaByRegion() 285 PMEMORY_AREA MemoryArea, in MmFreeMemoryArea() argument 340 if (MemoryArea->Vad) in MmFreeMemoryArea() 420 PMEMORY_AREA MemoryArea; in MmCreateMemoryArea() local 444 if (!MemoryArea) in MmCreateMemoryArea() 513 *Result = MemoryArea; in MmCreateMemoryArea() [all …]
|
H A D | mmfault.c | 29 MEMORY_AREA* MemoryArea; in MmpAccessFault() local 75 if (MemoryArea == NULL || MemoryArea->DeleteInProgress) in MmpAccessFault() 84 switch (MemoryArea->Type) in MmpAccessFault() 125 MEMORY_AREA* MemoryArea; in MmNotPresentFault() local 167 if (MemoryArea == NULL || MemoryArea->DeleteInProgress) in MmNotPresentFault() 176 switch (MemoryArea->Type) in MmNotPresentFault() 223 PMEMORY_AREA MemoryArea = NULL; in MmAccessFault() local 258 if ((MemoryArea != NULL) && (MemoryArea->Type == MEMORY_AREA_OWNED_BY_ARM3)) in MmAccessFault() 271 if ((MemoryArea != NULL) && (MemoryArea->Type == MEMORY_AREA_OWNED_BY_ARM3)) in MmAccessFault() 282 ((MemoryArea == NULL) && in MmAccessFault() [all …]
|
H A D | rmap.c | 54 PMEMORY_AREA MemoryArea; in MmPageOutPhysicalAddress() local 105 MemoryArea = MmLocateMemoryAreaByAddress(AddressSpace, Address); in MmPageOutPhysicalAddress() 106 if (MemoryArea == NULL || MemoryArea->DeleteInProgress) in MmPageOutPhysicalAddress() 131 if (MemoryArea->Type == MEMORY_AREA_SECTION_VIEW) in MmPageOutPhysicalAddress() 140 Offset.QuadPart = MemoryArea->SectionData.ViewOffset + in MmPageOutPhysicalAddress() 141 ((ULONG_PTR)Address - MA_GetStartingAddress(MemoryArea)); in MmPageOutPhysicalAddress() 143 Segment = MemoryArea->SectionData.Segment; in MmPageOutPhysicalAddress() 192 PMM_REGION Region = MmFindRegion((PVOID)MA_GetStartingAddress(MemoryArea), in MmPageOutPhysicalAddress() 193 &MemoryArea->SectionData.RegionListHead, in MmPageOutPhysicalAddress() 228 PMM_REGION Region = MmFindRegion((PVOID)MA_GetStartingAddress(MemoryArea), in MmPageOutPhysicalAddress() [all …]
|
H A D | section.c | 182 PMEMORY_AREA MemoryArea; member 1454 PMEMORY_AREA MemoryArea; in MmAlterViewAttributes() local 3534 PMEMORY_AREA MemoryArea; in MmUnmapViewOfSegment() local 3542 if (MemoryArea == NULL) in MmUnmapViewOfSegment() 3599 PMEMORY_AREA MemoryArea; in MiRosUnmapViewOfSection() local 3621 if (MemoryArea) ASSERT(MemoryArea->Type != MEMORY_AREA_OWNED_BY_ARM3); in MiRosUnmapViewOfSection() 3697 MemoryArea = NULL; in MiRosUnmapViewOfSection() 4788 PMEMORY_AREA MemoryArea; 4797 if (MemoryArea == NULL) 5316 PMEMORY_AREA MemoryArea; [all …]
|
/reactos/ntoskrnl/cache/section/ |
H A D | fault.c | 109 _In_ MEMORY_AREA* MemoryArea, in MmNotPresentFaultCachePage() argument 326 _In_ PMEMORY_AREA MemoryArea, in MiCowCacheSectionPage() argument 340 MemoryArea, in MiCowCacheSectionPage() 468 PMEMORY_AREA MemoryArea; member 539 MEMORY_AREA* MemoryArea; in MmpSectionAccessFaultInner() local 591 MemoryArea->Type, in MmpSectionAccessFaultInner() 630 Context.MemoryArea = MemoryArea; in MmpSectionAccessFaultInner() 759 PMEMORY_AREA MemoryArea; in MmNotPresentFaultCacheSectionInner() local 775 if (MemoryArea == NULL || MemoryArea->DeleteInProgress) in MmNotPresentFaultCacheSectionInner() 778 if (MemoryArea) in MmNotPresentFaultCacheSectionInner() [all …]
|
H A D | data.c | 139 PMEMORY_AREA MemoryArea; in _MiFlushMappedSection() local 158 if (!MemoryArea || MemoryArea->Type != MEMORY_AREA_CACHE || MemoryArea->DeleteInProgress) in _MiFlushMappedSection() 166 Segment = MemoryArea->Data.SectionData.Segment; in _MiFlushMappedSection() 664 MEMORY_AREA* MemoryArea, in MmFreeCacheSectionPage() argument 719 PMEMORY_AREA MemoryArea; in MmUnmapViewOfCacheSegment() local 723 if (MemoryArea == NULL || MemoryArea->DeleteInProgress) in MmUnmapViewOfCacheSegment() 725 ASSERT(MemoryArea); in MmUnmapViewOfCacheSegment() 729 MemoryArea->DeleteInProgress = TRUE; in MmUnmapViewOfCacheSegment() 730 Segment = MemoryArea->Data.SectionData.Segment; in MmUnmapViewOfCacheSegment() 731 MemoryArea->Data.SectionData.Segment = NULL; in MmUnmapViewOfCacheSegment() [all …]
|
H A D | newmm.h | 37 struct _MEMORY_AREA *MemoryArea, 42 struct _MEMORY_AREA *MemoryArea, 49 struct _MEMORY_AREA *MemoryArea, 169 PMEMORY_AREA MemoryArea, 175 PMEMORY_AREA MemoryArea, 181 PMEMORY_AREA MemoryArea, 187 PMEMORY_AREA MemoryArea, 193 PMEMORY_AREA MemoryArea, 207 _In_ PMEMORY_AREA MemoryArea, 281 _In_ MEMORY_AREA* MemoryArea, [all …]
|
H A D | swapout.c | 280 MEMORY_AREA* MemoryArea, in MmPageOutCacheSection() argument 293 MA_GetStartingAddress(MemoryArea) + in MmPageOutCacheSection() 294 MemoryArea->Data.SectionData.ViewOffset.QuadPart; in MmPageOutCacheSection() 296 Segment = MemoryArea->Data.SectionData.Segment; in MmPageOutCacheSection() 352 PMEMORY_AREA MemoryArea; in MmpPageOutPhysicalAddress() local 450 if (MemoryArea == NULL || MemoryArea->DeleteInProgress) in MmpPageOutPhysicalAddress() 459 MemoryArea->Type, in MmpPageOutPhysicalAddress() 460 MA_GetStartingAddress(MemoryArea), in MmpPageOutPhysicalAddress() 461 MA_GetEndingAddress(MemoryArea)); in MmpPageOutPhysicalAddress() 477 MemoryArea, in MmpPageOutPhysicalAddress() [all …]
|
H A D | reqtools.c | 84 PMEMORY_AREA MemoryArea, in MiGetOnePage() argument 134 PMEMORY_AREA MemoryArea, in MiReadFilePage() argument 221 PMEMORY_AREA MemoryArea, in MiSwapInPage() argument 272 PMEMORY_AREA MemoryArea, in MiWriteFilePage() argument
|
/reactos/ntoskrnl/mm/ARM3/ |
H A D | vadnode.c | 219 PMEMORY_AREA MemoryArea; in MiInsertNode() local 237 &MemoryArea, in MiInsertNode() 246 Vad->FirstPrototypePte = (PMMPTE)MemoryArea; in MiInsertNode() 252 Vad->u4.Banked = (PVOID)MemoryArea; in MiInsertNode() 465 PMEMORY_AREA MemoryArea; in MiRemoveNode() local 472 MemoryArea = (PMEMORY_AREA)Vad->FirstPrototypePte; in MiRemoveNode() 477 MemoryArea = (PMEMORY_AREA)Vad->u4.Banked; in MiRemoveNode() 481 if (MemoryArea) in MiRemoveNode() 490 ASSERT(MemoryArea->Type == MEMORY_AREA_OWNED_BY_ARM3); in MiRemoveNode() 491 ASSERT(MemoryArea->Vad == NULL); in MiRemoveNode() [all …]
|
H A D | virtual.c | 1677 PMEMORY_AREA MemoryArea; in MiQueryMemoryBasicInformation() local 1905 ASSERT(MemoryArea != NULL); in MiQueryMemoryBasicInformation() 1914 … MemoryArea, MA_GetStartingAddress(MemoryArea), MA_GetEndingAddress(MemoryArea), BaseAddress); in MiQueryMemoryBasicInformation() 2164 PMEMORY_AREA MemoryArea; in MiRosProtectVirtualMemory() local 2175 if (MemoryArea == NULL || MemoryArea->DeleteInProgress) in MiRosProtectVirtualMemory() 2204 PMEMORY_AREA MemoryArea; in MiProtectVirtualMemory() local 2245 if ((MemoryArea) && (MemoryArea->Type != MEMORY_AREA_OWNED_BY_ARM3)) in MiProtectVirtualMemory() 4500 PMEMORY_AREA MemoryArea; in NtAllocateVirtualMemory() local 4917 ASSERT(MemoryArea != NULL); in NtAllocateVirtualMemory() 5235 PMEMORY_AREA MemoryArea; in NtFreeVirtualMemory() local [all …]
|
H A D | section.c | 807 PMEMORY_AREA MemoryArea; in MiUnmapViewOfSection() local 822 MemoryArea = MmLocateMemoryAreaByAddress(&Process->Vm, BaseAddress); in MiUnmapViewOfSection() 823 if ((MemoryArea) && (MemoryArea->Type != MEMORY_AREA_OWNED_BY_ARM3)) in MiUnmapViewOfSection() 1569 PMEMORY_AREA MemoryArea = (PMEMORY_AREA)Vad; in MiGetFileObjectForVad() local 1572 if (MemoryArea->Type == MEMORY_AREA_SECTION_VIEW) in MiGetFileObjectForVad() 1575 FileObject = MemoryArea->SectionData.Segment->FileObject; in MiGetFileObjectForVad() 1580 ASSERT(MemoryArea->Type == MEMORY_AREA_CACHE); in MiGetFileObjectForVad() 2763 PMEMORY_AREA MemoryArea; in MmUnmapViewInSystemSpace() local 2768 MemoryArea = MmLocateMemoryAreaByAddress(MmGetKernelAddressSpace(), MappedBase); in MmUnmapViewInSystemSpace() 2769 if ((MemoryArea) && (MemoryArea->Type != MEMORY_AREA_OWNED_BY_ARM3)) in MmUnmapViewInSystemSpace()
|
/reactos/ntoskrnl/include/internal/ |
H A D | mm.h | 536 PMEMORY_AREA MemoryArea, 602 PMEMORY_AREA MemoryArea, 1442 PMEMORY_AREA MemoryArea, 1452 PMEMORY_AREA MemoryArea, 1468 MEMORY_AREA* MemoryArea, 1477 PMEMORY_AREA MemoryArea, 1491 MEMORY_AREA* MemoryArea, 1557 MmUnsharePageEntrySectionSegment(PMEMORY_AREA MemoryArea,
|