|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stddef.h>#include <stdarg.h>#include <stdlib.h>#include <ntddk.h>#include <scsi.h>#include <wmidata.h>#include <classpnp.h>#include <storduid.h>#include <mountdev.h>#include <ioevent.h>#include <ntstrsafe.h>#include <ntintsafe.h>#include <wdmguid.h>#include <ntpoapi.h>#include <srbhelper.h>#include <storswtr.h>

Go to the source code of this file.
Classes | |
| struct | _MEDIA_CHANGE_DETECTION_INFO |
| struct | _FAILURE_PREDICTION_INFO |
| struct | _CLASS_RETRY_INFO |
| struct | _CSCAN_LIST |
| struct | _CLASS_ERROR_LOG_DATA |
| struct | _TRANSFER_PACKET |
| struct | _PNL_SLIST_HEADER |
| struct | _CLASS_PRIVATE_FDO_DATA |
| struct | _CLASS_PRIVATE_COMMON_DATA |
| struct | _IDLE_POWER_FDO_LIST_ENTRY |
| struct | _OFFLOAD_READ_CONTEXT |
| struct | _OFFLOAD_WRITE_CONTEXT |
| struct | _OPCODE_SENSE_DATA_IO_LOG_MESSAGE_CONTEXT_HEADER |
| struct | _IO_RETRIED_LOG_MESSAGE_CONTEXT |
Enumerations | |
| enum | MEDIA_LOCK_TYPE { SimpleMediaLock , SecureMediaLock , InternalMediaLock , SimpleMediaLock , SecureMediaLock , InternalMediaLock } |
| enum | _CLASS_DETECTION_STATE { ClassDetectionUnknown = 0 , ClassDetectionUnsupported = 1 , ClassDetectionSupported = 2 } |
| #define CLASSP_REG_ACCESS_ALIGNMENT_NOT_SUPPORTED (L"AccessAlignmentQueryNotSupported") |
| #define CLASSP_REG_COPY_OFFLOAD_MAX_TARGET_DURATION (L"CopyOffloadMaxTargetDuration") |
| #define CLASSP_REG_DISBALE_IDLE_POWER_NAME (L"DisableIdlePowerManagement") |
| #define CLASSP_REG_IDLE_ACTIVE_MAX (L"IdleOutstandingIoMax") |
| #define CLASSP_REG_IDLE_PRIORITY_SUPPORTED (L"IdlePrioritySupported") |
| #define CLASSP_REG_IDLE_TIMEOUT_IN_SECONDS (L"IdleTimeoutInSeconds") |
| #define CLASSP_REG_LEGACY_ERROR_HANDLING (L"LegacyErrorHandling") |
| #define CLASSP_REG_MMC_DETECTION_VALUE_NAME (L"MMCDetectionState") |
| #define CLASSP_REG_PERF_RESTORE_VALUE_NAME (L"RestorePerfAtCount") |
| #define CLASSP_REG_QERR_OVERRIDE_MODE (L"QERROverrideMode") |
| #define CLASSP_REG_REMOVAL_POLICY_VALUE_NAME (L"UserRemovalPolicy") |
| #define CLASSP_REG_WRITE_CACHE_VALUE_NAME (L"WriteCacheEnableOverride") |
| #define Convert100nsToMilliseconds | ( | LARGE_INTEGER | ) |
| #define ConvertMillisecondsTo100ns | ( | MILLISECONDS | ) |
| #define DEBUG_COMP_ID DPFLTR_CLASSPNP_ID |
| #define FDO_HACK_INVALID_FLAGS (~FDO_HACK_VALID_FLAGS) |
| #define HISTORYINITIALIZERETRYLOGS | ( | _packet | ) |
| #define HISTORYLOGRETURNEDPACKET | ( | _packet | ) |
| #define HISTORYLOGSENDPACKET | ( | _packet | ) |
| #define MIN_WORKINGSET_TRANSFER_PACKETS_Server_LowerBound 32 |
| #define MIN_WORKINGSET_TRANSFER_PACKETS_Server_UpperBound 256 |
| #define NUM_IO_RETRIES MAXIMUM_RETRIES |
| #define REG_DISK_CLASS_CONTROL L"\\REGISTRY\\MACHINE\\SYSTEM\\CurrentControlSet\\Control\\DISK" |
| #define REG_MAX_LIST_IDENTIFIER_VALUE L"MaximumListIdentifier" |
| #define WPP_CONTROL_GUIDS WPP_CONTROL_GUIDS_NORMAL_FLAGS(WPP_GUID_CLASSPNP) |
| #define WPP_GUID_CLASSPNP (FA8DE7C4, ACDE, 4443, 9994, C4E2359A9EDB) |
| typedef struct _CLASS_RETRY_INFO CLASS_RETRY_INFO |
| typedef struct _CSCAN_LIST CSCAN_LIST |
| typedef struct _OPCODE_SENSE_DATA_IO_LOG_MESSAGE_CONTEXT_HEADER OPCODE_SENSE_DATA_IO_LOG_MESSAGE_CONTEXT_HEADER |
| typedef enum _CLASS_DETECTION_STATE * PCLASS_DETECTION_STATE |
| typedef struct _CLASS_ERROR_LOG_DATA * PCLASS_ERROR_LOG_DATA |
| typedef struct _CLASS_RETRY_INFO * PCLASS_RETRY_INFO |
| typedef struct _CSCAN_LIST * PCSCAN_LIST |
| typedef enum MEDIA_LOCK_TYPE * PMEDIA_LOCK_TYPE |
| typedef struct _PNL_SLIST_HEADER PNL_SLIST_HEADER |
| typedef struct _OFFLOAD_READ_CONTEXT * POFFLOAD_READ_CONTEXT |
| typedef struct _OPCODE_SENSE_DATA_IO_LOG_MESSAGE_CONTEXT_HEADER * POPCODE_SENSE_DATA_IO_LOG_MESSAGE_CONTEXT_HEADER |
| typedef struct _PNL_SLIST_HEADER * PPNL_SLIST_HEADER |
| typedef struct _TRANSFER_PACKET * PTRANSFER_PACKET |
| typedef struct _TRANSFER_PACKET TRANSFER_PACKET |
| Enumerator | |
|---|---|
| ClassDetectionUnknown | |
| ClassDetectionUnsupported | |
| ClassDetectionSupported | |
Definition at line 444 of file classp.h.
| Enumerator | |
|---|---|
| SimpleMediaLock | |
| SecureMediaLock | |
| InternalMediaLock | |
| SimpleMediaLock | |
| SecureMediaLock | |
| InternalMediaLock | |
| _Dispatch_type_ | ( | IRP_MJ_CREATE | ) |
| _Dispatch_type_ | ( | IRP_MJ_DEVICE_CONTROL | ) |
Definition at line 1376 of file isapnp.c.
| _Dispatch_type_ | ( | IRP_MJ_PNP | ) |
Definition at line 1331 of file isapnp.c.
| _Dispatch_type_ | ( | IRP_MJ_POWER | ) |
| _Dispatch_type_ | ( | IRP_MJ_READ | ) |
Definition at line 3505 of file read.c.
| _Dispatch_type_ | ( | IRP_MJ_SHUTDOWN | ) |
Definition at line 5510 of file btrfs.c.
| _Dispatch_type_ | ( | IRP_MJ_SYSTEM_CONTROL | ) |
Definition at line 5748 of file btrfs.c.
| _In_ PTRANSFER_PACKET _In_ ULONG _In_reads_bytes_ | ( | Length | ) |
| _IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
Sends a synchronous IOCTL to the specified device object.
| [in] | IoControlCode | The IOCTL to send to the device. |
| [in] | DeviceObject | Pointer to the device object that will handle the IOCTL. |
| [in] | InputBuffer | Optional pointer to a buffer containing input data for the IOCTL. When specified, the buffer should be at least of InputBufferLength size. |
| [in] | InputBufferLength | Size in bytes, of the buffer pointed by InputBuffer. |
| [out] | OutputBuffer | Optional pointer to a buffer that will receive output data from the IOCTL. When specified, the buffer should be at least of OutputBufferLength size. |
| [in] | OutputBufferLength | Size in bytes, of the buffer pointed by OutputBuffer. |
| [in] | FileObject | Optional pointer to a file object that may be necessary for the IOCTL. |
Definition at line 13147 of file class.c.
| _IRQL_requires_max_ | ( | APC_LEVEL | ) |
Definition at line 37 of file cddata.c.
| _IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Definition at line 923 of file Messaging.c.
| NTSTATUS AllocateDictionaryEntry | ( | IN PDICTIONARY | Dictionary, |
| IN ULONGLONG | Key, | ||
| IN ULONG | Size, | ||
| IN ULONG | Tag, | ||
| OUT PVOID * | Entry | ||
| ) |
Referenced by ClasspCreateClose().
Definition at line 609 of file utils.c.
Referenced by ClasspModeSelect(), ClasspModeSense(), and ClassReadDriveCapacity().
| C_ASSERT | ( | (sizeof(struct _CLASS_PRIVATE_COMMON_DATA) % sizeof(PVOID)) | = =0 | ) |
| VOID ClassAddChild | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | Parent, |
| _In_ PPHYSICAL_DEVICE_EXTENSION | Child, | ||
| _In_ BOOLEAN | AcquireLock | ||
| ) |
Definition at line 12058 of file class.c.
| 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().
| VOID ClassFreeOrReuseSrb | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| IN __drv_freesMem(mem) PSCSI_REQUEST_BLOCK | Srb | ||
| ) |
Definition at line 882 of file obsolete.c.
Referenced by _Success_(), ClassIoComplete(), ClassIoCompleteAssociated(), and ClasspEjectionControl().
| NTSTATUS ClassGetPdoId | ( | IN PDEVICE_OBJECT | Pdo, |
| IN BUS_QUERY_ID_TYPE | IdType, | ||
| IN PUNICODE_STRING | IdString | ||
| ) |
Definition at line 10151 of file class.c.
Referenced by ClassDispatchPnp().
| VOID ClassInitializeDispatchTables | ( | PCLASS_DRIVER_EXTENSION | DriverExtension | ) |
Definition at line 38 of file dispatch.c.
Referenced by _IRQL_requires_max_().
Definition at line 1890 of file power.c.
Referenced by _IRQL_requires_max_().
| 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().
| NTSTATUS ClasspAllocatePowerProcessIrp | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
| NTSTATUS ClasspAllocateReleaseQueueIrp | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
| NTSTATUS ClasspAllocateReleaseRequest | ( | IN PDEVICE_OBJECT | Fdo | ) |
Definition at line 11489 of file class.c.
| _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().
| NTSTATUS ClasspBlockLimitsDataSnapshot | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| _In_ BOOLEAN | ForceQuery, | ||
| _Out_ PCLASS_VPD_B0_DATA | BlockLimitsData, | ||
| _Out_ PULONG | GenerationCount | ||
| ) |
Definition at line 16504 of file class.c.
Referenced by ClasspDeviceGetLBAStatus(), ClasspDeviceLBProvisioningProperty(), and ClasspDeviceTrimProcess().
Definition at line 582 of file utils.c.
Referenced by BuildDeviceInputMdl().
| VOID ClasspBuildRequestEx | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| _In_ PIRP | Irp, | ||
| _In_ __drv_aliasesMem PSCSI_REQUEST_BLOCK | Srb | ||
| ) |
Definition at line 537 of file obsolete.c.
Referenced by ClassBuildRequest().
| ULONG ClasspCalculateLogicalSectorSize | ( | _In_ PDEVICE_OBJECT | Fdo, |
| _In_ ULONG | BytesPerBlockInBigEndian | ||
| ) |
Definition at line 1483 of file utils.c.
Referenced by InterpretCapacityData(), and InterpretReadCapacity16Data().
| VOID ClasspCleanupOffloadReadContext | ( | _In_ __drv_freesMem(mem) POFFLOAD_READ_CONTEXT | OffloadReadContext | ) |
Definition at line 14335 of file class.c.
Referenced by ClasspCompleteOffloadRead().
| VOID ClasspCleanupOffloadWriteContext | ( | _In_ __drv_freesMem(mem) POFFLOAD_WRITE_CONTEXT | OffloadWriteContext | ) |
Definition at line 15902 of file class.c.
Referenced by ClasspCompleteOffloadWrite().
| VOID ClasspCleanupProtectedLocks | ( | IN PFILE_OBJECT_EXTENSION | FsContext | ) |
Definition at line 296 of file create.c.
Referenced by ClasspCreateClose().
| VOID ClasspCompleteIdleRequest | ( | PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 713 of file clntirp.c.
Referenced by TransferPktComplete().
| VOID ClasspCompleteOffloadRead | ( | _In_ POFFLOAD_READ_CONTEXT | OffloadReadContext, |
| _In_ NTSTATUS | CompletionStatus | ||
| ) |
Definition at line 14255 of file class.c.
Referenced by ClasspPopulateTokenTransferPacketDone(), ClasspReceivePopulateTokenInformation(), and ClasspReceivePopulateTokenInformationTransferPacketDone().
| VOID ClasspCompleteOffloadRequest | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
| _In_ PIRP | Irp, | ||
| _In_ NTSTATUS | CompletionStatus | ||
| ) |
Definition at line 13632 of file class.c.
Referenced by _IRQL_requires_max_(), ClasspCompleteOffloadRead(), and ClasspCompleteOffloadWrite().
| VOID ClasspCompleteOffloadWrite | ( | _In_ __drv_freesMem(Mem) POFFLOAD_WRITE_CONTEXT | OffloadWriteContext, |
| _In_ NTSTATUS | CompletionCausingStatus | ||
| ) |
Definition at line 15788 of file class.c.
Referenced by ClasspContinueOffloadWrite(), ClasspReceiveWriteUsingTokenInformation(), ClasspReceiveWriteUsingTokenInformationDone(), ClasspReceiveWriteUsingTokenInformationTransferPacketDone(), and ClasspWriteUsingTokenTransferPacketDone().
| VOID ClasspContinueOffloadWrite | ( | _In_ __drv_aliasesMem POFFLOAD_WRITE_CONTEXT | OffloadWriteContext | ) |
Definition at line 15187 of file class.c.
Referenced by ClasspReceiveWriteUsingTokenInformationDone().
| 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 ClasspCreateClose | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp | ||
| ) |
Definition at line 123 of file create.c.
Referenced by ClassCreateClose().
| VOID ClasspDeleteTimer | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 3798 of file autorun.c.
Referenced by ClassPnpStartDevice().
| 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.
Referenced by ClassDeviceControl().
| VOID ClasspDisablePowerNotification | ( | PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
| VOID ClasspDisableTimer | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 3956 of file autorun.c.
Referenced by ClassDispatchPnp(), and ClasspPowerHandler().
| NTSTATUS ClasspDuidQueryProperty | ( | PDEVICE_OBJECT | DeviceObject, |
| PIRP | Irp | ||
| ) |
Definition at line 997 of file utils.c.
Referenced by ClassDeviceControl().
| NTSTATUS ClasspEjectionControl | ( | IN PDEVICE_OBJECT | Fdo, |
| IN PIRP | Irp, | ||
| IN MEDIA_LOCK_TYPE | LockType, | ||
| IN BOOLEAN | Lock | ||
| ) |
Definition at line 474 of file create.c.
Referenced by ClassDeviceControl(), and ClassDispatchPnp().
| _IRQL_requires_same_ NTSTATUS ClasspEnableIdlePower | ( | _In_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 2550 of file power.c.
| VOID ClasspEnableTimer | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 3857 of file autorun.c.
Referenced by ClasspDeviceLockFailurePowerIrpCompletion(), and ClasspPowerUpCompletion().
| NTSTATUS ClasspEnqueueIdleRequest | ( | PDEVICE_OBJECT | DeviceObject, |
| PIRP | Irp | ||
| ) |
Definition at line 576 of file clntirp.c.
Referenced by ClassReadWrite().
| BOOLEAN ClasspFailurePredictionPeriodMissed | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 4391 of file autorun.c.
Referenced by _Function_class_(), ClasspDeviceLockFailurePowerIrpCompletion(), and ClasspPowerUpCompletion().
Definition at line 615 of file utils.c.
Referenced by ClasspCleanupOffloadReadContext(), ClasspCleanupOffloadWriteContext(), and FreeDeviceInputMdl().
| VOID ClasspFreeReleaseRequest | ( | IN PDEVICE_OBJECT | Fdo | ) |
Definition at line 11525 of file class.c.
| _IRQL_requires_same_ NTSTATUS ClasspGetBlockDeviceTokenLimitsInfo | ( | _Inout_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 13220 of file class.c.
Referenced by _IRQL_requires_().
| FORCEINLINE LARGE_INTEGER ClasspGetCurrentTime | ( | VOID | ) |
Definition at line 1280 of file classp.h.
Referenced by ClasspIdleDurationSufficient(), ClasspIdleTimerDpc(), ClasspStartIdleTimer(), ClassReadWrite(), and TransferPktComplete().
| VOID ClasspGetInquiryVpdSupportInfo | ( | _Inout_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 12914 of file class.c.
| NTSTATUS ClasspGetLBProvisioningInfo | ( | _Inout_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 13087 of file class.c.
| FORCEINLINE ULONG ClasspGetMaxUsableBufferLengthFromOffset | ( | _In_ PVOID | BaseAddress, |
| _In_ ULONG | OffsetInBytes, | ||
| _In_ ULONG | BaseStructureSizeInBytes | ||
| ) |
Definition at line 2585 of file classp.h.
| _IRQL_requires_same_ NTSTATUS ClasspGetTokenOperationCommandBufferLength | ( | _In_ PDEVICE_OBJECT | Fdo, |
| _In_ ULONG | ServiceAction, | ||
| _Inout_ PULONG | CommandBufferLength, | ||
| _Out_opt_ PULONG | TokenOperationBufferLength, | ||
| _Out_opt_ PULONG | ReceiveTokenInformationBufferLength | ||
| ) |
Definition at line 7356 of file utils.c.
| _IRQL_requires_same_ NTSTATUS ClasspGetTokenOperationDescriptorLimits | ( | _In_ PDEVICE_OBJECT | Fdo, |
| _In_ ULONG | ServiceAction, | ||
| _In_ ULONG | MaxParameterBufferLength, | ||
| _Out_ PULONG | MaxBlockDescriptorsCount, | ||
| _Out_ PULONGLONG | MaxBlockDescriptorsLength | ||
| ) |
Definition at line 7472 of file utils.c.
| NTSTATUS ClasspInitializeGesn | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| IN PMEDIA_CHANGE_DETECTION_INFO | Info | ||
| ) |
Definition at line 1990 of file autorun.c.
Referenced by ClasspInitializePolling().
| NTSTATUS ClasspInitializeHotplugInfo | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 12507 of file class.c.
Referenced by ClassPnpStartDevice().
| VOID ClasspInitializeIdleTimer | ( | PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 175 of file clntirp.c.
| VOID ClasspInitializeRemoveTracking | ( | _In_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 500 of file lock.c.
| NTSTATUS ClasspInitializeTimer | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 3737 of file autorun.c.
Referenced by ClasspEnableTimer(), and ClassPnpStartDevice().
| FORCEINLINE BOOLEAN ClasspIsIdleRequest | ( | PIRP | Irp | ) |
Definition at line 1268 of file classp.h.
Referenced by SubmitTransferPacket(), and TransferPktComplete().
| FORCEINLINE BOOLEAN ClasspIsIdleRequestSupported | ( | PCLASS_PRIVATE_FDO_DATA | FdoData, |
| PIRP | Irp | ||
| ) |
Definition at line 1236 of file classp.h.
Referenced by ClassReadWrite().
| FORCEINLINE BOOLEAN ClasspIsObsoletePortDriver | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 1335 of file classp.h.
Referenced by ClasspAccessAlignmentProperty(), and ClassReadCapacity16().
| FORCEINLINE BOOLEAN ClasspIsOffloadDataTransferCommand | ( | _In_ PCDB | Cdb | ) |
Definition at line 2087 of file classp.h.
Referenced by ClassInterpretSenseInfo(), and InterpretTransferPacketError().
| NTSTATUS ClasspIsPortable | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| _Out_ PBOOLEAN | IsPortable | ||
| ) |
Definition at line 8837 of file class.c.
Referenced by ClassPnpStartDevice().
| FORCEINLINE BOOLEAN ClasspIsReceiveTokenInformation | ( | _In_ PCDB | Cdb | ) |
Definition at line 2066 of file classp.h.
Referenced by ClassInterpretSenseInfo(), ClasspIsOffloadDataTransferCommand(), and ClasspTransferPacketGetNumberOfRetriesDone().
| FORCEINLINE BOOLEAN ClasspIsThinProvisioned | ( | _In_ PCLASS_FUNCTION_SUPPORT_INFO | SupportInfo | ) |
Definition at line 1317 of file classp.h.
Referenced by ClasspDeviceLBProvisioningProperty().
| BOOLEAN ClasspIsThinProvisioningError | ( | _In_ PSCSI_REQUEST_BLOCK | _Srb | ) |
Definition at line 9127 of file utils.c.
Referenced by RetryTransferPacket().
| FORCEINLINE BOOLEAN ClasspIsTokenOperation | ( | _In_ PCDB | Cdb | ) |
Definition at line 2044 of file classp.h.
Referenced by ClasspIsOffloadDataTransferCommand(), and InterpretTransferPacketError().
| FORCEINLINE BOOLEAN ClasspIsTokenOperationComplete | ( | _In_ ULONG | CurrentStatus | ) |
Definition at line 2023 of file classp.h.
Referenced by ClasspReceivePopulateTokenInformationTransferPacketDone(), and ClasspReceiveWriteUsingTokenInformationTransferPacketDone().
| NTSTATUS ClasspLogSystemEventWithDeviceNumber | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
| _In_ NTSTATUS | IoErrorCode | ||
| ) |
Definition at line 5354 of file utils.c.
Referenced by ClassDispatchPnp(), and ClassIoComplete().
| FORCEINLINE BOOLEAN ClasspLowerLayerNotSupport | ( | _In_ NTSTATUS | Status | ) |
Definition at line 2638 of file classp.h.
Referenced by ClasspAccessAlignmentProperty(), ClasspDeviceSeekPenaltyProperty(), ClasspDeviceTrimProcess(), and ClasspGetHwFirmwareInfo().
| FORCEINLINE VOID ClasspMarkIrpAsIdle | ( | PIRP | Irp, |
| BOOLEAN | Idle | ||
| ) |
Definition at line 1251 of file classp.h.
Referenced by ClassReadWrite().
| NTSTATUS ClasspMcnControl | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| IN PIRP | Irp, | ||
| IN PSCSI_REQUEST_BLOCK | Srb | ||
| ) |
Definition at line 3276 of file autorun.c.
Referenced by ClassDeviceControl().
| NTSTATUS ClasspMediaChangeCompletion | ( | PDEVICE_OBJECT | DeviceObject, |
| PIRP | Irp, | ||
| PVOID | Context | ||
| ) |
| NTSTATUS ClasspModeSelect | ( | _In_ PDEVICE_OBJECT | Fdo, |
| _In_reads_bytes_(Length) PCHAR | ModeSelectBuffer, | ||
| _In_ ULONG | Length, | ||
| _In_ BOOLEAN | SavePages | ||
| ) |
Definition at line 6919 of file class.c.
Referenced by ClassModeSelect(), and ClasspZeroQERR().
| ULONG ClasspModeSense | ( | _In_ PDEVICE_OBJECT | Fdo, |
| _In_reads_bytes_(Length) PCHAR | ModeSenseBuffer, | ||
| _In_ ULONG | Length, | ||
| _In_ UCHAR | PageMode, | ||
| _In_ UCHAR | PageControl | ||
| ) |
Definition at line 6681 of file class.c.
Referenced by ClassModeSense(), ClassModeSenseEx(), and ClasspWriteCacheProperty().
| BOOLEAN ClasspMyStringMatches | ( | _In_opt_z_ PCHAR | StringToMatch, |
| _In_z_ PCHAR | TargetString | ||
| ) |
Definition at line 51 of file utils.c.
| NTSTATUS ClassPnpQueryFdoRelations | ( | IN PDEVICE_OBJECT | Fdo, |
| IN PIRP | Irp | ||
| ) |
Definition at line 9843 of file class.c.
Referenced by ClassDispatchPnp().
| NTSTATUS ClassPnpStartDevice | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1819 of file class.c.
Referenced by ClassDispatchPnp().
| NTSTATUS ClasspPagingNotificationCompletion | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp, | ||
| IN PDEVICE_OBJECT | RealDeviceObject | ||
| ) |
| VOID ClasspPerfIncrementErrorCount | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 432 of file utils.c.
Referenced by ClassInterpretSenseInfo().
| VOID ClasspPerfIncrementSuccessfulIo | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 486 of file utils.c.
Referenced by ClassIoComplete(), and TransferPktComplete().
| NTSTATUS ClasspPersistentReserve | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
| _In_ PIRP | Irp, | ||
| _Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
| ) |
Definition at line 6211 of file utils.c.
Referenced by ClassDeviceControl().
Definition at line 14166 of file class.c.
Referenced by _IRQL_requires_max_().
| NTSTATUS ClasspPriorityHint | ( | PDEVICE_OBJECT | DeviceObject, |
| PIRP | Irp | ||
| ) |
Definition at line 6480 of file utils.c.
Referenced by ClassDeviceControl().
| VOID ClasspQueueLogIOEventWithContextWorker | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
| _In_ ULONG | SenseBufferSize, | ||
| _In_ PVOID | SenseData, | ||
| _In_ UCHAR | SrbStatus, | ||
| _In_ UCHAR | ScsiStatus, | ||
| _In_ ULONG | ErrorCode, | ||
| _In_ ULONG | CdbLength, | ||
| _In_opt_ PCDB | Cdb, | ||
| _In_opt_ PTRANSFER_PACKET | Pkt | ||
| ) |
Definition at line 6010 of file utils.c.
Referenced by ClassInterpretSenseInfo().
| _IRQL_requires_same_ VOID ClasspReceivePopulateTokenInformation | ( | _In_ POFFLOAD_READ_CONTEXT | OffloadReadContext | ) |
Definition at line 14374 of file class.c.
Referenced by ClasspPopulateTokenTransferPacketDone().
Definition at line 14504 of file class.c.
| _IRQL_requires_same_ VOID ClasspReceiveWriteUsingTokenInformation | ( | _In_ POFFLOAD_WRITE_CONTEXT | OffloadWriteContext | ) |
Definition at line 15937 of file class.c.
Referenced by ClasspWriteUsingTokenTransferPacketDone().
| VOID ClasspReceiveWriteUsingTokenInformationDone | ( | _In_ POFFLOAD_WRITE_CONTEXT | OffloadWriteContext, |
| _In_ NTSTATUS | CompletionCausingStatus | ||
| ) |
Definition at line 15695 of file class.c.
Referenced by ClasspReceiveWriteUsingTokenInformationTransferPacketDone(), and ClasspWriteUsingTokenTransferPacketDone().
| VOID ClasspReceiveWriteUsingTokenInformationTransferPacketDone | ( | _In_ POFFLOAD_WRITE_CONTEXT | OffloadWriteContext | ) |
Definition at line 16071 of file class.c.
| NTSTATUS ClasspRefreshFunctionSupportInfo | ( | _Inout_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| _In_ BOOLEAN | ForceQuery | ||
| ) |
Definition at line 16395 of file class.c.
Referenced by ClasspBlockLimitsDataSnapshot().
| VOID ClasspRegisterMountedDeviceInterface | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 10970 of file class.c.
| VOID ClasspReleaseQueue | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | ReleaseQueueIrp | ||
| ) |
Definition at line 11743 of file class.c.
Referenced by ClassReleaseQueue(), and ClassReleaseQueueCompletion().
| VOID ClasspRetryDpcTimer | ( | IN PCLASS_PRIVATE_FDO_DATA | FdoData | ) |
Definition at line 12457 of file class.c.
Referenced by ClasspRetryRequestDpc(), and ClassRetryRequest().
| VOID NTAPI ClasspScanForClassHacks | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| IN ULONG_PTR | Data | ||
| ) |
Definition at line 12634 of file class.c.
Referenced by ClassPnpStartDevice().
| VOID ClasspScanForSpecialInRegistry | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 12651 of file class.c.
Referenced by ClassPnpStartDevice().
| FORCEINLINE VOID ClasspSrbSetOriginalIrp | ( | _In_ PSTORAGE_REQUEST_BLOCK_HEADER | Srb, |
| _In_ PIRP | Irp | ||
| ) |
Definition at line 2530 of file classp.h.
Referenced by SubmitTransferPacket().
| _IRQL_requires_same_ NTSTATUS ClasspStorageEventNotification | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
| _In_ PIRP | Irp | ||
| ) |
Definition at line 7826 of file utils.c.
Referenced by ClassDeviceControl().
| FORCEINLINE BOOLEAN ClasspSupportsUnmap | ( | _In_ PCLASS_FUNCTION_SUPPORT_INFO | SupportInfo | ) |
Definition at line 1308 of file classp.h.
Referenced by ClasspDeviceTrimProcess(), and ClasspDeviceTrimProperty().
| FORCEINLINE ULONGLONG ClasspTimeDiffToMs | ( | ULONGLONG | TimeDiff | ) |
Definition at line 1297 of file classp.h.
Referenced by ClasspGetIdleTime(), and ClasspIdleTimerDpc().
| FORCEINLINE PCDB ClasspTransferPacketGetCdb | ( | _In_ PTRANSFER_PACKET | Pkt | ) |
| FORCEINLINE BOOLEAN ClasspTransferPacketGetNumberOfRetriesDone | ( | _In_ PTRANSFER_PACKET | Pkt, |
| _In_ PCDB | Cdb, | ||
| _Out_ PULONG | TimesAlreadyRetried | ||
| ) |
Definition at line 2459 of file classp.h.
Referenced by InterpretTransferPacketError().
| FORCEINLINE PVOID ClasspTransferPacketGetSenseInfoBuffer | ( | _In_ PTRANSFER_PACKET | Pkt | ) |
Definition at line 2513 of file classp.h.
Referenced by HistoryLogReturnedPacket(), and InterpretTransferPacketError().
| FORCEINLINE UCHAR ClasspTransferPacketGetSenseInfoBufferLength | ( | _In_ PTRANSFER_PACKET | Pkt | ) |
Definition at line 2521 of file classp.h.
Referenced by HistoryLogReturnedPacket(), and InterpretTransferPacketError().
| VOID ClasspUninitializeRemoveTracking | ( | _In_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 529 of file lock.c.
| BOOLEAN ClasspUpdateTimerNoWakeTolerance | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 3653 of file autorun.c.
Referenced by _Function_class_().
| NTSTATUS ClasspWriteCacheProperty | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
| _In_ PIRP | Irp, | ||
| _Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
| ) |
Definition at line 1199 of file utils.c.
Referenced by ClassDeviceControl().
Definition at line 15519 of file class.c.
| VOID ClasspZeroQERR | ( | _In_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 7938 of file utils.c.
| NTSTATUS ClassQueryPnpCapabilities | ( | IN PDEVICE_OBJECT | PhysicalDeviceObject, |
| IN PDEVICE_CAPABILITIES | Capabilities | ||
| ) |
Definition at line 10192 of file class.c.
Referenced by ClassDispatchPnp().
| VOID ClassQueueCapacityChangedEventWorker | ( | _In_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 5637 of file utils.c.
Referenced by ClassInterpretSenseInfo().
| VOID ClassQueueProvisioningTypeChangedEventWorker | ( | _In_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 5726 of file utils.c.
Referenced by ClassInterpretSenseInfo().
| VOID ClassQueueResourceExhaustionEventWorker | ( | _In_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 5528 of file utils.c.
Referenced by ClassInterpretSenseInfo().
| VOID ClassQueueThresholdEventWorker | ( | _In_ PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 5471 of file utils.c.
Referenced by ClassInterpretSenseInfo().
| NTSTATUS ClassReadCapacity16 | ( | _Inout_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| _Inout_ PSCSI_REQUEST_BLOCK | Srb | ||
| ) |
Definition at line 1568 of file utils.c.
Referenced by ClasspAccessAlignmentProperty().
| PPHYSICAL_DEVICE_EXTENSION ClassRemoveChild | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | Parent, |
| IN PPHYSICAL_DEVICE_EXTENSION | Child, | ||
| IN BOOLEAN | AcquireLock | ||
| ) |
Definition at line 12119 of file class.c.
| NTSTATUS ClassRetrieveDeviceRelations | ( | IN PDEVICE_OBJECT | Fdo, |
| IN DEVICE_RELATION_TYPE | RelationType, | ||
| OUT PDEVICE_RELATIONS * | DeviceRelations | ||
| ) |
Definition at line 10005 of file class.c.
Referenced by ClassPnpQueryFdoRelations().
| VOID ClassRetryRequest | ( | IN PDEVICE_OBJECT | SelfDeviceObject, |
| IN PIRP | Irp, | ||
| _In_ _In_range_(0, MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS) IN LONGLONG | TimeDelta100ns | ||
| ) |
Definition at line 12317 of file class.c.
Referenced by RetryPowerRequest(), and RetryRequest().
| VOID ClassSendEjectionNotification | ( | IN PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension | ) |
Definition at line 155 of file autorun.c.
Referenced by ClassInterpretSenseInfo(), and ClasspInterpretGesnData().
| VOID CleanupTransferPacketToWorkingSetSize | ( | _In_ PDEVICE_OBJECT | Fdo, |
| _In_ BOOLEAN | LimitNumPktToDelete, | ||
| _In_ ULONG | Node | ||
| ) |
Definition at line 1615 of file xferpkt.c.
Referenced by CleanupTransferPacketToWorkingSetSizeWorker(), and EnqueueFreeTransferPacket().
| NTSTATUS CreateStorageRequestBlock | ( | _Inout_ PSTORAGE_REQUEST_BLOCK * | Srb, |
| _In_ USHORT | AddressType, | ||
| _In_opt_ PSRB_ALLOCATE_ROUTINE | AllocateRoutine, | ||
| _Inout_opt_ ULONG * | ByteSize, | ||
| _In_ ULONG | NumSrbExData, | ||
| ... | |||
| ) |
Definition at line 249 of file srblib.c.
Referenced by __drv_allocatesMem(), and InitializeTransferPackets().
Definition at line 28 of file srblib.c.
Referenced by __drv_allocatesMem(), and InitializeTransferPackets().
| PIRP DequeueDeferredClientIrp | ( | PDEVICE_OBJECT | Fdo | ) |
Definition at line 113 of file clntirp.c.
Referenced by TransferPktComplete().
| PTRANSFER_PACKET DequeueFreeTransferPacket | ( | PDEVICE_OBJECT | Fdo, |
| BOOLEAN | AllocIfNeeded | ||
| ) |
Definition at line 656 of file xferpkt.c.
Referenced by ClasspContinueOffloadWrite(), ClasspModeSelect(), ClasspModeSense(), ClasspReceivePopulateTokenInformation(), ClasspReceiveWriteUsingTokenInformation(), ClassReadDriveCapacity(), and ServiceTransferRequest().
| PTRANSFER_PACKET DequeueFreeTransferPacketEx | ( | _In_ PDEVICE_OBJECT | Fdo, |
| _In_ BOOLEAN | AllocIfNeeded, | ||
| _In_ ULONG | Node | ||
| ) |
Definition at line 661 of file xferpkt.c.
Referenced by CleanupTransferPacketToWorkingSetSize(), DequeueFreeTransferPacket(), DestroyAllTransferPackets(), and EnqueueFreeTransferPacket().
| VOID DestroyAllTransferPackets | ( | PDEVICE_OBJECT | Fdo | ) |
Definition at line 288 of file xferpkt.c.
| VOID DestroyTransferPacket | ( | _In_ __drv_freesMem(mem) PTRANSFER_PACKET | Pkt | ) |
Definition at line 500 of file xferpkt.c.
Referenced by CleanupTransferPacketToWorkingSetSize(), DestroyAllTransferPackets(), and EnqueueFreeTransferPacket().
| VOID EnqueueDeferredClientIrp | ( | PDEVICE_OBJECT | Fdo, |
| PIRP | Irp | ||
| ) |
Definition at line 78 of file clntirp.c.
Referenced by ServiceTransferRequest().
| VOID EnqueueFreeTransferPacket | ( | PDEVICE_OBJECT | Fdo, |
| __drv_aliasesMem PTRANSFER_PACKET | Pkt | ||
| ) |
Definition at line 529 of file xferpkt.c.
Referenced by InitializeTransferPackets(), ServiceTransferRequest(), and TransferPktComplete().
| FORCEINLINE VOID FREE_PORT_ALLOCATED_SENSE_BUFFER_EX | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| _In_ PSTORAGE_REQUEST_BLOCK_HEADER | Srb | ||
| ) |
Definition at line 2560 of file classp.h.
Referenced by _Success_(), ClasspMediaChangeDetectionCompletion(), ClassSendSrbSynchronous(), TransferPacketRetryTimerDpc(), and TransferPktComplete().
Definition at line 622 of file utils.c.
Referenced by ClasspModeSelect(), ClasspModeSense(), and ClassReadDriveCapacity().
| VOID FreeDictionaryEntry | ( | IN PDICTIONARY | Dictionary, |
| IN PVOID | Entry | ||
| ) |
Definition at line 189 of file dictlib.c.
Referenced by ClasspCreateClose().
| PVOID GetDictionaryEntry | ( | IN PDICTIONARY | Dictionary, |
| IN ULONGLONG | Key | ||
| ) |
Definition at line 157 of file dictlib.c.
Referenced by _IRQL_requires_max_().
| VOID HistoryInitializeRetryLogs | ( | _Out_ PSRB_HISTORY | History, |
| ULONG | HistoryCount | ||
| ) |
Definition at line 36 of file history.c.
Referenced by __drv_allocatesMem().
| VOID HistoryLogReturnedPacket | ( | TRANSFER_PACKET * | Pkt | ) |
Definition at line 83 of file history.c.
| VOID HistoryLogSendPacket | ( | TRANSFER_PACKET * | Pkt | ) |
Definition at line 45 of file history.c.
| VOID InitializeDictionary | ( | IN PDICTIONARY | Dictionary | ) |
Definition at line 58 of file dictlib.c.
| NTSTATUS InitializeStorageRequestBlock | ( | _Inout_bytecount_(ByteSize) PSTORAGE_REQUEST_BLOCK | Srb, |
| _In_ USHORT | AddressType, | ||
| _In_ ULONG | ByteSize, | ||
| _In_ ULONG | NumSrbExData, | ||
| ... | |||
| ) |
Definition at line 206 of file srblib.c.
Referenced by ClassDeviceControl(), ClassGetLBProvisioningLogPage(), ClasspBuildRequestEx(), ClasspCleanupProtectedLocks(), ClasspDeviceGetBlockLimitsVPDPage(), ClasspDeviceGetLBProvisioningVPDPage(), ClasspEjectionControl(), ClasspGetBlockDeviceTokenLimitsInfo(), ClasspGetInquiryVpdSupportInfo(), ClasspInterpretGesnData(), ClassPnpStartDevice(), ClasspPowerDownCompletion(), ClasspPowerHandler(), ClasspPowerUpCompletion(), ClasspPrepareMcnIrp(), ClassReadCapacity16(), ClassSendStartUnit(), and DeviceProcessDsmTrimRequest().
| NTSTATUS InitializeTransferPackets | ( | PDEVICE_OBJECT | Fdo | ) |
Definition at line 45 of file xferpkt.c.
Referenced by ClassPnpStartDevice().
| VOID InitLowMemRetry | ( | PTRANSFER_PACKET | Pkt, |
| PVOID | BufPtr, | ||
| ULONG | Len, | ||
| LARGE_INTEGER | TargetLocation | ||
| ) |
Definition at line 670 of file retry.c.
Referenced by RetryTransferPacket(), and ServiceTransferRequest().
| VOID InterpretCapacityData | ( | PDEVICE_OBJECT | Fdo, |
| PREAD_CAPACITY_DATA_EX | ReadCapacityData | ||
| ) |
Definition at line 2640 of file class.c.
Referenced by ClassReadDriveCapacity().
| NTSTATUS InterpretReadCapacity16Data | ( | _Inout_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| _In_ PREAD_CAPACITY16_DATA | ReadCapacity16Data | ||
| ) |
Definition at line 1517 of file utils.c.
Referenced by ClassReadCapacity16().
| BOOLEAN InterpretSenseInfoWithoutHistory | ( | _In_ PDEVICE_OBJECT | Fdo, |
| _In_opt_ PIRP | OriginalRequest, | ||
| _In_ PSCSI_REQUEST_BLOCK | Srb, | ||
| UCHAR | MajorFunctionCode, | ||
| ULONG | IoDeviceCode, | ||
| ULONG | PreviousRetryCount, | ||
| _Out_ NTSTATUS * | Status, | ||
| _Out_opt_ _Deref_out_range_(0, MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS) LONGLONG * | RetryIn100nsUnits | ||
| ) |
Definition at line 12844 of file class.c.
Referenced by ClassIoComplete(), ClassIoCompleteAssociated(), ClasspInitializeGesn(), ClasspMediaChangeDetectionCompletion(), ClasspPowerDownCompletion(), ClasspPowerUpCompletion(), and ClassSendSrbSynchronous().
| BOOLEAN InterpretTransferPacketError | ( | PTRANSFER_PACKET | Pkt | ) |
Definition at line 40 of file retry.c.
Referenced by TransferPktComplete().
| FORCEINLINE BOOLEAN PORT_ALLOCATED_SENSE_EX | ( | _In_ PFUNCTIONAL_DEVICE_EXTENSION | FdoExtension, |
| _In_ PSTORAGE_REQUEST_BLOCK_HEADER | Srb | ||
| ) |
Definition at line 2547 of file classp.h.
Referenced by _Success_(), ClasspMediaChangeDetectionCompletion(), ClassSendSrbSynchronous(), TransferPacketRetryTimerDpc(), and TransferPktComplete().
| VOID RetryRequest | ( | PDEVICE_OBJECT | DeviceObject, |
| PIRP | Irp, | ||
| PSCSI_REQUEST_BLOCK | Srb, | ||
| BOOLEAN | Associated, | ||
| LONGLONG | TimeDelta100ns | ||
| ) |
Definition at line 359 of file obsolete.c.
Referenced by ClassIoComplete(), ClassIoCompleteAssociated(), and ClassReadDriveCapacity().
| BOOLEAN RetryTransferPacket | ( | PTRANSFER_PACKET | Pkt | ) |
Definition at line 453 of file retry.c.
Referenced by TransferPktComplete().
| NTSTATUS ServiceTransferRequest | ( | PDEVICE_OBJECT | Fdo, |
| PIRP | Irp, | ||
| BOOLEAN | PostToDpc | ||
| ) |
Definition at line 3341 of file class.c.
Referenced by ClasspServiceIdleRequest(), ClassReadWrite(), ClassSplitRequest(), and TransferPktComplete().
| VOID SetupDriveCapacityTransferPacket | ( | TRANSFER_PACKET * | Pkt, |
| PVOID | ReadCapacityBuffer, | ||
| ULONG | ReadCapacityBufferLen, | ||
| PKEVENT | SyncEventPtr, | ||
| PIRP | OriginalIrp, | ||
| BOOLEAN | Use16ByteCdb | ||
| ) |
Definition at line 1480 of file xferpkt.c.
Referenced by ClassReadDriveCapacity().
| VOID SetupEjectionTransferPacket | ( | TRANSFER_PACKET * | Pkt, |
| BOOLEAN | PreventMediaRemoval, | ||
| PKEVENT | SyncEventPtr, | ||
| PIRP | OriginalIrp | ||
| ) |
Definition at line 1315 of file xferpkt.c.
| VOID SetupModeSelectTransferPacket | ( | TRANSFER_PACKET * | Pkt, |
| PKEVENT | SyncEventPtr, | ||
| PVOID | ModeSelectBuffer, | ||
| UCHAR | ModeSelectBufferLen, | ||
| BOOLEAN | SavePages, | ||
| PIRP | OriginalIrp | ||
| ) |
Definition at line 1425 of file xferpkt.c.
Referenced by ClasspModeSelect().
| VOID SetupModeSenseTransferPacket | ( | TRANSFER_PACKET * | Pkt, |
| PKEVENT | SyncEventPtr, | ||
| PVOID | ModeSenseBuffer, | ||
| UCHAR | ModeSenseBufferLen, | ||
| UCHAR | PageMode, | ||
| UCHAR | SubPage, | ||
| PIRP | OriginalIrp, | ||
| UCHAR | PageControl | ||
| ) |
Definition at line 1365 of file xferpkt.c.
Referenced by ClasspModeSense().
| VOID SetupReadWriteTransferPacket | ( | PTRANSFER_PACKET | pkt, |
| PVOID | Buf, | ||
| ULONG | Len, | ||
| LARGE_INTEGER | DiskLocation, | ||
| PIRP | OriginalIrp | ||
| ) |
Definition at line 718 of file xferpkt.c.
Referenced by ServiceTransferRequest(), and StepLowMemRetry().
| FORCEINLINE VOID SimpleInitSlistHdr | ( | SINGLE_LIST_ENTRY * | SListHdr | ) |
Definition at line 1211 of file classp.h.
Referenced by CleanupTransferPacketToWorkingSetSize(), and ServiceTransferRequest().
| FORCEINLINE BOOLEAN SimpleIsSlistEmpty | ( | SINGLE_LIST_ENTRY * | SListHdr | ) |
Definition at line 1229 of file classp.h.
Referenced by ServiceTransferRequest().
| FORCEINLINE SINGLE_LIST_ENTRY * SimplePopSlist | ( | SINGLE_LIST_ENTRY * | SListHdr | ) |
Definition at line 1220 of file classp.h.
Referenced by CleanupTransferPacketToWorkingSetSize(), and ServiceTransferRequest().
| FORCEINLINE VOID SimplePushSlist | ( | SINGLE_LIST_ENTRY * | SListHdr, |
| SINGLE_LIST_ENTRY * | SListEntry | ||
| ) |
Definition at line 1215 of file classp.h.
Referenced by CleanupTransferPacketToWorkingSetSize(), and ServiceTransferRequest().
| BOOLEAN StepLowMemRetry | ( | PTRANSFER_PACKET | Pkt | ) |
Definition at line 706 of file retry.c.
Referenced by RetryTransferPacket(), ServiceTransferRequest(), and TransferPktComplete().
| NTSTATUS SubmitTransferPacket | ( | PTRANSFER_PACKET | Pkt | ) |
Definition at line 850 of file xferpkt.c.
Referenced by ClasspContinueOffloadWrite(), ClasspModeSelect(), ClasspModeSense(), ClasspReceivePopulateTokenInformation(), ClasspReceiveWriteUsingTokenInformation(), ClassReadDriveCapacity(), ServiceTransferRequest(), and TransferPacketRetryTimerDpc().
| BOOLEAN TestDictionarySignature | ( | IN PDICTIONARY | Dictionary | ) |
| VOID TransferPacketQueueRetryDpc | ( | PTRANSFER_PACKET | Pkt | ) |
Definition at line 604 of file retry.c.
Referenced by RetryTransferPacket(), ServiceTransferRequest(), and StepLowMemRetry().
|
extern |
Definition at line 29 of file data.c.
Referenced by ClassPnpStartDevice().
Definition at line 1996 of file classp.h.
Referenced by ConvertDataSetRangeToUnmapBlockDescr().
|
extern |
Definition at line 43 of file data.c.
Referenced by ClassPnpStartDevice().
| IO_WORKITEM_ROUTINE ClassLogResourceExhaustionEvent |
Definition at line 2306 of file classp.h.
Referenced by ClassQueueResourceExhaustionEventWorker().
| IO_WORKITEM_ROUTINE ClassLogThresholdEvent |
Definition at line 2298 of file classp.h.
Referenced by ClassQueueThresholdEventWorker().
|
extern |
Definition at line 88 of file class.c.
Referenced by ServiceTransferRequest(), and TransferPktComplete().
| POWER_SETTING_CALLBACK ClasspPowerSettingCallback |
Definition at line 1619 of file classp.h.
Referenced by _Function_class_(), ClasspEnableIdlePower(), and ClasspInitializePolling().
| KDEFERRED_ROUTINE ClasspRetryRequestDpc |
Definition at line 1644 of file classp.h.
Referenced by ClassPnpStartDevice().
|
extern |
Definition at line 124 of file autorun.c.
Referenced by _Function_class_(), ClasspCanSendPollingIrp(), ClasspEnableTimer(), ClasspPrepareMcnIrp(), and ClasspUpdateTimerNoWakeTolerance().
| IO_COMPLETION_ROUTINE ClasspSendSynchronousCompletion |
Definition at line 1410 of file classp.h.
Referenced by ClassSendSrbSynchronous().
| DRIVER_STARTIO ClasspStartIo |
Definition at line 1454 of file classp.h.
Referenced by _IRQL_requires_max_(), and ClasspStartIo().
| IO_WORKITEM_ROUTINE ClasspUpdateDiskProperties |
Definition at line 1714 of file classp.h.
Referenced by ClasspInternalSetMediaChangeState(), and ClassReadDriveCapacity().
| IO_COMPLETION_ROUTINE ClassReleaseQueueCompletion |
Definition at line 1586 of file classp.h.
Referenced by ClasspReleaseQueue().
| DRIVER_UNLOAD ClassUnload |
Definition at line 1356 of file classp.h.
Referenced by _IRQL_requires_max_(), ClassReleaseClientReference(), and LibraryUnloadClasses().
| IO_WORKITEM_ROUTINE_EX CleanupTransferPacketToWorkingSetSizeWorker |
Definition at line 1745 of file classp.h.
Referenced by EnqueueFreeTransferPacket().
Definition at line 1997 of file classp.h.
Referenced by ConvertDataSetRangeToUnmapBlockDescr().
Definition at line 1999 of file classp.h.
Referenced by ConvertDataSetRangeToUnmapBlockDescr().
| _In_ PVOID _Inout_ PULONG _In_ ULONG _Inout_ PULONG _In_ ULONGLONG _Inout_ PDEVICE_DATA_SET_RANGE DataSetRange |
Definition at line 2001 of file classp.h.
Referenced by ConvertDataSetRangeToUnmapBlockDescr().
|
extern |
Definition at line 132 of file class.c.
Referenced by _Function_class_(), and ClasspEnableIdlePower().
|
extern |
Definition at line 113 of file class.c.
Referenced by _Function_class_(), _IRQL_requires_max_(), and ClasspEnableIdlePower().
|
extern |
Definition at line 114 of file class.c.
Referenced by _Function_class_(), _IRQL_requires_max_(), and ClasspEnableIdlePower().
Definition at line 1758 of file classp.h.
Referenced by _IRQL_requires_max_(), and CRYPT_AsnDecodeCTL().
|
extern |
Definition at line 2000 of file classp.h.
Referenced by ConvertDataSetRangeToUnmapBlockDescr().
|
extern |
Definition at line 107 of file class.c.
Referenced by _IRQL_requires_(), and ClasspContinueOffloadWrite().
Definition at line 1757 of file classp.h.
Referenced by __drv_allocatesMem(), _IRQL_requires_max_(), ClasspPowerDownCompletion(), ClasspPowerUpCompletion(), SendDeviceUsageNotification(), SendDeviceUsageNotificationWorker(), SetupDriveCapacityTransferPacket(), SetupEjectionTransferPacket(), SetupModeSelectTransferPacket(), SetupModeSenseTransferPacket(), and SetupReadWriteTransferPacket().
| _In_ PTRANSFER_PACKET Pkt |
Definition at line 1754 of file classp.h.
Referenced by _IRQL_requires_max_(), ClasspTransferPacketGetCdb(), ClasspTransferPacketGetNumberOfRetriesDone(), ClasspTransferPacketGetSenseInfoBuffer(), ClasspTransferPacketGetSenseInfoBufferLength(), DestroyTransferPacket(), EnqueueFreeTransferPacket(), HistoryLogReturnedPacket(), HistoryLogSendPacket(), InitLowMemRetry(), InterpretTransferPacketError(), RetryTransferPacket(), SetupDriveCapacityTransferPacket(), SetupEjectionTransferPacket(), SetupModeSelectTransferPacket(), SetupModeSenseTransferPacket(), SetupReadWriteTransferPacket(), StepLowMemRetry(), SubmitTransferPacket(), and TransferPacketQueueRetryDpc().
|
extern |
Definition at line 119 of file class.c.
Referenced by ClasspEnableIdlePower(), and DllUnload().
| RTL_GENERIC_ALLOCATE_ROUTINE RemoveTrackingAllocateRoutine |
Definition at line 2402 of file classp.h.
Referenced by ClasspInitializeRemoveTracking().
| RTL_GENERIC_COMPARE_ROUTINE RemoveTrackingCompareRoutine |
Definition at line 2400 of file classp.h.
Referenced by ClasspInitializeRemoveTracking().
| RTL_GENERIC_FREE_ROUTINE RemoveTrackingFreeRoutine |
Definition at line 2404 of file classp.h.
Referenced by ClasspInitializeRemoveTracking().
|
extern |
Definition at line 124 of file class.c.
Referenced by ClasspInitializePolling(), and DllUnload().
Definition at line 1949 of file classp.h.
Referenced by ClasspSrbSetOriginalIrp(), FREE_PORT_ALLOCATED_SENSE_BUFFER_EX(), and PORT_ALLOCATED_SENSE_EX().
Definition at line 108 of file class.c.
Referenced by ClasspContinueOffloadWrite().
| KDEFERRED_ROUTINE TransferPacketRetryTimerDpc |
Definition at line 1727 of file classp.h.
Referenced by TransferPacketQueueRetryDpc().
| IO_COMPLETION_ROUTINE TransferPktComplete |
Definition at line 1724 of file classp.h.
Referenced by SubmitTransferPacket().