/reactos/ntoskrnl/io/iomgr/ |
H A D | irp.c | 245 PIRP Irp; in IopCompleteRequest() local 350 *Irp->UserIosb = Irp->IoStatus; in IopCompleteRequest() 495 *Irp->UserIosb = Irp->IoStatus; in IopCompleteRequest() 665 if (!Irp) in IoAllocateIrp() 719 PIRP Irp; in IopAllocateIrpMustSucceed() local 724 if (Irp) in IopAllocateIrpMustSucceed() 757 PIRP Irp; in IoBuildAsynchronousFsdRequest() local 1485 *Irp->UserIosb = Irp->IoStatus; in IofCompleteRequest() 1632 if (Irp->CurrentLocation > Irp->StackCount || Irp->CurrentLocation <= 1) in IoForwardIrpSynchronously() 1679 ASSERT(Irp->CurrentLocation >= Irp->StackCount); in IoFreeIrp() [all …]
|
H A D | iofunc.c | 35 if (Irp) in IopCleanupAfterException() 45 if (Irp->MdlAddress) IoFreeMdl(Irp->MdlAddress); in IopCleanupAfterException() 212 PIRP Irp; in IopDeviceFsIoControl() local 660 PIRP Irp; in IopQueryDeviceInformation() local 783 PIRP Irp; in IopGetFileInformation() local 1152 PIRP Irp; in IoSynchronousPageWrite() local 1207 PIRP Irp; in IoPageRead() local 1320 PIRP Irp; in IoSetInformation() local 1491 PIRP Irp; in NtFlushBuffersFile() local 1632 PIRP Irp; in NtNotifyChangeDirectoryFile() local [all …]
|
/reactos/drivers/wdm/audio/backpln/portcls/ |
H A D | irp.cpp | 19 PIRP Irp; member 27 IN PIRP Irp) in PortClsCreate() argument 38 IN PIRP Irp) in PortClsPnp() argument 204 IN PIRP Irp) in PortClsPower() argument 331 PwrContext->Irp = Irp; in PortClsPower() 369 IN PIRP Irp) in PortClsSysControl() argument 386 IN PIRP Irp) in PortClsShutdown() argument 411 IN PIRP Irp) in PcDispatchIrp() argument 460 IN PIRP Irp, in PcCompleteIrp() argument 479 IN PIRP Irp, in CompletionRoutine() argument [all …]
|
/reactos/drivers/storage/floppy/floppy/ |
H A D | ioctl.c | 54 ASSERT(Irp); in DeviceIoctl() 57 IoCsqInsertIrp(&Csq, Irp, NULL); in DeviceIoctl() 81 Irp->IoStatus.Status = STATUS_SUCCESS; in DeviceIoctlPassive() 82 Irp->IoStatus.Information = 0; in DeviceIoctlPassive() 130 Irp->IoStatus.Information = 0; in DeviceIoctlPassive() 147 Irp->IoStatus.Information = 0; in DeviceIoctlPassive() 175 Irp->IoStatus.Information = 0; in DeviceIoctlPassive() 222 Irp->IoStatus.Information = 0; in DeviceIoctlPassive() 245 Irp->IoStatus.Information = 0; in DeviceIoctlPassive() 251 Irp->IoStatus.Information = 0; in DeviceIoctlPassive() [all …]
|
/reactos/drivers/network/afd/afd/ |
H A D | lock.c | 15 ASSERT(Irp->MdlAddress); in GetLockedData() 24 PVOID LockRequest( PIRP Irp, in LockRequest() argument 30 ASSERT(!Irp->MdlAddress); in LockRequest() 40 Irp->MdlAddress = in LockRequest() 48 MmProbeAndLockPages( Irp->MdlAddress, Irp->RequestorMode, IoModifyAccess ); in LockRequest() 108 Irp->MdlAddress = in LockRequest() 182 ASSERT(Irp->MdlAddress); in UnlockRequest() 198 Irp->MdlAddress = NULL; in UnlockRequest() 379 if ( Irp->MdlAddress ) UnlockRequest( Irp, IoGetCurrentIrpStackLocation( Irp ) ); in UnlockAndMaybeComplete() 392 if ( Irp->MdlAddress ) UnlockRequest( Irp, IoGetCurrentIrpStackLocation( Irp ) ); in LostSocket() [all …]
|
/reactos/drivers/ksfilter/swenum/ |
H A D | swenum.c | 18 IN PIRP Irp) in SwDispatchPower() argument 38 PoStartNextPowerIrp(Irp); in SwDispatchPower() 59 PoStartNextPowerIrp(Irp); in SwDispatchPower() 69 PoStartNextPowerIrp(Irp); in SwDispatchPower() 85 IN PIRP Irp) in SwDispatchPnp() argument 202 Irp->IoStatus.Status = Status; in SwDispatchPnp() 212 IN PIRP Irp) in SwDispatchSystemControl() argument 247 Irp->IoStatus.Status = Status; in SwDispatchSystemControl() 258 IN PIRP Irp) in SwDispatchDeviceControl() argument 306 IN PIRP Irp) in SwDispatchCreate() argument [all …]
|
/reactos/drivers/bluetooth/fbtusb/ |
H A D | fbtpwr.c | 82 IoMarkIrpPending(Irp); in FreeBT_DispatchPower() 137 Irp, in FreeBT_DispatchPower() 232 Irp, in HandleSystemQueryPower() 266 Irp, in HandleSystemSetPower() 525 Irp, in HandleDeviceSetPower() 588 Irp, in HandleDeviceSetPower() 740 context->Irp = Irp; in HoldIoRequests() 844 IoMarkIrpPending(Irp); in QueueRequest() 925 PIRP Irp; in CancelWaitWake() local 931 if(Irp) in CancelWaitWake() [all …]
|
/reactos/drivers/hid/hidclass/ |
H A D | fdo.c | 20 IN PIRP Irp, in HidClassFDO_QueryCapabilitiesCompletionRoutine() argument 39 PIRP Irp; in HidClassFDO_QueryCapabilities() local 60 if (!Irp) in HidClassFDO_QueryCapabilities() 131 IN PIRP Irp, in HidClassFDO_DispatchRequestSynchronousCompletion() argument 149 IN PIRP Irp) in HidClassFDO_DispatchRequestSynchronous() argument 219 IN PIRP Irp) in HidClassFDO_DispatchRequest() argument 268 PIRP Irp; in HidClassFDO_GetDescriptors() local 282 if (!Irp) in HidClassFDO_GetDescriptors() 395 IN PIRP Irp) in HidClassFDO_StartDevice() argument 466 IN PIRP Irp) in HidClassFDO_RemoveDevice() argument [all …]
|
H A D | hidclass.c | 136 IN PIRP Irp) in HidClass_Create() argument 218 IN PIRP Irp) in HidClass_Close() argument 353 IN PIRP Irp, in HidClass_ReadCompleteIrp() argument 532 return Irp; in HidClass_GetIrp() 545 PIRP Irp; in HidClass_BuildIrp() local 556 if (!Irp) in HidClass_BuildIrp() 562 if (!Irp) in HidClass_BuildIrp() 686 IN PIRP Irp) in HidClass_Read() argument 802 IN PIRP Irp) in HidClass_Write() argument 859 IN PIRP Irp) in HidClass_DeviceControl() argument [all …]
|
/reactos/ntoskrnl/fsrtl/ |
H A D | oplock.c | 47 PIRP Irp; member 86 PIRP Irp; in FsRtlRemoveAndCompleteWaitIrp() local 93 Irp = WaitCtx->Irp; in FsRtlRemoveAndCompleteWaitIrp() 103 Irp->IoStatus.Status = (Irp->Cancel ? STATUS_CANCELLED : STATUS_SUCCESS); in FsRtlRemoveAndCompleteWaitIrp() 149 IN PIRP Irp, in FsRtlWaitOnIrp() argument 167 WaitCtx->Irp = Irp; in FsRtlWaitOnIrp() 203 if (Irp->Cancel) in FsRtlWaitOnIrp() 304 Irp->IoStatus.Status = (Irp->Cancel ? STATUS_CANCELLED : STATUS_SUCCESS); in FsRtlRemoveAndCompleteIrp() 414 if (Irp->Cancel) in FsRtlAcknowledgeOplockBreak() 1605 PIRP Irp; in FsRtlUninitializeOplock() local [all …]
|
/reactos/drivers/ksfilter/ks/ |
H A D | irp.c | 24 IN PIRP Irp) in KsDispatchQuerySecurity() argument 69 IN PIRP Irp) in KsDispatchSetSecurity() argument 154 PIRP Irp; in KsReadFile() local 214 if (!Irp) in KsReadFile() 265 PIRP Irp; in KsWriteFile() local 325 if (!Irp) in KsWriteFile() 372 PIRP Irp; in KsQueryInformationFile() local 432 if (!Irp) in KsQueryInformationFile() 477 PIRP Irp; in KsSetInformationFile() local 520 if (!Irp) in KsSetInformationFile() [all …]
|
/reactos/drivers/hid/kbdhid/ |
H A D | kbdhid.c | 111 IN PIRP Irp, in KbdHid_ReadCompletion() argument 240 IN PIRP Irp, in KbdHid_CreateCompletion() argument 252 IN PIRP Irp) in KbdHid_Create() argument 328 IN PIRP Irp) in KbdHid_Close() argument 365 IN PIRP Irp) in KbdHid_InternalDeviceControl() argument 569 IN PIRP Irp) in KbdHid_DeviceControl() argument 587 IN PIRP Irp) in KbdHid_Power() argument 601 IN PIRP Irp) in KbdHid_SystemControl() argument 621 PIRP Irp; in KbdHid_SubmitRequest() local 641 if (!Irp) in KbdHid_SubmitRequest() [all …]
|
/reactos/sdk/lib/drivers/csq/ |
H A D | csq.c | 179 _Inout_ PIRP Irp, in IoCsqInsertIrp() argument 207 _Inout_ PIRP Irp, in IoCsqInsertIrpEx() argument 225 Context->Irp = Irp; in IoCsqInsertIrpEx() 331 PIRP Irp = NULL; in IoCsqRemoveIrp() local 338 Irp = Context->Irp; in IoCsqRemoveIrp() 340 if(!Irp) in IoCsqRemoveIrp() 352 Irp = NULL; in IoCsqRemoveIrp() 376 return Irp; in IoCsqRemoveIrp() 403 PIRP Irp = NULL; in IoCsqRemoveNextIrp() local 408 while((Irp = Csq->CsqPeekNextIrp(Csq, Irp, PeekContext))) in IoCsqRemoveNextIrp() [all …]
|
/reactos/sdk/lib/drivers/wdf/shared/irphandlers/pnp/ |
H A D | fdopower.cpp | 45 __in FxIrp *Irp in _PowerPassDown() argument 71 pIrp = Irp->GetIrp(); in _PowerPassDown() 77 Irp->StartNextPowerIrp(); in _PowerPassDown() 92 __in FxIrp *Irp in _DispatchSetPower() argument 125 __in FxIrp *Irp in _DispatchQueryPower() argument 237 __in FxIrp *Irp in DispatchSystemSetPower() argument 300 __in FxIrp *Irp in DispatchDeviceSetPower() argument 354 __in FxIrp *Irp in RaiseDevicePower() argument 402 __in FxIrp *Irp in LowerDevicePower() argument 418 __in FxIrp *Irp in DispatchSystemQueryPower() argument [all …]
|
/reactos/drivers/wdm/audio/legacy/wdmaud/ |
H A D | control.c | 20 IN PIRP Irp, in WdmAudControlOpen() argument 46 IN PIRP Irp, in WdmAudControlDeviceType() argument 84 IN PIRP Irp, in WdmAudControlDeviceState() argument 120 IN PIRP Irp, in WdmAudCapabilities() argument 151 IN PIRP Irp, in WdmAudIoctlClose() argument 182 IN PIRP Irp, in WdmAudFrameSize() argument 224 IN PIRP Irp, in WdmAudGetDeviceInterface() argument 272 IN PIRP Irp, in WdmAudResetStream() argument 304 IN PIRP Irp) in WdmAudDeviceControl() argument 385 PIRP Irp, in IoCompletion() argument [all …]
|
/reactos/modules/rosapps/drivers/vfd/ |
H A D | vfdpnp.c | 62 IN PIRP Irp) in VfdPlugAndPlay() argument 90 Irp->IoStatus.Status = status; in VfdPlugAndPlay() 91 Irp->IoStatus.Information = 0; in VfdPlugAndPlay() 107 Irp->IoStatus.Status = status; in VfdPlugAndPlay() 108 Irp->IoStatus.Information = 0; in VfdPlugAndPlay() 119 Irp->IoStatus.Status = status; in VfdPlugAndPlay() 120 Irp->IoStatus.Information = 0; in VfdPlugAndPlay() 131 Irp->IoStatus.Status = status; in VfdPlugAndPlay() 307 IN PIRP Irp) in VfdPowerControl() argument 321 PoStartNextPowerIrp(Irp); in VfdPowerControl() [all …]
|
H A D | vfdioctl.c | 31 IN PIRP Irp) in VfdDeviceControl() argument 40 Irp->IoStatus.Information = 0; in VfdDeviceControl() 53 Irp->IoStatus.Status = status; in VfdDeviceControl() 121 &Irp->IoStatus.Information); in VfdDeviceControl() 436 &Irp->IoStatus); in VfdDeviceControl() 447 &Irp->IoStatus); in VfdDeviceControl() 459 &Irp->IoStatus); in VfdDeviceControl() 512 IoMarkIrpPending(Irp); in VfdDeviceControl() 516 &Irp->Tail.Overlay.ListEntry, in VfdDeviceControl() 527 Irp->IoStatus.Status = status; in VfdDeviceControl() [all …]
|
/reactos/drivers/parallel/parport/ |
H A D | pdo.c | 15 IN PIRP Irp) in PdoCreate() argument 37 Irp->IoStatus.Status = Status; in PdoCreate() 38 Irp->IoStatus.Information = 0; in PdoCreate() 48 IN PIRP Irp) in PdoClose() argument 68 IN PIRP Irp) in PdoCleanup() argument 82 IN PIRP Irp) in PdoRead() argument 96 IN PIRP Irp) in PdoWrite() argument 113 Buffer = GetUserBuffer(Irp); in PdoWrite() 162 IN PIRP Irp) in PdoPnp() argument 176 IN PIRP Irp) in PdoPower() argument [all …]
|
/reactos/drivers/filesystems/vfatfs/ |
H A D | blockdev.c | 24 IN PIRP Irp, in VfatReadWritePartialCompletion() argument 53 IrpContext->Irp->IoStatus.Status = Irp->IoStatus.Status; in VfatReadWritePartialCompletion() 62 IoFreeIrp(Irp); in VfatReadWritePartialCompletion() 78 PIRP Irp; in VfatReadDisk() local 97 if (Irp == NULL) in VfatReadDisk() 158 PIRP Irp; in VfatReadDiskPartial() local 172 if (Irp == NULL) in VfatReadDiskPartial() 261 PIRP Irp; in VfatWriteDisk() local 280 if (Irp == NULL) in VfatWriteDisk() 341 PIRP Irp; in VfatWriteDiskPartial() local [all …]
|
/reactos/drivers/usb/usbstor/ |
H A D | queue.c | 30 IN PIRP Irp) in USBSTOR_CancelIo() argument 53 IN PIRP Irp) in USBSTOR_Cancel() argument 77 IN PIRP Irp) in USBSTOR_QueueAddIrp() argument 131 Irp->CancelRoutine(DeviceObject, Irp); in USBSTOR_QueueAddIrp() 167 return Irp; in USBSTOR_RemoveIrp() 188 IN PIRP Irp) in USBSTOR_QueueTerminateRequest() argument 224 PIRP Irp; in USBSTOR_QueueNextRequest() local 243 if (!Irp) in USBSTOR_QueueNextRequest() 266 PIRP Irp; in USBSTOR_QueueRelease() local 284 if (!Irp) in USBSTOR_QueueRelease() [all …]
|
/reactos/drivers/usb/usbstor_new/ |
H A D | queue.c | 46 IN PIRP Irp) in USBSTOR_CancelIo() argument 91 IN PIRP Irp) in USBSTOR_Cancel() argument 146 IN PIRP Irp) in USBSTOR_QueueAddIrp() argument 240 Irp->CancelRoutine(DeviceObject, Irp); in USBSTOR_QueueAddIrp() 309 return Irp; in USBSTOR_RemoveIrp() 336 IN PIRP Irp) in USBSTOR_QueueTerminateRequest() argument 395 PIRP Irp; in USBSTOR_QueueNextRequest() local 429 if (!Irp) in USBSTOR_QueueNextRequest() 474 PIRP Irp; in USBSTOR_QueueRelease() local 512 if (!Irp) in USBSTOR_QueueRelease() [all …]
|
/reactos/drivers/wdm/audio/hdaudbus/ |
H A D | hdaudbus.cpp | 36 _Inout_ PIRP Irp) in HDA_FdoPnp() argument 52 Irp->IoStatus.Status = Status; in HDA_FdoPnp() 90 IoSkipCurrentIrpStackLocation(Irp); in HDA_FdoPnp() 97 _Inout_ PIRP Irp) in HDA_PdoPnp() argument 182 Status = Irp->IoStatus.Status; in HDA_PdoPnp() 186 Irp->IoStatus.Status = Status; in HDA_PdoPnp() 196 _Inout_ PIRP Irp) in HDA_Pnp() argument 216 _Inout_ PIRP Irp) in HDA_SystemControl() argument 240 _Inout_ PIRP Irp) in HDA_Power() argument 249 PoStartNextPowerIrp(Irp); in HDA_Power() [all …]
|
/reactos/drivers/wdm/audio/filters/kmixer/ |
H A D | filter.c | 20 PIRP Irp) in Dispatch_fnDeviceIoControl() argument 26 Irp->IoStatus.Information = 0; in Dispatch_fnDeviceIoControl() 35 PIRP Irp) in Dispatch_fnClose() argument 40 Irp->IoStatus.Information = 0; in Dispatch_fnClose() 63 IN PIRP Irp) in DispatchCreateKMixPin() argument 70 Status = CreatePin(Irp); in DispatchCreateKMixPin() 73 Irp->IoStatus.Status = Status; in DispatchCreateKMixPin() 84 IN PIRP Irp) in DispatchCreateKMixAllocator() argument 92 Irp->IoStatus.Status = Status; in DispatchCreateKMixAllocator() 103 IN PIRP Irp) in DispatchCreateKMix() argument [all …]
|
/reactos/drivers/usb/usbhub/ |
H A D | ioctl.c | 32 if (Irp->PendingReturned) in USBH_SelectConfigOrInterfaceComplete() 34 IoMarkIrpPending(Irp); in USBH_SelectConfigOrInterfaceComplete() 102 Urb = URB_FROM_IRP(Irp); in USBH_PdoUrbFilter() 106 Irp, in USBH_PdoUrbFilter() 221 Urb = URB_FROM_IRP(Irp); in USBH_PdoIoctlSubmitUrb() 413 IoMarkIrpPending(Irp); in USBH_PdoIoctlResetPort() 416 HubWorkItemBuffer->Irp = Irp; in USBH_PdoIoctlResetPort() 474 HubWorkItemBuffer->Irp = Irp; in USBH_PortIdleNotificationCancelRoutine() 526 if (Irp->Cancel) in USBH_PortIdleNotificationRequest() 1146 Irp); in USBH_DeviceControl() [all …]
|
/reactos/media/doc/ |
H A D | irp cancel boilerplate.c | 12 Irp in CancelRoutine() argument 16 IoReleaseCancelSpinLock(Irp->CancelIrql); in CancelRoutine() 24 Irp->IoStatus.Status = STATUS_CANCELLED; in CancelRoutine() 25 Irp->IoStatus.Information = 0; in CancelRoutine() 38 IoSetCancelRoutine(Irp, CancelRoutine); 39 if (Irp->Cancel && IoSetCancelRoutine(Irp, NULL)) 50 Irp->IoStatus.Information = 0; 60 IoMarkIrpPending(Irp); 73 Irp = RemoveHeadList(Queue); 75 if (!IoSetCancelRoutine(Irp, NULL)) [all …]
|