ReactOS 0.4.16-dev-340-g0540c21
|
#include "stddef.h"
#include "string.h"
#include "ntddk.h"
#include "ntddstor.h"
#include "cdrom.h"
#include "ioctl.h"
#include "scratch.h"
#include "mmc.h"
Go to the source code of this file.
Variables | |
EVT_WDF_REQUEST_COMPLETION_ROUTINE | ScratchBuffer_ReadWriteCompletionRoutine |
EVT_WDF_REQUEST_CANCEL | ScratchBuffer_ReadWriteEvtRequestCancel |
_IRQL_requires_max_ | ( | APC_LEVEL | ) |
Definition at line 50 of file scratch.c.
VOID CompressSrbHistoryData | ( | _Inout_ PSRB_HISTORY | RequestHistory | ) |
Definition at line 1033 of file scratch.c.
Referenced by ScratchBuffer_SendSrb().
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 NTAPI ScratchBuffer_ReadWriteCompletionRoutine | ( | _In_ WDFREQUEST | Request, |
_In_ WDFIOTARGET | Target, | ||
_In_ PWDF_REQUEST_COMPLETION_PARAMS | Params, | ||
_In_ WDFCONTEXT | Context | ||
) |
Definition at line 628 of file scratch.c.
Definition at line 572 of file scratch.c.
VOID NTAPI ScratchBuffer_ReadWriteTimerRoutine | ( | struct _KDPC * | Dpc, |
PVOID | DeferredContext, | ||
PVOID | SystemArgument1, | ||
PVOID | SystemArgument2 | ||
) |
Definition at line 488 of file scratch.c.
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().
EVT_WDF_REQUEST_COMPLETION_ROUTINE ScratchBuffer_ReadWriteCompletionRoutine |
Definition at line 39 of file scratch.c.
Referenced by ScratchBuffer_PerformNextReadWrite().
EVT_WDF_REQUEST_CANCEL ScratchBuffer_ReadWriteEvtRequestCancel |
Definition at line 568 of file scratch.c.
Referenced by ScratchBuffer_ReadWriteCompletionRoutine().