PspIoRateEntryInitialize

VOID __stdcall PspIoRateEntryInitialize(_PS_IO_CONTROL_ENTRY *IoControlEntry){
  _EX_RUNDOWN_REF *p_Rundown; 

  p_Rundown = &IoControlEntry->Rundown;
  IoControlEntry->VolumeTreeNode.0 = 0i64;
  *(_OWORD *)&IoControlEntry->ReservedForParentValue = 0i64;
  *(_OWORD *)&IoControlEntry->Rundown.Count = 0i64;
  IoControlEntry->VolumeIoAttribution = 0i64;
  ExInitializePushLock(&IoControlEntry->Rundown.Count);
  ExWaitForRundownProtectionRelease(p_Rundown);
  ExRundownCompleted((INT64 *)p_Rundown);
  IoControlEntry->VolumeTreeNode.ParentValue = -1i64;
}

Referenced by:

PspSetJobIoRateControlForVolume