示例#1
0
int DiskPerfStartDevice(int DiskPerfStartDevice_DeviceObject , int DiskPerfStartDevice_Irp ) 
{ int DiskPerfStartDevice_DeviceObject__DeviceExtension ;
  int DiskPerfStartDevice_deviceExtension__TargetDeviceObject ;
  int DiskPerfStartDevice_Irp__IoStatus__Status ;
  int DiskPerfStartDevice_deviceExtension ;
  int DiskPerfStartDevice_status ;

  {
  DiskPerfStartDevice_deviceExtension = DiskPerfStartDevice_DeviceObject__DeviceExtension;
  DiskPerfStartDevice_status = DiskPerfForwardIrpSynchronous(DiskPerfStartDevice_DeviceObject, DiskPerfStartDevice_Irp);
  DiskPerfSyncFilterWithTarget(DiskPerfStartDevice_DeviceObject, DiskPerfStartDevice_deviceExtension__TargetDeviceObject);
  DiskPerfRegisterDevice(DiskPerfStartDevice_DeviceObject);
  DiskPerfStartDevice_Irp__IoStatus__Status = DiskPerfStartDevice_status;
  myStatus = DiskPerfStartDevice_status;
  IofCompleteRequest(DiskPerfStartDevice_Irp, 0);
  return (DiskPerfStartDevice_status);
}
}
示例#2
0
int DiskPerfRemoveDevice(int DiskPerfRemoveDevice_DeviceObject , int DiskPerfRemoveDevice_Irp ) 
{ int DiskPerfRemoveDevice_DeviceObject__DeviceExtension ;
  int DiskPerfRemoveDevice_deviceExtension__WmilibContext ;
  int DiskPerfRemoveDevice_Irp__IoStatus__Status ;
  int DiskPerfRemoveDevice_status ;
  int DiskPerfRemoveDevice_deviceExtension ;
  int DiskPerfRemoveDevice_wmilibContext ;

  {
    DiskPerfRemoveDevice_deviceExtension = DiskPerfRemoveDevice_DeviceObject__DeviceExtension;
    DiskPerfRemoveDevice_wmilibContext = DiskPerfRemoveDevice_deviceExtension__WmilibContext;
    DiskPerfRemoveDevice_status = DiskPerfForwardIrpSynchronous(DiskPerfRemoveDevice_DeviceObject, DiskPerfRemoveDevice_Irp);
    DiskPerfRemoveDevice_Irp__IoStatus__Status = DiskPerfRemoveDevice_status;
    myStatus = DiskPerfRemoveDevice_status;
    IofCompleteRequest(DiskPerfRemoveDevice_Irp, 0);
    return (DiskPerfRemoveDevice_status);
  }
}
int DiskPerfRemoveDevice(int DeviceObject , int Irp ) 
{ int DeviceObject__DeviceExtension = __VERIFIER_nondet_int() ;
  int deviceExtension__WmilibContext = __VERIFIER_nondet_int() ;
  int Irp__IoStatus__Status ;
  int status ;
  int deviceExtension ;
  int wmilibContext ;

  {
  {
  deviceExtension = DeviceObject__DeviceExtension;
  wmilibContext = deviceExtension__WmilibContext;
  status = DiskPerfForwardIrpSynchronous(DeviceObject, Irp);
  Irp__IoStatus__Status = status;
  myStatus = status;
  IofCompleteRequest(Irp, 0);
  }
  return (status);
}
}
int DiskPerfStartDevice(int DeviceObject , int Irp ) 
{ int DeviceObject__DeviceExtension = __VERIFIER_nondet_int() ;
  int deviceExtension__TargetDeviceObject = __VERIFIER_nondet_int() ;
  int Irp__IoStatus__Status ;
  int deviceExtension ;
  int status ;

  {
  {
  deviceExtension = DeviceObject__DeviceExtension;
  status = DiskPerfForwardIrpSynchronous(DeviceObject, Irp);
  DiskPerfSyncFilterWithTarget(DeviceObject, deviceExtension__TargetDeviceObject);
  DiskPerfRegisterDevice(DeviceObject);
  Irp__IoStatus__Status = status;
  myStatus = status;
  IofCompleteRequest(Irp, 0);
  }
  return (status);
}
}