MiLockDynamicMemoryExclusive

VOID __stdcall MiLockDynamicMemoryExclusive(_MI_PARTITION *Partition, _ETHREAD *Thread){
  --Thread->Tcb.SpecialApcDisable;
  ExAcquirePushLockExclusiveEx(&Partition->Core.DynamicMemoryPushLock, 0i64);
}

Referenced by:

MiAddPhysicalMemory
MiGetChannelInformation
MiGetPhysicalMemoryRanges
MiMarkHugePfnBad
MiMarkHugePfnGood
MiRemovePhysicalMemory
MiUpdatePartitionLargePfnBitMap
MmDuplicateMemory