IoStopDiskIoAttributionForContext

VOID __fastcall IoStopDiskIoAttributionForContext(UINT64 TimeOutInSeconds){
  unsigned __int64 v2; 
  v2 = ExAcquireSpinLockExclusive(&IopDiskIoAttributionLock);
  RtlRbRemoveNode((unsigned __int64 *)&IopDiskIoAttributionTree, TimeOutInSeconds);
  *(_QWORD *)(TimeOutInSeconds + 16) = -1i64;
  ExReleaseSpinLockExclusiveFromDpcLevel((INT64 *)&IopDiskIoAttributionLock);
  __writecr8(v2);
  ExWaitForRundownProtectionRelease((EX_RUNDOWN_REF *)(TimeOutInSeconds + 168));
}

Referenced by:

PspIoRateEntryActivate
PspIoRateEntryDeactivate
PspRemoveIoAttribution