MiWakeModifiedPageWriter

VOID __stdcall MiWakeModifiedPageWriter(_MI_PARTITION *Partition, UINT64 ModifiedPagesLowPriorityGoal){
  if( ModifiedPagesLowPriorityGoal == -1i64 )
  {
    if( *((_DWORD *)Partition + 173) )
      KeSetEvent((PRKEVENT)Partition + 29, 0);
    if( *((_DWORD *)Partition + 180) != 18 && ExAcquireRundownProtection((PEX_RUNDOWN_REF)Partition + 119) )
    {
      KeSetActualBasePriorityThread(*((_QWORD *)Partition + 118), 18);
      ExReleaseRundownProtection((PEX_RUNDOWN_REF)Partition + 119);
    }
  }
  else
  {
    *((_QWORD *)Partition + 91) = ModifiedPagesLowPriorityGoal;
  }
  KeSetEvent((PRKEVENT)((char *)Partition + 736), 0);
}

Referenced by:

MiAdjustModifiedPageLoad
MiFlushAllHintedStorePages
MiFlushAllPagesWorker
MiInsertPageInList
MiObtainFreePages