/reactos/ntoskrnl/mm/ |
H A D | rmap.c | 178 SWAPENTRY SwapEntry; in MmPageOutPhysicalAddress() local 184 SwapEntry = MmGetSavedSwapEntryPage(Page); in MmPageOutPhysicalAddress() 186 if ((SwapEntry == 0) && Dirty) in MmPageOutPhysicalAddress() 189 SwapEntry = MmAllocSwapPage(); in MmPageOutPhysicalAddress() 190 if (!SwapEntry) in MmPageOutPhysicalAddress() 219 Status = MmWriteToSwapPage(SwapEntry, Page); in MmPageOutPhysicalAddress() 234 MmFreeSwapPage(SwapEntry); in MmPageOutPhysicalAddress() 251 if (SwapEntry) in MmPageOutPhysicalAddress() 254 MmCreatePageFileMapping(Process, Address, SwapEntry); in MmPageOutPhysicalAddress()
|
H A D | freelist.c | 484 MmSetSavedSwapEntryPage(PFN_NUMBER Pfn, SWAPENTRY SwapEntry) in MmSetSavedSwapEntryPage() argument 494 Pfn1->u1.SwapEntry = SwapEntry; in MmSetSavedSwapEntryPage() 502 SWAPENTRY SwapEntry; in MmGetSavedSwapEntryPage() local 511 SwapEntry = Pfn1->u1.SwapEntry; in MmGetSavedSwapEntryPage() 514 return(SwapEntry); in MmGetSavedSwapEntryPage() 640 Pfn1->u1.SwapEntry = 0; in MmAllocPage()
|
H A D | pagefile.c | 147 MmWriteToSwapPage(SWAPENTRY SwapEntry, PFN_NUMBER Page) in MmWriteToSwapPage() argument 160 if (SwapEntry == 0) in MmWriteToSwapPage() 166 i = FILE_FROM_ENTRY(SwapEntry); in MmWriteToSwapPage() 167 offset = OFFSET_FROM_ENTRY(SwapEntry) - 1; in MmWriteToSwapPage() 172 DPRINT1("Bad paging file 0x%.8X\n", SwapEntry); in MmWriteToSwapPage() 204 MmReadFromSwapPage(SWAPENTRY SwapEntry, PFN_NUMBER Page) in MmReadFromSwapPage() argument 206 return MiReadPageFile(Page, FILE_FROM_ENTRY(SwapEntry), OFFSET_FROM_ENTRY(SwapEntry)); in MmReadFromSwapPage()
|
H A D | section.c | 1099 SWAPENTRY SwapEntry; in MmUnsharePageEntrySectionSegment() local 1158 if (SwapEntry) in MmUnsharePageEntrySectionSegment() 1161 MmFreeSwapPage(SwapEntry); in MmUnsharePageEntrySectionSegment() 1475 SWAPENTRY SwapEntry; in MmAlterViewAttributes() local 1553 SWAPENTRY SwapEntry; in MmNotPresentFaultSectionView() local 1805 SWAPENTRY SwapEntry; in MmNotPresentFaultSectionView() local 3490 if (SwapEntry != 0) in MmFreeSectionPage() 3495 MmFreeSwapPage(SwapEntry); in MmFreeSectionPage() 5233 if (!SwapEntry) in MmCheckDirtySegment() 5238 if (SwapEntry) in MmCheckDirtySegment() [all …]
|
H A D | marea.c | 314 SWAPENTRY SwapEntry = 0; in MmFreeMemoryArea() local 320 MmDeletePageFileMapping(Process, (PVOID)Address, &SwapEntry); in MmFreeMemoryArea() 335 Page, SwapEntry, (BOOLEAN)Dirty); in MmFreeMemoryArea()
|
/reactos/ntoskrnl/mm/i386/ |
H A D | page.c | 375 SWAPENTRY* SwapEntry) in MmDeletePageFileMapping() argument 417 *SwapEntry = OldPte.u.Long >> 1; in MmDeletePageFileMapping() 549 MmGetPageFileMapping(PEPROCESS Process, PVOID Address, SWAPENTRY* SwapEntry) in MmGetPageFileMapping() argument 557 *SwapEntry = 0; in MmGetPageFileMapping() 570 *SwapEntry = 0; in MmGetPageFileMapping() 578 *SwapEntry = PointerPte->u.Long >> 1; in MmGetPageFileMapping() 580 *SwapEntry = 0; in MmGetPageFileMapping() 589 SWAPENTRY SwapEntry) in MmCreatePageFileMapping() argument 601 if (SwapEntry & ((ULONG_PTR)1 << (RTL_BITS_OF(SWAPENTRY) - 1))) in MmCreatePageFileMapping() 613 Pte = InterlockedExchangePte(PointerPte, SwapEntry << 1); in MmCreatePageFileMapping() [all …]
|
H A D | pagepae.c | 748 SWAPENTRY* SwapEntry) in MmDeletePageFileMapping() argument 761 *SwapEntry = 0; in MmDeletePageFileMapping() 795 *SwapEntry = Pte >> 1; in MmDeletePageFileMapping() 806 *SwapEntry = 0; in MmDeletePageFileMapping() 839 *SwapEntry = Pte >> 1; in MmDeletePageFileMapping() 1060 SWAPENTRY SwapEntry) in MmCreatePageFileMapping() argument 1072 if (SwapEntry & (1 << 31)) in MmCreatePageFileMapping() 1088 tmpPte = SwapEntry << 1; in MmCreatePageFileMapping() 1119 (void)InterlockedExchangeUL(Pt, SwapEntry << 1); in MmCreatePageFileMapping()
|
/reactos/ntoskrnl/cache/section/ |
H A D | reqtools.c | 235 Status = MmReadFromSwapPage(Resources->SwapEntry, in MiSwapInPage() 244 Resources->SwapEntry); in MiSwapInPage() 248 Resources->SwapEntry); in MiSwapInPage()
|
H A D | fault.c | 175 if (Required->SwapEntry) in MmNotPresentFaultCachePage() 176 MmSetSavedSwapEntryPage(Required->Page[0], Required->SwapEntry); in MmNotPresentFaultCachePage() 402 SWAPENTRY SwapEntry; in MiCowCacheSectionPage() local 405 MmGetPageFileMapping(Process, Address, &SwapEntry); in MiCowCacheSectionPage() 407 if (SwapEntry == MM_WAIT_ENTRY) in MiCowCacheSectionPage()
|
H A D | data.c | 667 SWAPENTRY SwapEntry, in MmFreeCacheSectionPage() argument 681 SwapEntry, in MmFreeCacheSectionPage() 706 if (SwapEntry != 0) in MmFreeCacheSectionPage() 708 MmFreeSwapPage(SwapEntry); in MmFreeCacheSectionPage()
|
H A D | swapout.c | 306 SWAPENTRY SwapEntry; in MmPageOutCacheSection() local 307 MmGetPageFileMapping(Process, PAddress, &SwapEntry); in MmPageOutCacheSection() 309 return SwapEntry == MM_WAIT_ENTRY ? STATUS_SUCCESS + 1 : STATUS_UNSUCCESSFUL; in MmPageOutCacheSection()
|
H A D | newmm.h | 64 SWAPENTRY SwapEntry; member 222 SWAPENTRY SwapEntry,
|
/reactos/ntoskrnl/mm/arm/ |
H A D | page.c | 189 IN SWAPENTRY *SwapEntry) in MmDeletePageFileMapping() argument 198 IN SWAPENTRY SwapEntry) in MmCreatePageFileMapping() argument 302 SWAPENTRY* SwapEntry) in MmGetPageFileMapping() argument
|
H A D | stubs.c | 516 IN SWAPENTRY *SwapEntry) in MmDeletePageFileMapping() argument 528 IN SWAPENTRY SwapEntry) in MmCreatePageFileMapping() argument
|
/reactos/ntoskrnl/include/internal/ |
H A D | mm.h | 391 SWAPENTRY SwapEntry; member 539 SWAPENTRY SwapEntry, 730 SWAPENTRY SwapEntry, 737 SWAPENTRY SwapEntry, 1191 SWAPENTRY* SwapEntry 1199 SWAPENTRY SwapEntry 1207 SWAPENTRY *SwapEntry);
|