Home
last modified time | relevance | path

Searched refs:SwapEntry (Results 1 – 15 of 15) sorted by relevance

/reactos/ntoskrnl/mm/
H A Drmap.c178 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 Dfreelist.c484 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 Dpagefile.c147 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 Dsection.c1099 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 Dmarea.c314 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 Dpage.c375 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 Dpagepae.c748 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 Dreqtools.c235 Status = MmReadFromSwapPage(Resources->SwapEntry, in MiSwapInPage()
244 Resources->SwapEntry); in MiSwapInPage()
248 Resources->SwapEntry); in MiSwapInPage()
H A Dfault.c175 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 Ddata.c667 SWAPENTRY SwapEntry, in MmFreeCacheSectionPage() argument
681 SwapEntry, in MmFreeCacheSectionPage()
706 if (SwapEntry != 0) in MmFreeCacheSectionPage()
708 MmFreeSwapPage(SwapEntry); in MmFreeCacheSectionPage()
H A Dswapout.c306 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 Dnewmm.h64 SWAPENTRY SwapEntry; member
222 SWAPENTRY SwapEntry,
/reactos/ntoskrnl/mm/arm/
H A Dpage.c189 IN SWAPENTRY *SwapEntry) in MmDeletePageFileMapping() argument
198 IN SWAPENTRY SwapEntry) in MmCreatePageFileMapping() argument
302 SWAPENTRY* SwapEntry) in MmGetPageFileMapping() argument
H A Dstubs.c516 IN SWAPENTRY *SwapEntry) in MmDeletePageFileMapping() argument
528 IN SWAPENTRY SwapEntry) in MmCreatePageFileMapping() argument
/reactos/ntoskrnl/include/internal/
H A Dmm.h391 SWAPENTRY SwapEntry; member
539 SWAPENTRY SwapEntry,
730 SWAPENTRY SwapEntry,
737 SWAPENTRY SwapEntry,
1191 SWAPENTRY* SwapEntry
1199 SWAPENTRY SwapEntry
1207 SWAPENTRY *SwapEntry);