MiLockPageInline
INT64 __fastcall MiLockPageInline(INT64 a1){
unsigned __int8 CurrentIrql;
UINT64 SpinCount;
CurrentIrql = KeGetCurrentIrql();
__writecr8(2ui64);
LODWORD(SpinCount) = 0;
while( _interlockedbittestandset64((volatile signed __int32 *)(a1 + 24), 0x3Fui64) )
{
do
KeYieldProcessorEx(&SpinCount);
while( *(__int64 *)(a1 + 24) < 0 );
}
return CurrentIrql;
}Referenced by:
KiInSwapProcesses
MiAddExpansionNonPagedPool
MiAddToReservationCluster
MiAllocateContiguousMemory
MiAllocateDummyPage
MiAssignInitialPageAttribute
MiBuildForkPageTable
MiBuildMappedCluster
MiBuildReservationCluster
MiCaptureProtectionFromLockedProto
MiChangeAwePageAttributes
MiChangePageAttribute
MiChangePageAttributeBatch
MiChangePageAttributeContiguous
MiChangePageAttributeLargeFreeZeroPage
MiCheckProtoPtePageState
MiClearDriverHotPatchPtes
MiClearPfnImageVerified
MiCoalesceFreeLargePages
MiCompletePrivateZeroFault
MiCompleteProtoPteFault
MiComputeOptimalZeroPath
MiCopyDataPageToImagePage
MiCopyPage
MiCopySinglePage
MiCreateDecayPfn
MiCreateEnclaveRegions
MiDecrementAweMapCount
MiDecrementProtoShareCounts
MiDeleteDirectMapFixupPfn
MiDeleteEnclavePage
MiDeleteSubsectionLargePages
MiDeleteTopLevelPage
MiDemoteCombinedPte
MiDoubleLockMdlPage
MiDoubleUnlockMdlPage
MiDrainZeroLookasides
MiDuplicateCloneLeaf
MiEnableNewPfns
MiExtendPagingFileMaximum
MiFillNoReservationCluster
MiFinalizeImageHeaderPage
MiFinishHardFault
MiFinishLargePageFree
MiFinishLastForkPageTable
MiFreeBootPageTable
MiFreeContiguousPages
MiFreeLargeInitializationCodePages
MiFreeLargePageChain
MiFreeLargePageMemory
MiFreeLargeZeroPages
MiFreeModifiedReservations
MiFreePageFileHashPfns
MiFreePagesFromMdl
MiFreePhysicalPageChain
MiFreeSmallPageFromMdl
MiFreeUnmappedPageTables
MiGatherMappedPages
MiGatherPagefilePages
MiGetPageForHeader
MiGetPageFromSlabAllocator
MiGetPagePrivilege
MiGetPfnPageSizeIndexUnsynchronized
MiGetSinglePageToZero
MiGetSystemPage
MiInPageSingleKernelStack
MiIncrementAweMapCount
MiIncrementPfn
MiInitializeDynamicPfns
MiInitializeEnclavePfn
MiInitializeLargeUserBasePfn
MiInitializePfn
MiInitializePfnForOtherProcess
MiInitializeSharedUserData
MiLockAndDecrementShareCount
MiLockAndIncrementShareCount
MiLockAndInsertPageInFreeList
MiLockNonPagedPoolPte
MiLockOwnedProtoPage
MiLockPage
MiLockProtoPage
MiLockTransitionLeafPage
MiMakeOutswappedPageResident
MiMakePageAvoidRead
MiMakePageBad
MiMakeProtoAddressValid
MiMakeSystemCachePteValid
MiMakeSystemCacheRangeValid
MiMapPageFileHash
MiMapSystemCachePage
MiMarkFileOnlyPfnBad
MiMarkMdlComplete
MiMarkPfnTradable
MiMarkPfnVerified
MiMigratePfn
MiMirrorPerformBrownWrites
MiMoveLargeFreePage
MiPreInitializeSystemImagePage
MiPrivateFixup
MiPruneStandbyPages
MiPurgeBadFileOnlyPages
MiPurgeZeroList
MiReleaseFreshPage
MiReleaseInPageRefs
MiRelockProtoPoolPage
MiRemoveBadPages
MiResolveProtoPteFault
MiReturnBadPagesToBadList
MiReturnEnclavePage
MiReturnPfnList
MiReturnPfnReferenceCount
MiReturnPhysicalPoolPages
MiScrubNode
MiScrubNodeLargePageList
MiSetPageTablePfnBuddy
MiSetPfnOwnedAndActive
MiSharePages
MiSplitDirectMapPage
MiStoreUpdatePagefileHash
MiStoreWriteModifiedPages
MiSwapStackPage
MiSwitchToPfns
MiSwitchToTransition
MiTradePage
MiTradeTransitionPage
MiTransferPartitionPageRun
MiTrimSharedPage
MiTrimSharedPageFromViews
MiTryUnlinkNodeLargePage
MiUnlockCodePage
MiUnlockPagedAddress
MiUnmapMdlCommon
MiUpdateEnclavePfnProtection
MiUpdateImportRelocationsOnDriverPrivatePages
MiUpdateLargePageSectionPfns
MiUpdatePfnBackingStore
MiValidatePagefilePageHash
MiWaitForCollidedFaultComplete
MiWalkEntireImage
MiWriteComplete
MmAllocateNonChargedSecurePages
MmAllocateSecureKernelPages
MmCheckCachedPageStates
MmCopyToCachedPage
MmFreeNonChargedSecurePages
MmFreeSecureKernelPages
MmGetPageBadStatus
MmMapHotPatchTablePage
MmMarkPhysicalMemoryAsBad
MmProtectPool
MmSetPfnListInfo
MmUnmapViewInSystemCache
MxCreateFreePfns
MxSwapPages
SmIoRequestComplete