PspIoRateEntryDeactivate
VOID __stdcall PspIoRateEntryDeactivate(_PS_IO_CONTROL_ENTRY *IoControlEntry){
void *VolumeIoAttribution;
ExWaitForRundownProtectionRelease(&IoControlEntry->Rundown);
IoStopIoRateControl(IoControlEntry->IoControl);
VolumeIoAttribution = IoControlEntry->VolumeIoAttribution;
IoControlEntry->IoControl = 0i64;
if( VolumeIoAttribution )
{
IoStopDiskIoAttributionForContext(VolumeIoAttribution);
IoDiskIoAttributionDereference(IoControlEntry->VolumeIoAttribution);
IoControlEntry->VolumeIoAttribution = 0i64;
}
}Referenced by:
PspIoRateEntryActivate
PspJobIoRateControlDisable
PspSetJobIoRateControl
PspSetJobIoRateControlForVolume