#include "cc.h"
Go to the source code of this file.
Defines | |
#define | BugCheckFileId (CACHE_BUG_CHECK_LAZYRITE) |
#define | me 0x00000020 |
Functions | |
PWORK_QUEUE_ENTRY | CcReadWorkQueue () |
VOID | CcLazyWriteScan () |
VOID | CcScheduleLazyWriteScan () |
VOID | CcScanDpc (IN PKDPC Dpc, IN PVOID DeferredContext, IN PVOID SystemArgument1, IN PVOID SystemArgument2) |
NTSTATUS | CcWaitForCurrentLazyWriterActivity () |
LONG | CcExceptionFilter (IN NTSTATUS ExceptionCode) |
VOID FASTCALL | CcPostWorkQueue (IN PWORK_QUEUE_ENTRY WorkQueueEntry, IN PLIST_ENTRY WorkQueue) |
VOID | CcWorkerThread (PVOID ExWorkQueueItem) |
|
Definition at line 27 of file lazyrite.c. |
|
Definition at line 33 of file lazyrite.c. |
|
Definition at line 619 of file lazyrite.c. References DebugTrace, EXCEPTION_CONTINUE_SEARCH, EXCEPTION_EXECUTE_HANDLER, and FsRtlIsNtstatusExpected(). Referenced by CcAcquireByteRangeForWrite(), CcFlushCache(), CcLazyWriteScan(), and CcWorkerThread().
|
|
Definition at line 221 of file lazyrite.c. References CcAcquireMasterLock, CcAllocateWorkQueueEntry, CcBugCheck, CcCanIWrite(), CcCapturedSystemSize, CcDeferredWrites, CcDirtyPagesLastScan, CcDirtyPageTarget, CcExceptionFilter(), CcLazyWriterCursor, CcPagesWrittenLastTime, CcPagesYetToWrite, CcPostDeferredWrites(), CcPostTickWorkQueue, CcPostWorkQueue(), CcRegularWorkQueue, CcReleaseMasterLock, CcScheduleLazyWriteScan(), CcTotalDirtyPages, ClearFlag, DebugTrace, _SHARED_CACHE_MAP::DirtyPages, FALSE, _SHARED_CACHE_MAP::FileObject, _SHARED_CACHE_MAP::FileSize, FlagOn, _FILE_OBJECT::Flags, _SHARED_CACHE_MAP::Flags, FO_TEMPORARY_FILE, _WORK_QUEUE_ENTRY::Function, IS_CURSOR, LAZY_WRITER_MAX_AGE_TARGET, _SHARED_CACHE_MAP::LazyWritePassCount, LazyWriter, MAX_WRITE_BEHIND, me, MmSmallSystem, MODIFIED_WRITE_DISABLED, NULL, _SHARED_CACHE_MAP::OpenCount, _LAZY_WRITER::OtherWork, PAGE_SIZE, _SHARED_CACHE_MAP::PagesToWrite, _WORK_QUEUE_ENTRY::Parameters, _LAZY_WRITER::ScanActive, SetFlag, _SHARED_CACHE_MAP::SharedCacheMapLinks, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, TRUE, WRITE_CHARGE_THRESHOLD, WRITE_QUEUED, and WriteBehind. Referenced by CcWorkerThread().
|
|
Definition at line 662 of file lazyrite.c. References ASSERT, CcIdleWorkerThreadList, CcNumberActiveWorkerThreads, CcQueueThrottle, CcWorkQueueSpinlock, CriticalWorkQueue, DebugTrace, ExQueueWorkItem(), List, me, and NULL. Referenced by CcLazyWriteScan(), CcScanDpc(), and CcScheduleReadAhead().
|
|
|
|
Definition at line 99 of file lazyrite.c. References CcAllocateWorkQueueEntry, CcPostWorkQueue(), CcRegularWorkQueue, FALSE, _WORK_QUEUE_ENTRY::Function, LazyWriter, LazyWriteScan, NULL, and _LAZY_WRITER::ScanActive. Referenced by CcInitializeCacheManager().
|
|
Definition at line 49 of file lazyrite.c. References CcFirstDelay, CcIdleDelay, KeSetTimer(), LazyWriter, _LAZY_WRITER::ScanActive, _LAZY_WRITER::ScanDpc, _LAZY_WRITER::ScanTimer, and TRUE. Referenced by CcDeferWrite(), CcFlushCache(), CcGetFlushedValidData(), CcGetVacbMiss(), CcInitializeCacheMap(), CcLazyWriteScan(), CcMdlWriteComplete2(), CcPerformReadAhead(), CcPurgeCacheSection(), CcSetDirtyInMask(), CcSetDirtyPinnedData(), CcSetFileSizes(), CcUninitializeCacheMap(), CcWaitForCurrentLazyWriterActivity(), and CcZeroEndOfLastPage().
|
|
Definition at line 158 of file lazyrite.c. References CcAcquireMasterLock, CcAllocateWorkQueueEntry, CcPostTickWorkQueue, CcReleaseMasterLock, CcScheduleLazyWriteScan(), Event(), EventSet, Executive, FALSE, _WORK_QUEUE_ENTRY::Function, KeInitializeEvent, KernelMode, KeWaitForSingleObject(), LazyWriter, NULL, _LAZY_WRITER::OtherWork, _WORK_QUEUE_ENTRY::Parameters, _LAZY_WRITER::ScanActive, TRUE, and _WORK_QUEUE_ENTRY::WorkQueueLinks. Referenced by UdfLockVolumeInternal().
|
|
Definition at line 738 of file lazyrite.c. References ASSERT, CC_REQUEUE, CcDeferredWrites, CcExceptionFilter(), CcExpressWorkQueue, CcFreeWorkQueueEntry, CcIdleWorkerThreadList, CcLazyWriteScan(), CcNumberActiveWorkerThreads, CcPerformReadAhead(), CcQueueThrottle, CcRegularWorkQueue, CcTotalDirtyPages, CcWorkQueueSpinlock, CcWriteBehind(), DebugTrace, EventSet, FALSE, _WORK_QUEUE_ENTRY::Function, KeSetEvent(), LazyWriteScan, List, me, NT_SUCCESS, _WORK_QUEUE_ENTRY::Parameters, ReadAhead, TRUE, _WORK_QUEUE_ENTRY::WorkQueueLinks, and WriteBehind. Referenced by CcInitializeCacheManager().
|