26#define TAG_COPY_READ TAG('C', 'o', 'p', 'y')
27#define TAG_COPY_WRITE TAG('R', 'i', 't', 'e')
56 DPRINT(
"CcCopyRead(%x,%x,%d,%d,%x)\n",
76 DPRINT(
"Reading %d bytes in this go (at %08x%08x)\n",
90 DPRINT(
"Failed CcCopyRead\n");
94 DPRINT(
"Copying %d bytes at %08x%08x\n",
101 BufferTarget += ReadLen;
103 CacheOffset = NextOffset;
110 DPRINT(
"Done with CcCopyRead\n");
146 DPRINT(
"CcCopyWrite(%x,%x,%d,%d,%x)\n",
157 DPRINT(
"NextOffset %08x%08x\n", NextOffset.
u.HighPart, NextOffset.
u.LowPart);
160 DPRINT(
"Copying %x bytes from %08x%08x\n",
162 CurrentOffset.
u.HighPart,
163 CurrentOffset.
u.LowPart);
165 DPRINT(
"CcPreparePinWrite\n");
177 DPRINT1(
"CcPreparePinWrite Failed?\n");
184 DPRINT(
"Copying actual memory to BCB#%x (@%x) (from buffer at %x)\n",
192 CurrentOffset = NextOffset;
197 DPRINT(
"Done with CcCopyWrite\n");
#define ReadBuffer(BaseIoAddress, Buffer, Count)
_In_ PFCB _In_ LONGLONG FileOffset
#define UNIMPLEMENTED_DBGBREAK(...)
IN PVCB IN VBO IN ULONG OUT PBCB * Bcb
__in UCHAR __in POWER_STATE __in_opt PVOID __in PIO_STATUS_BLOCK IoStatus
DECLSPEC_NORETURN NTSYSAPI VOID NTAPI RtlRaiseStatus(_In_ NTSTATUS Status)
NOCC_BCB CcCacheSections[CACHE_NUM_SECTIONS]
_In_ ULONG _In_ ULONG _In_ ULONG Length
VOID NTAPI CcFastCopyWrite(IN PFILE_OBJECT FileObject, IN ULONG FileOffset, IN ULONG Length, IN PVOID Buffer)
ULONG CcFastMdlReadNotPossible
ULONG CcFastReadResourceMiss
BOOLEAN NTAPI CcCopyWrite(IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN BOOLEAN Wait, IN PVOID Buffer)
BOOLEAN NTAPI CcCanIWrite(IN PFILE_OBJECT FileObject, IN ULONG BytesToWrite, IN BOOLEAN Wait, IN UCHAR Retrying)
BOOLEAN NTAPI CcCopyRead(IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN BOOLEAN Wait, OUT PVOID Buffer, OUT PIO_STATUS_BLOCK IoStatus)
ULONG CcFastReadNotPossible
VOID NTAPI CcFastCopyRead(IN PFILE_OBJECT FileObject, IN ULONG FileOffset, IN ULONG Length, IN ULONG PageCount, OUT PVOID Buffer, OUT PIO_STATUS_BLOCK IoStatus)
VOID NTAPI CcDeferWrite(IN PFILE_OBJECT FileObject, IN PCC_POST_DEFERRED_WRITE PostRoutine, IN PVOID Context1, IN PVOID Context2, IN ULONG BytesToWrite, IN BOOLEAN Retrying)
VOID NTAPI CcUnpinData(IN PVOID Bcb)
BOOLEAN NTAPI CcPreparePinWrite(IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN BOOLEAN Zero, IN ULONG Flags, OUT PVOID *Bcb, OUT PVOID *Buffer)
BOOLEAN NTAPI CcPinRead(IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN ULONG Flags, OUT PVOID *Bcb, OUT PVOID *Buffer)
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT Context1
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT _In_ PTDI_PNP_CONTEXT Context2
#define RtlCopyMemory(Destination, Source, Length)
#define STATUS_UNSUCCESSFUL
#define STATUS_NOT_MAPPED_DATA
struct _LARGE_INTEGER::@2302 u
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
_In_ WDFDPC _In_ BOOLEAN Wait
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
VOID(NTAPI * PCC_POST_DEFERRED_WRITE)(_In_ PVOID Context1, _In_ PVOID Context2)