Home
last modified time | relevance | path

Searched refs:WorkItemData (Results 1 – 7 of 7) sorted by relevance

/reactos/drivers/serial/serial/
H A Drw.c31 PWORKITEM_DATA WorkItemData) in ReadBytes() argument
45 ASSERT(WorkItemData); in ReadBytes()
53 WorkItemData->UseIntervalTimeout ? WorkItemData->IntervalTimeout.QuadPart : 0); in ReadBytes()
90 if (WorkItemData->DontWait in ReadBytes()
131 PWORKITEM_DATA WorkItemData; in SerialReadWorkItem() local
137 Irp = WorkItemData->Irp; in SerialReadWorkItem()
156 PWORKITEM_DATA WorkItemData; in SerialRead() local
181 if (!WorkItemData) in SerialRead()
187 WorkItemData->Irp = Irp; in SerialRead()
196 WorkItemData->DontWait = TRUE; in SerialRead()
[all …]
/reactos/drivers/usb/usbstor_new/
H A Derror.c237 …dle(WorkItemData->Context->FDODeviceExtension->LowerDeviceObject, WorkItemData->Context->FDODevice… in USBSTOR_ResetHandlerWorkItemRoutine()
243 USBSTOR_SendCSW(WorkItemData->Context, WorkItemData->Irp); in USBSTOR_ResetHandlerWorkItemRoutine()
253 if (WorkItemData->Context->ErrorIndex == 2) in ErrorHandlerWorkItemRoutine()
258 USBSTOR_HandleTransferError(WorkItemData->DeviceObject, WorkItemData->Context); in ErrorHandlerWorkItemRoutine()
265 USBSTOR_ResetHandlerWorkItemRoutine(WorkItemData); in ErrorHandlerWorkItemRoutine()
271 ExFreePoolWithTag(WorkItemData, USB_STOR_TAG); in ErrorHandlerWorkItemRoutine()
329 ExFreePoolWithTag(WorkItemData, USB_STOR_TAG); in USBSTOR_TimerWorkerRoutine()
341 PERRORHANDLER_WORKITEM_DATA WorkItemData; in USBSTOR_TimerRoutine() local
392 WorkItemData = ExAllocatePoolWithTag(NonPagedPool, in USBSTOR_TimerRoutine()
395 if (WorkItemData) in USBSTOR_TimerRoutine()
[all …]
/reactos/drivers/usb/usbstor/
H A Derror.c172 PERRORHANDLER_WORKITEM_DATA WorkItemData = (PERRORHANDLER_WORKITEM_DATA)Context; in USBSTOR_TimerWorkerRoutine() local
174 FDODeviceExtension = (PFDO_DEVICE_EXTENSION)WorkItemData->DeviceObject->DeviceExtension; in USBSTOR_TimerWorkerRoutine()
200 ExFreePoolWithTag(WorkItemData, USB_STOR_TAG); in USBSTOR_TimerWorkerRoutine()
211 PERRORHANDLER_WORKITEM_DATA WorkItemData; in USBSTOR_TimerRoutine() local
245 WorkItemData = ExAllocatePoolWithTag(NonPagedPool, in USBSTOR_TimerRoutine()
248 if (WorkItemData) in USBSTOR_TimerRoutine()
251 ExInitializeWorkItem(&WorkItemData->WorkQueueItem, in USBSTOR_TimerRoutine()
253 WorkItemData); in USBSTOR_TimerRoutine()
255 WorkItemData->DeviceObject = FDODeviceExtension->FunctionalDeviceObject; in USBSTOR_TimerRoutine()
258 ExQueueWorkItem(&WorkItemData->WorkQueueItem, DelayedWorkQueue); in USBSTOR_TimerRoutine()
/reactos/drivers/input/i8042prt/
H A Di8042prt.c104 PI8042_HOOK_WORKITEM WorkItemData; in i8042SendHookWorkItem() local
118 WorkItemData = (PI8042_HOOK_WORKITEM)Context; in i8042SendHookWorkItem()
146 WorkItemData->Irp->IoStatus.Status = STATUS_INTERNAL_ERROR; in i8042SendHookWorkItem()
168 WorkItemData->Irp->IoStatus.Status = STATUS_INSUFFICIENT_RESOURCES; in i8042SendHookWorkItem()
206 WorkItemData->Irp->IoStatus.Status = Status; in i8042SendHookWorkItem()
212 WorkItemData->Irp->IoStatus.Status = STATUS_SUCCESS; in i8042SendHookWorkItem()
217 WorkItemData->Irp->IoStatus.Information = 0; in i8042SendHookWorkItem()
218 IoCompleteRequest(WorkItemData->Irp, IO_NO_INCREMENT); in i8042SendHookWorkItem()
220 IoFreeWorkItem(WorkItemData->WorkItem); in i8042SendHookWorkItem()
221 ExFreePoolWithTag(WorkItemData, I8042PRT_TAG); in i8042SendHookWorkItem()
H A Dkeyboard.c531 PI8042_HOOK_WORKITEM WorkItemData = NULL; in i8042KbdInternalDeviceControl() local
551 WorkItemData = ExAllocatePoolWithTag( in i8042KbdInternalDeviceControl()
555 if (!WorkItemData) in i8042KbdInternalDeviceControl()
561 WorkItemData->WorkItem = WorkItem; in i8042KbdInternalDeviceControl()
562 WorkItemData->Irp = Irp; in i8042KbdInternalDeviceControl()
608 WorkItemData); in i8042KbdInternalDeviceControl()
621 if (WorkItemData) in i8042KbdInternalDeviceControl()
622 ExFreePoolWithTag(WorkItemData, I8042PRT_TAG); in i8042KbdInternalDeviceControl()
H A Dmouse.c401 PI8042_HOOK_WORKITEM WorkItemData = NULL; in i8042MouInternalDeviceControl() local
421 WorkItemData = ExAllocatePoolWithTag( in i8042MouInternalDeviceControl()
425 if (!WorkItemData) in i8042MouInternalDeviceControl()
431 WorkItemData->WorkItem = WorkItem; in i8042MouInternalDeviceControl()
432 WorkItemData->Irp = Irp; in i8042MouInternalDeviceControl()
471 WorkItemData); in i8042MouInternalDeviceControl()
480 if (WorkItemData) in i8042MouInternalDeviceControl()
481 ExFreePoolWithTag(WorkItemData, I8042PRT_TAG); in i8042MouInternalDeviceControl()
/reactos/drivers/bus/acpi/
H A Deval.c846 PEVAL_WORKITEM_DATA WorkItemData = Parameter; in Bus_PDO_EvalMethodWorker() local
852 Irp = WorkItemData->Irp; in Bus_PDO_EvalMethodWorker()
854 Status = Bus_PDO_EvalMethod(WorkItemData->DeviceData, Irp); in Bus_PDO_EvalMethodWorker()
856 ExFreePoolWithTag(WorkItemData, 'ipcA'); in Bus_PDO_EvalMethodWorker()