|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <wdm.h>#include <ntstrsafe.h>#include <usbdi.h>#include <usbbusif.h>#include <usbdlib.h>#include <classpnp.h>#include <pshpack1.h>#include <poppack.h>

Go to the source code of this file.
Classes | |
| struct | CBW |
| struct | CSW |
| struct | IRP_CONTEXT |
| struct | __COMMON_DEVICE_EXTENSION__ |
| struct | FDO_DEVICE_EXTENSION |
| struct | PDO_DEVICE_EXTENSION |
| struct | _ERRORHANDLER_WORKITEM_DATA |
| struct | _STORAGE_ADAPTER_DESCRIPTOR_WIN8 |
Typedefs | |
| typedef struct CBW * | PCBW |
| typedef struct CSW * | PCSW |
| typedef struct IRP_CONTEXT * | PIRP_CONTEXT |
| typedef struct __COMMON_DEVICE_EXTENSION__ | USBSTOR_COMMON_DEVICE_EXTENSION |
| typedef struct __COMMON_DEVICE_EXTENSION__ * | PUSBSTOR_COMMON_DEVICE_EXTENSION |
| typedef struct FDO_DEVICE_EXTENSION * | PFDO_DEVICE_EXTENSION |
| typedef struct PDO_DEVICE_EXTENSION * | PPDO_DEVICE_EXTENSION |
| typedef struct _ERRORHANDLER_WORKITEM_DATA | ERRORHANDLER_WORKITEM_DATA |
| typedef struct _ERRORHANDLER_WORKITEM_DATA * | PERRORHANDLER_WORKITEM_DATA |
| typedef struct _STORAGE_ADAPTER_DESCRIPTOR_WIN8 | STORAGE_ADAPTER_DESCRIPTOR_WIN8 |
| typedef struct _STORAGE_ADAPTER_DESCRIPTOR_WIN8 * | PSTORAGE_ADAPTER_DESCRIPTOR_WIN8 |
| #define USB_RECOVERABLE_ERRORS |
| typedef struct FDO_DEVICE_EXTENSION * PFDO_DEVICE_EXTENSION |
| typedef struct IRP_CONTEXT * PIRP_CONTEXT |
| typedef struct PDO_DEVICE_EXTENSION * PPDO_DEVICE_EXTENSION |
Definition at line 29 of file misc.c.
Definition at line 28 of file queue.c.
| NTSTATUS USBSTOR_CreatePDO | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN UCHAR | LUN | ||
| ) |
Definition at line 864 of file pdo.c.
Definition at line 276 of file fdo.c.
| NTSTATUS NTAPI USBSTOR_GetBusInterface | ( | IN PDEVICE_OBJECT | DeviceObject, |
| OUT PUSB_BUS_INTERFACE_USBDI_V2 | BusInterface | ||
| ) |
Definition at line 33 of file misc.c.
| NTSTATUS USBSTOR_GetDescriptors | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 75 of file descriptor.c.
| NTSTATUS USBSTOR_GetEndpointStatus | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN UCHAR | bEndpointAddress, | ||
| OUT PUSHORT | Value | ||
| ) |
Definition at line 18 of file error.c.
| NTSTATUS USBSTOR_GetMaxLUN | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PFDO_DEVICE_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 173 of file misc.c.
| NTSTATUS USBSTOR_GetPipeHandles | ( | IN PFDO_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 319 of file descriptor.c.
| NTSTATUS USBSTOR_HandleDeviceControl | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp | ||
| ) |
Definition at line 416 of file disk.c.
| NTSTATUS USBSTOR_HandleExecuteSCSI | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp | ||
| ) |
Definition at line 542 of file scsi.c.
Referenced by USBSTOR_HandleTransferError(), and USBSTOR_StartIo().
| NTSTATUS USBSTOR_HandleInternalDeviceControl | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp | ||
| ) |
Definition at line 84 of file disk.c.
Definition at line 534 of file pdo.c.
| BOOLEAN USBSTOR_QueueAddIrp | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp | ||
| ) |
Definition at line 75 of file queue.c.
| VOID USBSTOR_QueueInitialize | ( | PFDO_DEVICE_EXTENSION | FDODeviceExtension | ) |
Definition at line 17 of file queue.c.
| VOID USBSTOR_QueueNextRequest | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 220 of file queue.c.
| VOID USBSTOR_QueueRelease | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 262 of file queue.c.
| VOID NTAPI USBSTOR_QueueResetDevice | ( | IN PFDO_DEVICE_EXTENSION | FDODeviceExtension | ) |
Definition at line 148 of file error.c.
Referenced by USBSTOR_CBWCompletionRoutine(), USBSTOR_CSWCompletionRoutine(), and USBSTOR_DataCompletionRoutine().
| VOID NTAPI USBSTOR_QueueResetPipe | ( | IN PFDO_DEVICE_EXTENSION | FDODeviceExtension | ) |
Definition at line 135 of file error.c.
Referenced by USBSTOR_CSWCompletionRoutine(), and USBSTOR_DataCompletionRoutine().
| VOID USBSTOR_QueueTerminateRequest | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp | ||
| ) |
Definition at line 186 of file queue.c.
| VOID USBSTOR_QueueWaitForPendingRequests | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 171 of file queue.c.
| NTSTATUS USBSTOR_ResetDevice | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PFDO_DEVICE_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 219 of file misc.c.
| NTSTATUS USBSTOR_ResetPipeWithHandle | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN USBD_PIPE_HANDLE | PipeHandle | ||
| ) |
| NTSTATUS USBSTOR_SelectConfigurationAndInterface | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PFDO_DEVICE_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 234 of file descriptor.c.
| NTSTATUS USBSTOR_SendCSWRequest | ( | PFDO_DEVICE_EXTENSION | FDODeviceExtension, |
| PIRP | Irp | ||
| ) |
Definition at line 242 of file scsi.c.
Referenced by USBSTOR_CBWCompletionRoutine(), USBSTOR_DataCompletionRoutine(), and USBSTOR_ResetPipeWorkItemRoutine().
| VOID NTAPI USBSTOR_StartIo | ( | PDEVICE_OBJECT | DeviceObject, |
| PIRP | Irp | ||
| ) |
Definition at line 300 of file queue.c.
| NTSTATUS USBSTOR_SyncUrbRequest | ( | IN PDEVICE_OBJECT | DeviceObject, |
| OUT PURB | UrbRequest | ||
| ) |
Definition at line 83 of file misc.c.
| VOID NTAPI USBSTOR_TimerRoutine | ( | PDEVICE_OBJECT | DeviceObject, |
| PVOID | Context | ||
| ) |
Definition at line 205 of file error.c.