#include "cc.h"
Go to the source code of this file.
Defines | |
#define | me (0x00000010) |
Functions | |
VOID | CcMdlRead (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, OUT PMDL *MdlChain, OUT PIO_STATUS_BLOCK IoStatus) |
VOID | CcMdlReadComplete (IN PFILE_OBJECT FileObject, IN PMDL MdlChain) |
VOID | CcMdlReadComplete2 (IN PFILE_OBJECT FileObject, IN PMDL MdlChain) |
VOID | CcPrepareMdlWrite (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, OUT PMDL *MdlChain, OUT PIO_STATUS_BLOCK IoStatus) |
VOID | CcMdlWriteComplete (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN PMDL MdlChain) |
VOID | CcMdlWriteComplete2 (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN PMDL MdlChain) |
|
|
|
Definition at line 30 of file mdlsup.c. References ASSERT, _PRIVATE_CACHE_MAP::BeyondLastByte1, _PRIVATE_CACHE_MAP::BeyondLastByte2, CcFreeActiveVacb(), CcFreeVirtualAddress(), CcGetVirtualAddress(), CcMdlReadWait, CcMdlReadWaitMiss, CcMissCounter, CcScheduleReadAhead(), CcThrowAway, COMPUTE_PAGES_SPANNED, DebugTrace, DebugTrace2, ExRaiseStatus(), FALSE, _PRIVATE_CACHE_MAP::FileOffset1, _PRIVATE_CACHE_MAP::FileOffset2, _SHARED_CACHE_MAP::FileSize, FlagOn, FO_RANDOM_ACCESS, GetActiveVacb, IoAllocateMdl(), IoFreeMdl(), IoReadAccess, KernelMode, me, mm, MmProbeAndLockPages(), MmResetPageFaultReadAhead, MmSavePageFaultReadAhead, MmSetPageFaultReadAhead, MmUnlockPages(), _SHARED_CACHE_MAP::NeedToZero, _MDL::Next, NULL, PsGetCurrentThread, _PRIVATE_CACHE_MAP::ReadAheadEnabled, _PRIVATE_CACHE_MAP::ReadAheadLength, and TRUE. Referenced by FsRtlMdlReadDev(), and UdfCommonRead().
|
|
Definition at line 381 of file mdlsup.c. References CcMdlReadComplete2(), _DEVICE_OBJECT::DriverObject, _DRIVER_OBJECT::FastIoDispatch, IoGetRelatedDeviceObject(), _FAST_IO_DISPATCH::MdlReadComplete, NULL, and _FAST_IO_DISPATCH::SizeOfFastIoDispatch. Referenced by UdfCompleteMdl().
|
|
Definition at line 406 of file mdlsup.c. References DebugTrace, IoFreeMdl(), me, mm, MmUnlockPages(), _MDL::Next, and NULL. Referenced by CcMdlReadComplete(), and FsRtlMdlReadCompleteDev().
|
|
Definition at line 812 of file mdlsup.c. References CcMdlWriteComplete2(), _DEVICE_OBJECT::DriverObject, _DRIVER_OBJECT::FastIoDispatch, IoGetRelatedDeviceObject(), _FAST_IO_DISPATCH::MdlWriteComplete, NULL, and _FAST_IO_DISPATCH::SizeOfFastIoDispatch.
|
|
Definition at line 838 of file mdlsup.c. References CcAcquireMasterLock, CcDecrementOpenCount, CcDirtySharedCacheMapList, CcReleaseMasterLock, CcScheduleLazyWriteScan(), CcSetDirtyInMask(), DebugTrace, _SHARED_CACHE_MAP::DirtyPages, FlagOn, _SHARED_CACHE_MAP::Flags, FO_WRITE_THROUGH, FsRtlNormalizeNtstatus(), IoFreeMdl(), LazyWriter, me, mm, MmFlushSection(), MmUnlockPages(), _MDL::Next, NT_SUCCESS, NTSTATUS(), NULL, _SHARED_CACHE_MAP::OpenCount, _LAZY_WRITER::OtherWork, _LAZY_WRITER::ScanActive, _SHARED_CACHE_MAP::SharedCacheMapLinks, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, TRUE, and WRITE_QUEUED. Referenced by CcMdlWriteComplete(), and FsRtlMdlWriteCompleteDev().
|
|
Definition at line 466 of file mdlsup.c. References _SHARED_CACHE_MAP::BcbSpinLock, CcAcquireMasterLock, CcFreeActiveVacb(), CcFreeVirtualAddress(), CcGetVirtualAddress(), CcIncrementOpenCount, CcMapAndRead(), CcReleaseMasterLock, CcSetDirtyInMask(), DebugTrace, DebugTrace2, ExRaiseStatus(), FALSE, GetActiveVacb, IoAllocateMdl(), IoFreeMdl(), IoWriteAccess, KernelMode, me, mm, MmDisablePageFaultClustering, MmEnablePageFaultClustering, MmProbeAndLockPages(), MmUnlockPages(), _SHARED_CACHE_MAP::NeedToZero, _MDL::Next, NULL, PAGE_SIZE, TRUE, _SHARED_CACHE_MAP::ValidDataGoal, VOID(), ZERO_FIRST_PAGE, ZERO_LAST_PAGE, and ZERO_MIDDLE_PAGES. Referenced by FsRtlPrepareMdlWriteDev().
|