ReactOS 0.4.15-dev-6068-g8061a6f
|
Go to the source code of this file.
Macros | |
#define | FIRMWARE_ACTIVATE_TIMEOUT_VALUE 30 |
_Function_class_ | ( | IO_WORKITEM_ROUTINE | ) |
Definition at line 5136 of file utils.c.
_IRQL_requires_max_ | ( | APC_LEVEL | ) |
Definition at line 6894 of file utils.c.
_IRQL_requires_same_ _IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Definition at line 8503 of file utils.c.
_IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Definition at line 71 of file utils.c.
Definition at line 609 of file utils.c.
Referenced by ClasspModeSelect(), ClasspModeSense(), and ClassReadDriveCapacity().
NTSTATUS ClassDeviceGetLBProvisioningResources | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_Inout_ PIRP | Irp, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 5087 of file utils.c.
Referenced by ClassDeviceControl().
NTSTATUS ClassDeviceHwFirmwareActivateProcess | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_Inout_ PIRP | Irp, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 8902 of file utils.c.
Referenced by ClassDeviceControl().
NTSTATUS ClassDeviceHwFirmwareDownloadProcess | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_Inout_ PIRP | Irp, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 8541 of file utils.c.
Referenced by ClassDeviceControl().
NTSTATUS ClassDeviceHwFirmwareGetInfoProcess | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_Inout_ PIRP | Irp | ||
) |
Definition at line 8366 of file utils.c.
Referenced by ClassDeviceControl().
__inline BOOLEAN ClassDeviceHwFirmwareIsPortDriverSupported | ( | _In_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 8330 of file utils.c.
Referenced by ClassDeviceHwFirmwareActivateProcess(), ClassDeviceHwFirmwareDownloadProcess(), and ClassDeviceHwFirmwareGetInfoProcess().
NTSTATUS ClassGetLBProvisioningLogPage | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ PSCSI_REQUEST_BLOCK | Srb, | ||
_In_ ULONG | LogPageSize, | ||
_Inout_ PLOG_PAGE_LOGICAL_BLOCK_PROVISIONING | LogPage | ||
) |
Definition at line 4679 of file utils.c.
Referenced by ClassGetLBProvisioningResources().
NTSTATUS ClassGetLBProvisioningResources | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_Inout_ PSCSI_REQUEST_BLOCK | Srb, | ||
_In_ ULONG | ResourcesSize, | ||
_Inout_ PSTORAGE_LB_PROVISIONING_MAP_RESOURCES | Resources | ||
) |
Definition at line 4958 of file utils.c.
Referenced by ClassDeviceGetLBProvisioningResources().
NTSTATUS ClassInterpretLBProvisioningLogPage | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ ULONG | LogPageSize, | ||
_In_ PLOG_PAGE_LOGICAL_BLOCK_PROVISIONING | LogPage, | ||
_In_ ULONG | ResourcesSize, | ||
_Out_ PSTORAGE_LB_PROVISIONING_MAP_RESOURCES | Resources | ||
) |
Definition at line 4800 of file utils.c.
Referenced by ClassGetLBProvisioningResources().
NTSTATUS ClasspAccessAlignmentProperty | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ PIRP | Irp, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 1700 of file utils.c.
Referenced by ClassDeviceControl().
_IRQL_requires_same_ PUCHAR ClasspBinaryToAscii | ( | _In_reads_(Length) PUCHAR | HexBuffer, |
_In_ ULONG | Length, | ||
_Inout_ PULONG | UpdateLength | ||
) |
Definition at line 7717 of file utils.c.
Referenced by ClasspContinueOffloadWrite(), and ClasspReceivePopulateTokenInformationTransferPacketDone().
Definition at line 582 of file utils.c.
Referenced by BuildDeviceInputMdl().
ULONG ClasspCalculateLogicalSectorSize | ( | _In_ PDEVICE_OBJECT | Fdo, |
_In_ ULONG | BytesPerBlockInBigEndian | ||
) |
Definition at line 1483 of file utils.c.
Referenced by InterpretCapacityData(), and InterpretReadCapacity16Data().
VOID ClasspConvertToScsiRequestBlock | ( | _Out_ PSCSI_REQUEST_BLOCK | Srb, |
_In_ PSTORAGE_REQUEST_BLOCK | SrbEx | ||
) |
Definition at line 6559 of file utils.c.
Referenced by ClassInterpretSenseInfo(), InterpretSenseInfoWithoutHistory(), and InterpretTransferPacketError().
NTSTATUS ClasspDeviceGetBlockDeviceCharacteristicsVPDPage | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | fdoExtension, |
_In_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 2072 of file utils.c.
Referenced by ClasspDeviceMediaTypeProperty(), and ClasspDeviceSeekPenaltyProperty().
NTSTATUS ClasspDeviceGetBlockLimitsVPDPage | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
_Inout_bytecount_(SrbSize) PSCSI_REQUEST_BLOCK | Srb, | ||
_In_ ULONG | SrbSize, | ||
_Out_ PCLASS_VPD_B0_DATA | BlockLimitsData | ||
) |
Definition at line 2521 of file utils.c.
Referenced by ClasspGetLBProvisioningInfo(), and ClasspRefreshFunctionSupportInfo().
NTSTATUS ClasspDeviceGetLBAStatus | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_Inout_ PIRP | Irp, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 3861 of file utils.c.
Referenced by ClassDeviceControl().
NTSTATUS ClasspDeviceGetLBAStatusWorker | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ PCLASS_VPD_B0_DATA | BlockLimitsData, | ||
_In_ ULONGLONG | StartingOffset, | ||
_In_ ULONGLONG | LengthInBytes, | ||
_Out_ PDEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT | DsmOutput, | ||
_Inout_ PULONG | DsmOutputLength, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb, | ||
_In_ BOOLEAN | ConsolidateableBlocksOnly, | ||
_In_ ULONG | OutputVersion, | ||
_Out_ PBOOLEAN | BlockLimitsDataMayHaveChanged | ||
) |
Definition at line 4079 of file utils.c.
Referenced by ClasspDeviceGetLBAStatus().
NTSTATUS ClasspDeviceGetLBProvisioningVPDPage | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_Inout_opt_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 2350 of file utils.c.
Referenced by ClasspGetLBProvisioningInfo().
NTSTATUS ClasspDeviceLBProvisioningProperty | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_Inout_ PIRP | Irp, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 2894 of file utils.c.
Referenced by ClassDeviceControl().
NTSTATUS ClasspDeviceMediaTypeProperty | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_Inout_ PIRP | Irp, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 1917 of file utils.c.
Referenced by ClassDeviceControl().
NTSTATUS ClasspDeviceSeekPenaltyProperty | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ PIRP | Irp, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 2172 of file utils.c.
Referenced by ClassDeviceControl().
NTSTATUS ClasspDeviceTrimProcess | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ PIRP | Irp, | ||
_In_ PGUID | ActivityId, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 3476 of file utils.c.
Referenced by ClassDeviceControl().
NTSTATUS ClasspDeviceTrimProperty | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ PIRP | Irp, | ||
_Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 2730 of file utils.c.