Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

cachedat.c File Reference

#include "cc.h"

Go to the source code of this file.

Variables

KSPIN_LOCK CcMasterSpinLock
LIST_ENTRY CcCleanSharedCacheMapList
SHARED_CACHE_MAP_LIST_CURSOR CcDirtySharedCacheMapList
SHARED_CACHE_MAP_LIST_CURSOR CcLazyWriterCursor
KSPIN_LOCK CcWorkQueueSpinlock
ULONG CcNumberWorkerThreads = 0
ULONG CcNumberActiveWorkerThreads = 0
LIST_ENTRY CcIdleWorkerThreadList
LIST_ENTRY CcExpressWorkQueue
LIST_ENTRY CcRegularWorkQueue
LIST_ENTRY CcPostTickWorkQueue
BOOLEAN CcQueueThrottle = FALSE
ULONG CcIdleDelayTick
LARGE_INTEGER CcNoDelay
LARGE_INTEGER CcFirstDelay = {(ULONG)-(3*LAZY_WRITER_IDLE_DELAY), -1}
LARGE_INTEGER CcIdleDelay = {(ULONG)-LAZY_WRITER_IDLE_DELAY, -1}
LARGE_INTEGER CcCollisionDelay = {(ULONG)-LAZY_WRITER_COLLISION_DELAY, -1}
LARGE_INTEGER CcTargetCleanDelay = {(ULONG)-(LONG)(LAZY_WRITER_IDLE_DELAY * (LAZY_WRITER_MAX_AGE_TARGET + 1)), -1}
KSPIN_LOCK CcVacbSpinLock
ULONG CcNumberVacbs
PVACB CcVacbs
PVACB CcBeyondVacbs
LIST_ENTRY CcVacbLru
ULONG CcMaxVacbLevelsSeen = 1
ULONG CcVacbLevelEntries = 0
PVACBCcVacbLevelFreeList = NULL
ULONG CcVacbLevelWithBcbsEntries = 0
PVACBCcVacbLevelWithBcbsFreeList = NULL
KSPIN_LOCK CcDeferredWriteSpinLock
LIST_ENTRY CcDeferredWrites
ULONG CcDirtyPageThreshold
ULONG CcDirtyPageTarget
ULONG CcPagesYetToWrite
ULONG CcPagesWrittenLastTime = 0
ULONG CcDirtyPagesLastScan = 0
ULONG CcAvailablePagesThreshold = 100
ULONG CcTotalDirtyPages = 0
MM_SYSTEMSIZE CcCapturedSystemSize
LONG CcAggressiveZeroCount
LONG CcAggressiveZeroThreshold
ULONG CcTune = 0
LAZY_WRITER LazyWriter
NPAGED_LOOKASIDE_LIST CcTwilightLookasideList
ULONG CcThrowAway
ULONG CcFastReadNoWait
ULONG CcFastReadWait
ULONG CcFastReadResourceMiss
ULONG CcFastReadNotPossible
ULONG CcFastMdlReadNoWait
ULONG CcFastMdlReadWait
ULONG CcFastMdlReadResourceMiss
ULONG CcFastMdlReadNotPossible
ULONG CcMapDataNoWait
ULONG CcMapDataWait
ULONG CcMapDataNoWaitMiss
ULONG CcMapDataWaitMiss
ULONG CcPinMappedDataCount
ULONG CcPinReadNoWait
ULONG CcPinReadWait
ULONG CcPinReadNoWaitMiss
ULONG CcPinReadWaitMiss
ULONG CcCopyReadNoWait
ULONG CcCopyReadWait
ULONG CcCopyReadNoWaitMiss
ULONG CcCopyReadWaitMiss
ULONG CcMdlReadNoWait
ULONG CcMdlReadWait
ULONG CcMdlReadNoWaitMiss
ULONG CcMdlReadWaitMiss
ULONG CcReadAheadIos
ULONG CcLazyWriteHotSpots
ULONG CcLazyWriteIos
ULONG CcLazyWritePages
ULONG CcDataFlushes
ULONG CcDataPages
PULONG CcMissCounter = &CcThrowAway


Variable Documentation

LONG CcAggressiveZeroCount
 

Definition at line 116 of file cachedat.c.

Referenced by CcInitializeCacheManager(), and CcZeroData().

LONG CcAggressiveZeroThreshold
 

Definition at line 117 of file cachedat.c.

Referenced by CcInitializeCacheManager(), and CcZeroData().

ULONG CcAvailablePagesThreshold = 100
 

Definition at line 102 of file cachedat.c.

PVACB CcBeyondVacbs
 

Definition at line 83 of file cachedat.c.

Referenced by CcGetVacbLargeOffset(), CcInitializeVacbs(), CcRemapBcb(), and CcUnpinFileData().

MM_SYSTEMSIZE CcCapturedSystemSize
 

Definition at line 109 of file cachedat.c.

Referenced by CcInitializeCacheManager(), and CcLazyWriteScan().

LIST_ENTRY CcCleanSharedCacheMapList
 

Definition at line 30 of file cachedat.c.

Referenced by CcAcquireByteRangeForWrite(), CcInitializeCacheManager(), CcInitializeCacheMap(), and CcUnpinFileData().

LARGE_INTEGER CcCollisionDelay = {(ULONG)-LAZY_WRITER_COLLISION_DELAY, -1}
 

Definition at line 67 of file cachedat.c.

Referenced by CcPurgeCacheSection().

ULONG CcCopyReadNoWait
 

Definition at line 188 of file cachedat.c.

Referenced by CcCopyRead(), and NtQuerySystemInformation().

ULONG CcCopyReadNoWaitMiss
 

Definition at line 190 of file cachedat.c.

Referenced by CcCopyRead(), and NtQuerySystemInformation().

ULONG CcCopyReadWait
 

Definition at line 189 of file cachedat.c.

Referenced by CcCopyRead(), CcFastCopyRead(), and NtQuerySystemInformation().

ULONG CcCopyReadWaitMiss
 

Definition at line 191 of file cachedat.c.

Referenced by CcCopyRead(), CcFastCopyRead(), and NtQuerySystemInformation().

ULONG CcDataFlushes
 

Definition at line 203 of file cachedat.c.

Referenced by IoSynchronousPageWrite(), and NtQuerySystemInformation().

ULONG CcDataPages
 

Definition at line 204 of file cachedat.c.

Referenced by IoSynchronousPageWrite(), and NtQuerySystemInformation().

LIST_ENTRY CcDeferredWrites
 

Definition at line 96 of file cachedat.c.

Referenced by CcCanIWrite(), CcDeferWrite(), CcFlushCache(), CcInitializeCacheManager(), CcLazyWriteScan(), CcPostDeferredWrites(), CcUnpinRepinnedBcb(), CcWorkerThread(), and CcWriteBehind().

KSPIN_LOCK CcDeferredWriteSpinLock
 

Definition at line 95 of file cachedat.c.

Referenced by CcCanIWrite(), CcDeferWrite(), CcInitializeCacheManager(), and CcPostDeferredWrites().

ULONG CcDirtyPagesLastScan = 0
 

Definition at line 101 of file cachedat.c.

Referenced by CcLazyWriteScan().

ULONG CcDirtyPageTarget
 

Definition at line 98 of file cachedat.c.

Referenced by CcInitializeCacheManager(), and CcLazyWriteScan().

ULONG CcDirtyPageThreshold
 

Definition at line 97 of file cachedat.c.

Referenced by CcCanIWrite(), and CcInitializeCacheManager().

SHARED_CACHE_MAP_LIST_CURSOR CcDirtySharedCacheMapList
 

Definition at line 31 of file cachedat.c.

Referenced by CcFlushCache(), CcGetDirtyPages(), CcGetFlushedValidData(), CcGetVacbMiss(), CcInitializeCacheManager(), CcInitializeCacheMap(), CcIsThereDirtyData(), CcMdlWriteComplete2(), CcPerformReadAhead(), CcPurgeCacheSection(), CcSetDirtyInMask(), CcSetDirtyPinnedData(), CcSetFileSizes(), CcUninitializeCacheMap(), and CcZeroEndOfLastPage().

LIST_ENTRY CcExpressWorkQueue
 

Definition at line 52 of file cachedat.c.

Referenced by CcInitializeCacheManager(), CcScheduleReadAhead(), and CcWorkerThread().

ULONG CcFastMdlReadNotPossible
 

Definition at line 174 of file cachedat.c.

Referenced by FsRtlMdlReadDev(), and NtQuerySystemInformation().

ULONG CcFastMdlReadNoWait
 

Definition at line 171 of file cachedat.c.

Referenced by NtQuerySystemInformation().

ULONG CcFastMdlReadResourceMiss
 

Definition at line 173 of file cachedat.c.

Referenced by NtQuerySystemInformation().

ULONG CcFastMdlReadWait
 

Definition at line 172 of file cachedat.c.

Referenced by FsRtlMdlReadDev(), and NtQuerySystemInformation().

ULONG CcFastReadNotPossible
 

Definition at line 169 of file cachedat.c.

Referenced by FsRtlCopyRead(), and NtQuerySystemInformation().

ULONG CcFastReadNoWait
 

Definition at line 166 of file cachedat.c.

Referenced by FsRtlCopyRead(), and NtQuerySystemInformation().

ULONG CcFastReadResourceMiss
 

Definition at line 168 of file cachedat.c.

Referenced by FsRtlCopyRead(), and NtQuerySystemInformation().

ULONG CcFastReadWait
 

Definition at line 167 of file cachedat.c.

Referenced by FsRtlCopyRead(), and NtQuerySystemInformation().

LARGE_INTEGER CcFirstDelay = {(ULONG)-(3*LAZY_WRITER_IDLE_DELAY), -1}
 

Definition at line 65 of file cachedat.c.

Referenced by CcScheduleLazyWriteScan().

LARGE_INTEGER CcIdleDelay = {(ULONG)-LAZY_WRITER_IDLE_DELAY, -1}
 

Definition at line 66 of file cachedat.c.

Referenced by CcCanIWrite(), and CcScheduleLazyWriteScan().

ULONG CcIdleDelayTick
 

Definition at line 63 of file cachedat.c.

Referenced by CcFlushCache(), and CcInitializeCacheManager().

LIST_ENTRY CcIdleWorkerThreadList
 

Definition at line 51 of file cachedat.c.

Referenced by CcInitializeCacheManager(), CcPostWorkQueue(), and CcWorkerThread().

ULONG CcLazyWriteHotSpots
 

Definition at line 200 of file cachedat.c.

Referenced by CcFlushCache().

ULONG CcLazyWriteIos
 

Definition at line 201 of file cachedat.c.

Referenced by CcFlushCache(), and NtQuerySystemInformation().

ULONG CcLazyWritePages
 

Definition at line 202 of file cachedat.c.

Referenced by CcFlushCache(), and NtQuerySystemInformation().

SHARED_CACHE_MAP_LIST_CURSOR CcLazyWriterCursor
 

Definition at line 32 of file cachedat.c.

Referenced by CcInitializeCacheManager(), and CcLazyWriteScan().

ULONG CcMapDataNoWait
 

Definition at line 176 of file cachedat.c.

Referenced by CcMapData(), and NtQuerySystemInformation().

ULONG CcMapDataNoWaitMiss
 

Definition at line 178 of file cachedat.c.

Referenced by CcMapData(), and NtQuerySystemInformation().

ULONG CcMapDataWait
 

Definition at line 177 of file cachedat.c.

Referenced by CcMapData(), and NtQuerySystemInformation().

ULONG CcMapDataWaitMiss
 

Definition at line 179 of file cachedat.c.

Referenced by CcMapData(), and NtQuerySystemInformation().

KSPIN_LOCK CcMasterSpinLock
 

Definition at line 29 of file cachedat.c.

Referenced by CcInitializeCacheManager(), and KiInitializeKernel().

ULONG CcMaxVacbLevelsSeen = 1
 

Definition at line 85 of file cachedat.c.

Referenced by CcCreateVacbArray(), CcDrainVacbLevelZone(), CcExtendVacbArray(), CcGetVacbMiss(), and CcReferenceFileOffset().

ULONG CcMdlReadNoWait
 

Definition at line 193 of file cachedat.c.

Referenced by NtQuerySystemInformation().

ULONG CcMdlReadNoWaitMiss
 

Definition at line 195 of file cachedat.c.

Referenced by NtQuerySystemInformation().

ULONG CcMdlReadWait
 

Definition at line 194 of file cachedat.c.

Referenced by CcMdlRead(), and NtQuerySystemInformation().

ULONG CcMdlReadWaitMiss
 

Definition at line 196 of file cachedat.c.

Referenced by CcMdlRead(), and NtQuerySystemInformation().

PULONG CcMissCounter = &CcThrowAway
 

Definition at line 206 of file cachedat.c.

Referenced by CcCopyRead(), CcFastCopyRead(), CcMapData(), CcMdlRead(), CcPerformReadAhead(), CcPinRead(), CcPreparePinWrite(), and IoPageRead().

LARGE_INTEGER CcNoDelay
 

Definition at line 64 of file cachedat.c.

Referenced by CcCanIWrite(), CcFlushCache(), and CcWriteBehind().

ULONG CcNumberActiveWorkerThreads = 0
 

Definition at line 50 of file cachedat.c.

Referenced by CcPostWorkQueue(), and CcWorkerThread().

ULONG CcNumberVacbs
 

Definition at line 76 of file cachedat.c.

Referenced by CcInitializeVacbs().

ULONG CcNumberWorkerThreads = 0
 

Definition at line 49 of file cachedat.c.

Referenced by CcInitializeCacheManager().

ULONG CcPagesWrittenLastTime = 0
 

Definition at line 100 of file cachedat.c.

Referenced by CcLazyWriteScan().

ULONG CcPagesYetToWrite
 

Definition at line 99 of file cachedat.c.

Referenced by CcAcquireByteRangeForWrite(), CcLazyWriteScan(), CcUnpinFileData(), and CcWriteBehind().

ULONG CcPinMappedDataCount
 

Definition at line 181 of file cachedat.c.

Referenced by CcPinMappedData(), and NtQuerySystemInformation().

ULONG CcPinReadNoWait
 

Definition at line 183 of file cachedat.c.

Referenced by CcPinRead(), and NtQuerySystemInformation().

ULONG CcPinReadNoWaitMiss
 

Definition at line 185 of file cachedat.c.

Referenced by CcPinRead(), and NtQuerySystemInformation().

ULONG CcPinReadWait
 

Definition at line 184 of file cachedat.c.

Referenced by CcPinRead(), and NtQuerySystemInformation().

ULONG CcPinReadWaitMiss
 

Definition at line 186 of file cachedat.c.

Referenced by CcPinRead(), and NtQuerySystemInformation().

LIST_ENTRY CcPostTickWorkQueue
 

Definition at line 54 of file cachedat.c.

Referenced by CcInitializeCacheManager(), CcLazyWriteScan(), and CcWaitForCurrentLazyWriterActivity().

BOOLEAN CcQueueThrottle = FALSE
 

Definition at line 56 of file cachedat.c.

Referenced by CcPostWorkQueue(), and CcWorkerThread().

ULONG CcReadAheadIos
 

Definition at line 198 of file cachedat.c.

Referenced by CcPerformReadAhead(), and NtQuerySystemInformation().

LIST_ENTRY CcRegularWorkQueue
 

Definition at line 53 of file cachedat.c.

Referenced by CcInitializeCacheManager(), CcLazyWriteScan(), CcScanDpc(), and CcWorkerThread().

LARGE_INTEGER CcTargetCleanDelay = {(ULONG)-(LONG)(LAZY_WRITER_IDLE_DELAY * (LAZY_WRITER_MAX_AGE_TARGET + 1)), -1}
 

Definition at line 68 of file cachedat.c.

ULONG CcThrowAway
 

Definition at line 160 of file cachedat.c.

Referenced by CcCopyRead(), CcFastCopyRead(), CcMapData(), CcMdlRead(), CcPerformReadAhead(), CcPinRead(), and CcPreparePinWrite().

ULONG CcTotalDirtyPages = 0
 

Definition at line 103 of file cachedat.c.

Referenced by CcAcquireByteRangeForWrite(), CcCanIWrite(), CcDeleteMbcb(), CcDeleteSharedCacheMap(), CcFreeActiveVacb(), CcLazyWriteScan(), CcSetDirtyInMask(), CcSetDirtyPinnedData(), CcUnpinFileData(), and CcWorkerThread().

ULONG CcTune = 0
 

Definition at line 123 of file cachedat.c.

NPAGED_LOOKASIDE_LIST CcTwilightLookasideList
 

Definition at line 131 of file cachedat.c.

Referenced by CcInitializeCacheManager().

ULONG CcVacbLevelEntries = 0
 

Definition at line 86 of file cachedat.c.

Referenced by CcAllocateVacbLevel(), CcDeallocateVacbLevel(), CcDrainVacbLevelZone(), CcExtendVacbArray(), and CcPrefillVacbLevelZone().

PVACB* CcVacbLevelFreeList = NULL
 

Definition at line 87 of file cachedat.c.

Referenced by CcAllocateVacbLevel(), CcDeallocateVacbLevel(), CcDrainVacbLevelZone(), and CcPrefillVacbLevelZone().

ULONG CcVacbLevelWithBcbsEntries = 0
 

Definition at line 88 of file cachedat.c.

Referenced by CcAllocateVacbLevel(), CcDeallocateVacbLevel(), CcDrainVacbLevelZone(), and CcPrefillVacbLevelZone().

PVACB* CcVacbLevelWithBcbsFreeList = NULL
 

Definition at line 89 of file cachedat.c.

Referenced by CcAllocateVacbLevel(), CcDeallocateVacbLevel(), CcDrainVacbLevelZone(), and CcPrefillVacbLevelZone().

LIST_ENTRY CcVacbLru
 

Definition at line 84 of file cachedat.c.

Referenced by CcGetVacbMiss(), and CcInitializeVacbs().

PVACB CcVacbs
 

Definition at line 82 of file cachedat.c.

Referenced by CcGetVacbLargeOffset(), CcInitializeVacbs(), CcRemapBcb(), and CcUnpinFileData().

KSPIN_LOCK CcVacbSpinLock
 

Definition at line 75 of file cachedat.c.

Referenced by CcInitializeVacbs(), and KiInitializeKernel().

KSPIN_LOCK CcWorkQueueSpinlock
 

Definition at line 48 of file cachedat.c.

Referenced by CcInitializeCacheManager(), CcPostWorkQueue(), and CcWorkerThread().

LAZY_WRITER LazyWriter
 

Definition at line 129 of file cachedat.c.

Referenced by CcAllocateInitializeBcb(), CcCanIWrite(), CcDeallocateBcb(), CcDeferWrite(), CcFlushCache(), CcGetFlushedValidData(), CcGetVacbMiss(), CcInitializeCacheManager(), CcInitializeCacheMap(), CcLazyWriteScan(), CcMdlWriteComplete2(), CcPerformReadAhead(), CcPurgeCacheSection(), CcScanDpc(), CcScheduleLazyWriteScan(), CcSetDirtyInMask(), CcSetDirtyPinnedData(), CcSetFileSizes(), CcUninitializeCacheMap(), CcWaitForCurrentLazyWriterActivity(), and CcZeroEndOfLastPage().


Generated on Sat May 15 19:42:59 2004 for test by doxygen 1.3.7