PoDeviceAcquireIrp

VOID __stdcall PoDeviceAcquireIrp(_IRP *Irp, UINT8 MinorFunction, _DEVICE_OBJECT *DeviceObject){
  if( (unsigned __int8)(MinorFunction - 2) <= 1u )
  {
    if( DeviceObject )
    {
      *(_QWORD *)(*((_QWORD *)&Irp->Tail.IrpExtension + 9 * Irp->StackCount) + 40i64) = DeviceObject;
      PopDiagTraceDeviceAcquireIrp(Irp, DeviceObject);
    }
  }
}

Referenced by:

IopfCompleteRequest
PoHandleIrp
PopIrpWorker