|
ReactOS 0.4.16-dev-1946-g52006dd
|

Go to the source code of this file.
Macros | |
| #define | ScratchBuffer_BeginUse(context) ScratchBuffer_BeginUseX((context), NULL, (ULONG)-1) |
Variables | |
| _In_opt_ WDFREQUEST | OriginalRequest |
| _In_opt_ WDFREQUEST _In_ ULONG | MaximumTransferLength |
| _In_opt_ WDFREQUEST _In_ ULONG _In_ BOOLEAN | GetDataFromDevice |
| _In_opt_ WDFREQUEST _In_ ULONG | TransferSize |
| _In_opt_ WDFREQUEST _In_ ULONG _In_ BOOLEAN _In_ PCDB | Cdb |
| _In_opt_ WDFREQUEST _In_ ULONG _In_ BOOLEAN _In_ PCDB _In_ UCHAR | OprationLength |
| _In_opt_ WDFREQUEST _In_ ULONG _In_ BOOLEAN _In_ PCDB _In_ UCHAR _In_ ULONG | TimeoutValue |
| KDEFERRED_ROUTINE | ScratchBuffer_ReadWriteTimerRoutine |
| _IRQL_requires_max_ | ( | APC_LEVEL | ) |
Definition at line 37 of file cddata.c.
| VOID CompressSrbHistoryData | ( | _Inout_ PSRB_HISTORY | RequestHistory | ) |
Definition at line 1033 of file scratch.c.
Referenced by ScratchBuffer_SendSrb().
| FORCEINLINE VOID ScratchBuffer_BeginUseX | ( | _Inout_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
| _In_opt_ LPCSTR | File, | ||
| ULONG | Line | ||
| ) |
Definition at line 90 of file scratch.h.
| FORCEINLINE VOID ScratchBuffer_EndUse | ( | _Inout_ PCDROM_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 104 of file scratch.h.
Referenced by _IRQL_requires_max_(), DeviceScratchPreventMediaRemoval(), DeviceScratchSyncCache(), RequestIssueShutdownFlush(), ScratchBuffer_ReadWriteCompletionRoutine(), ScratchBuffer_ReadWriteEvtRequestCancel(), and ScratchBuffer_ReadWriteTimerRoutine().
| NTSTATUS ScratchBuffer_PerformNextReadWrite | ( | _In_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
| _In_ BOOLEAN | FirstTry | ||
| ) |
Definition at line 429 of file scratch.c.
Referenced by RequestHandleReadWrite(), ScratchBuffer_ReadWriteCompletionRoutine(), and ScratchBuffer_ReadWriteTimerRoutine().
| VOID ScratchBuffer_ResetItems | ( | _Inout_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
| _In_ BOOLEAN | ResetRequestHistory | ||
| ) |
Definition at line 343 of file scratch.c.
Referenced by _IRQL_requires_max_(), ScratchBuffer_BeginUseX(), and ScratchBuffer_PerformNextReadWrite().
| NTSTATUS ScratchBuffer_SendSrb | ( | _Inout_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
| _In_ BOOLEAN | SynchronousSrb, | ||
| _When_(SynchronousSrb, _Pre_null_) _When_(!SynchronousSrb, _In_opt_) PSRB_HISTORY_ITEM * | SrbHistoryItem | ||
| ) |
Definition at line 906 of file scratch.c.
Referenced by RequestIssueShutdownFlush(), and ScratchBuffer_PerformNextReadWrite().
| VOID ScratchBuffer_SetupReadWriteSrb | ( | _Inout_ PCDROM_DEVICE_EXTENSION | DeviceExtension, |
| _In_ WDFREQUEST | OriginalRequest, | ||
| _In_ LARGE_INTEGER | StartingOffset, | ||
| _In_ ULONG | RequiredLength, | ||
| _Inout_updates_bytes_(RequiredLength) UCHAR * | DataBuffer, | ||
| _In_ BOOLEAN | IsReadRequest, | ||
| _In_ BOOLEAN | UsePartialMdl | ||
| ) |
Definition at line 1212 of file scratch.c.
Referenced by ScratchBuffer_PerformNextReadWrite().
| VOID ValidateSrbHistoryDataPresumptions | ( | _In_ SRB_HISTORY const * | RequestHistory | ) |
Definition at line 1135 of file scratch.c.
Referenced by CompressSrbHistoryData().
Definition at line 159 of file scratch.h.
Referenced by _Requires_lock_held_(), AhciATAPICommand(), AhciGetLba(), AtapiInterrupt__(), AtapiSendCommand(), ClasspIsOffloadDataTransferCommand(), ClasspIsReceiveTokenInformation(), ClasspIsTokenOperation(), ClasspTransferPacketGetNumberOfRetriesDone(), DeviceInquiryRequest(), DeviceReportLuns(), DeviceRequestCapacity(), DeviceRequestComplete(), DeviceRequestReadWrite(), DeviceRequestSense(), DiskIoctlVerifyThread(), DiskOpen(), DiskRead(), FdoSendInquiry(), GetSrbScsiData(), PortSendInquiry(), SpiScanAdapter(), SpiSendRequestSense(), SptiHandleScsiPassthru(), SptiInitializeSpt(), SptiTranslateSptToSrb(), SptiTranslateTaskFileToCdb(), SrbGetCdb(), SrbGetScsiData(), UDFCommonDeviceControl(), USBSTOR_FillInquiryData(), and USBSTOR_SendInternalCdb().
Definition at line 54 of file scratch.h.
Referenced by SptiHandleAtaPassthru(), SptiHandleScsiPassthru(), SptiInitializeApt(), and SptiInitializeSpt().
| KDEFERRED_ROUTINE ScratchBuffer_ReadWriteTimerRoutine |
Definition at line 185 of file scratch.h.
Referenced by ScratchBuffer_ReadWriteCompletionRoutine().