Go to the source code of this file.
Classes | |
struct | _PUBLIC_BCB |
struct | _CC_FILE_SIZES |
struct | _CACHE_MANAGER_CALLBACKS |
struct | _CACHE_UNINITIALIZE_EVENT |
Defines | |
#define | VACB_MAPPING_GRANULARITY (0x40000) |
#define | VACB_OFFSET_SHIFT (18) |
#define | CcIsFileCached(FO) |
#define | CcGetFileSizePointer(FO) |
#define | CcCopyWriteWontFlush(FO, FOFF, LEN) ((LEN) <= 0X10000) |
#define | CcReadAhead(FO, FOFF, LEN) |
#define | PIN_WAIT (1) |
#define | PIN_EXCLUSIVE (2) |
#define | PIN_NO_READ (4) |
#define | PIN_IF_BCB (8) |
Typedefs | |
typedef _PUBLIC_BCB | PUBLIC_BCB |
typedef _PUBLIC_BCB * | PPUBLIC_BCB |
typedef _CC_FILE_SIZES | CC_FILE_SIZES |
typedef _CC_FILE_SIZES * | PCC_FILE_SIZES |
typedef BOOLEAN(* | PACQUIRE_FOR_LAZY_WRITE )(IN PVOID Context, IN BOOLEAN Wait) |
typedef VOID(* | PRELEASE_FROM_LAZY_WRITE )(IN PVOID Context) |
typedef BOOLEAN(* | PACQUIRE_FOR_READ_AHEAD )(IN PVOID Context, IN BOOLEAN Wait) |
typedef VOID(* | PRELEASE_FROM_READ_AHEAD )(IN PVOID Context) |
typedef _CACHE_MANAGER_CALLBACKS | CACHE_MANAGER_CALLBACKS |
typedef _CACHE_MANAGER_CALLBACKS * | PCACHE_MANAGER_CALLBACKS |
typedef _CACHE_UNINITIALIZE_EVENT | CACHE_UNINITIALIZE_EVENT |
typedef _CACHE_UNINITIALIZE_EVENT * | PCACHE_UNINITIALIZE_EVENT |
typedef VOID(* | PDIRTY_PAGE_ROUTINE )(IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN PLARGE_INTEGER OldestLsn, IN PLARGE_INTEGER NewestLsn, IN PVOID Context1, IN PVOID Context2) |
typedef VOID(* | PFLUSH_TO_LSN )(IN PVOID LogHandle, IN LARGE_INTEGER Lsn) |
typedef VOID(* | PCC_POST_DEFERRED_WRITE )(IN PVOID Context1, IN PVOID Context2) |
Functions | |
NTKERNELAPI BOOLEAN | CcInitializeCacheManager () |
NTKERNELAPI VOID | CcInitializeCacheMap (IN PFILE_OBJECT FileObject, IN PCC_FILE_SIZES FileSizes, IN BOOLEAN PinAccess, IN PCACHE_MANAGER_CALLBACKS Callbacks, IN PVOID LazyWriteContext) |
NTKERNELAPI BOOLEAN | CcUninitializeCacheMap (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER TruncateSize OPTIONAL, IN PCACHE_UNINITIALIZE_EVENT UninitializeCompleteEvent OPTIONAL) |
NTKERNELAPI VOID | CcSetFileSizes (IN PFILE_OBJECT FileObject, IN PCC_FILE_SIZES FileSizes) |
NTKERNELAPI BOOLEAN | CcPurgeCacheSection (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN PLARGE_INTEGER FileOffset OPTIONAL, IN ULONG Length, IN BOOLEAN UninitializeCacheMaps) |
NTKERNELAPI VOID | CcSetDirtyPageThreshold (IN PFILE_OBJECT FileObject, IN ULONG DirtyPageThreshold) |
NTKERNELAPI VOID | CcFlushCache (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN PLARGE_INTEGER FileOffset OPTIONAL, IN ULONG Length, OUT PIO_STATUS_BLOCK IoStatus OPTIONAL) |
NTKERNELAPI LARGE_INTEGER | CcGetFlushedValidData (IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN BOOLEAN BcbListHeld) |
NTKERNELAPI VOID | CcZeroEndOfLastPage (IN PFILE_OBJECT FileObject) |
NTKERNELAPI BOOLEAN | CcZeroData (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER StartOffset, IN PLARGE_INTEGER EndOffset, IN BOOLEAN Wait) |
NTKERNELAPI PVOID | CcRemapBcb (IN PVOID Bcb) |
NTKERNELAPI VOID | CcRepinBcb (IN PVOID Bcb) |
NTKERNELAPI VOID | CcUnpinRepinnedBcb (IN PVOID Bcb, IN BOOLEAN WriteThrough, OUT PIO_STATUS_BLOCK IoStatus) |
NTKERNELAPI PFILE_OBJECT | CcGetFileObjectFromSectionPtrs (IN PSECTION_OBJECT_POINTERS SectionObjectPointer) |
NTKERNELAPI PFILE_OBJECT | CcGetFileObjectFromBcb (IN PVOID Bcb) |
NTKERNELAPI BOOLEAN | CcCanIWrite (IN PFILE_OBJECT FileObject, IN ULONG BytesToWrite, IN BOOLEAN Wait, IN BOOLEAN Retrying) |
NTKERNELAPI VOID | CcDeferWrite (IN PFILE_OBJECT FileObject, IN PCC_POST_DEFERRED_WRITE PostRoutine, IN PVOID Context1, IN PVOID Context2, IN ULONG BytesToWrite, IN BOOLEAN Retrying) |
NTKERNELAPI BOOLEAN | CcCopyRead (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN BOOLEAN Wait, OUT PVOID Buffer, OUT PIO_STATUS_BLOCK IoStatus) |
NTKERNELAPI VOID | CcFastCopyRead (IN PFILE_OBJECT FileObject, IN ULONG FileOffset, IN ULONG Length, IN ULONG PageCount, OUT PVOID Buffer, OUT PIO_STATUS_BLOCK IoStatus) |
NTKERNELAPI BOOLEAN | CcCopyWrite (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN BOOLEAN Wait, IN PVOID Buffer) |
NTKERNELAPI VOID | CcFastCopyWrite (IN PFILE_OBJECT FileObject, IN ULONG FileOffset, IN ULONG Length, IN PVOID Buffer) |
NTKERNELAPI VOID | CcMdlRead (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, OUT PMDL *MdlChain, OUT PIO_STATUS_BLOCK IoStatus) |
NTKERNELAPI VOID | CcMdlReadComplete (IN PFILE_OBJECT FileObject, IN PMDL MdlChain) |
NTKERNELAPI VOID | CcMdlReadComplete2 (IN PFILE_OBJECT FileObject, IN PMDL MdlChain) |
NTKERNELAPI VOID | CcPrepareMdlWrite (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, OUT PMDL *MdlChain, OUT PIO_STATUS_BLOCK IoStatus) |
NTKERNELAPI VOID | CcMdlWriteComplete (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN PMDL MdlChain) |
NTKERNELAPI VOID | CcMdlWriteComplete2 (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN PMDL MdlChain) |
NTKERNELAPI VOID | CcScheduleReadAhead (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length) |
NTSTATUS | CcWaitForCurrentLazyWriterActivity () |
NTKERNELAPI VOID | CcSetReadAheadGranularity (IN PFILE_OBJECT FileObject, IN ULONG Granularity) |
NTKERNELAPI BOOLEAN | CcPinRead (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN ULONG Flags, OUT PVOID *Bcb, OUT PVOID *Buffer) |
NTKERNELAPI BOOLEAN | CcMapData (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN BOOLEAN Wait, OUT PVOID *Bcb, OUT PVOID *Buffer) |
NTKERNELAPI BOOLEAN | CcPinMappedData (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN ULONG Flags, IN OUT PVOID *Bcb) |
NTKERNELAPI BOOLEAN | CcPreparePinWrite (IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length, IN BOOLEAN Zero, IN ULONG Flags, OUT PVOID *Bcb, OUT PVOID *Buffer) |
NTKERNELAPI VOID | CcSetDirtyPinnedData (IN PVOID BcbVoid, IN PLARGE_INTEGER Lsn OPTIONAL) |
NTKERNELAPI VOID | CcUnpinData (IN PVOID Bcb) |
NTKERNELAPI VOID | CcSetBcbOwnerPointer (IN PVOID Bcb, IN PVOID OwnerPointer) |
NTKERNELAPI VOID | CcUnpinDataForThread (IN PVOID Bcb, IN ERESOURCE_THREAD ResourceThreadId) |
NTKERNELAPI VOID | CcSetAdditionalCacheAttributes (IN PFILE_OBJECT FileObject, IN BOOLEAN DisableReadAhead, IN BOOLEAN DisableWriteBehind) |
NTKERNELAPI VOID | CcSetLogHandleForFile (IN PFILE_OBJECT FileObject, IN PVOID LogHandle, IN PFLUSH_TO_LSN FlushToLsnRoutine) |
NTKERNELAPI LARGE_INTEGER | CcGetDirtyPages (IN PVOID LogHandle, IN PDIRTY_PAGE_ROUTINE DirtyPageRoutine, IN PVOID Context1, IN PVOID Context2) |
NTKERNELAPI BOOLEAN | CcIsThereDirtyData (IN PVPB Vpb) |
NTKERNELAPI LARGE_INTEGER | CcGetLsnForFileObject (IN PFILE_OBJECT FileObject, OUT PLARGE_INTEGER OldestLsn OPTIONAL) |
Variables | |
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 | CcLazyWriteIos |
ULONG | CcLazyWritePages |
ULONG | CcDataFlushes |
ULONG | CcDataPages |
PULONG | CcMissCounter |
|
Definition at line 375 of file cache.h. Referenced by FsRtlCopyWrite(). |
|
Value:
Definition at line 277 of file cache.h. Referenced by FsRtlCopyWrite(), and FsRtlPrepareMdlWriteDev(). |
|
Value:
Definition at line 173 of file cache.h. Referenced by IoSynchronousPageWrite(). |
|
Value:
|
|
Definition at line 590 of file cache.h. Referenced by CcPinFileData(). |
|
Definition at line 609 of file cache.h. Referenced by CcPinFileData(). |
|
Definition at line 600 of file cache.h. Referenced by CcPinFileData(). |
|
Definition at line 582 of file cache.h. Referenced by CcPinFileData(), CcPinMappedData(), and CcPinRead(). |
|
Definition at line 30 of file cache.h. Referenced by CcCopyRead(), CcCopyWrite(), CcCreateVacbArray(), CcFastCopyRead(), CcFastCopyWrite(), CcFreeActiveVacb(), CcGetVacbMiss(), CcGetVirtualAddress(), CcGetVirtualAddressIfMapped(), CcInitializeCacheMap(), CcPinFileData(), CcUnmapVacbArray(), UdfLookupDirEntryPostProcessing(), and UdfLookupInitialDirEntry(). |
|
Definition at line 31 of file cache.h. Referenced by CcAdjustVacbLevelLockCount(), CcCopyRead(), CcCreateVacbArray(), CcExtendVacbArray(), CcFastCopyRead(), CcGetBcbListHeadLargeOffset(), CcGetVacbLargeOffset(), CcInitializeVacbs(), CcSetVacbLargeOffset(), and SetVacb(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by UdfCommonRead(), and UdfLookupMetaVsnOfExtent(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by CcLazyWriteScan(), CcPostDeferredWrites(), FsRtlCopyWrite(), and FsRtlPrepareMdlWriteDev(). |
|
Definition at line 31 of file copysup.c. References ASSERT, _VACB::BaseAddress, _PRIVATE_CACHE_MAP::BeyondLastByte1, _PRIVATE_CACHE_MAP::BeyondLastByte2, Buffer, CcCopyReadExceptionFilter(), CcCopyReadNoWait, CcCopyReadNoWaitMiss, CcCopyReadWait, CcCopyReadWaitMiss, CcFreeActiveVacb(), CcFreeVirtualAddress(), CcGetVirtualAddress(), CcMissCounter, CcPinFileData(), CcScheduleReadAhead(), CcThrowAway, CcUnpinFileData(), COMPUTE_PAGES_SPANNED, DebugTrace, ExRaiseStatus(), FALSE, _PRIVATE_CACHE_MAP::FileOffset1, _PRIVATE_CACHE_MAP::FileOffset2, _SHARED_CACHE_MAP::FileSize, FlagOn, FO_RANDOM_ACCESS, FsRtlNormalizeNtstatus(), GetActiveVacb, HOT_STATISTIC, me, MmCheckCachedPageState(), MmResetPageFaultReadAhead, MmSavePageFaultReadAhead, MmSetPageFaultReadAhead, _SHARED_CACHE_MAP::NeedToZero, NTSTATUS(), NULL, PAGE_SHIFT, PsGetCurrentThread, _PRIVATE_CACHE_MAP::ReadAheadEnabled, _PRIVATE_CACHE_MAP::ReadAheadLength, ROUND_TO_PAGES, SetActiveVacb, Status, TRUE, UNPIN, VACB_MAPPING_GRANULARITY, and VACB_OFFSET_SHIFT. Referenced by FsRtlCopyRead(), and UdfCommonRead().
|
|
Definition at line 1075 of file copysup.c. References ACTIVE_PAGE_IS_DIRTY, _SHARED_CACHE_MAP::ActiveVacbSpinLock, _VACB::BaseAddress, BooleanFlagOn, Buffer, CcCopyReadExceptionFilter(), CcFreeActiveVacb(), CcMapAndCopy(), CcPinFileData(), CcSetDirtyPinnedData(), CcUnpinFileData(), DebugTrace, ExRaiseStatus(), FALSE, FlagOn, FO_WRITE_THROUGH, FSRTL_FLAG_ADVANCED_HEADER, FsRtlNormalizeNtstatus(), GetActiveVacb, me, _SHARED_CACHE_MAP::NeedToZero, _SHARED_CACHE_MAP::NeedToZeroVacb, NTSTATUS(), NULL, PAGE_SHIFT, PAGE_SIZE, PFSRTL_ADVANCED_FCB_HEADER, SetActiveVacb, Status, TRUE, UNPIN, VACB_MAPPING_GRANULARITY, ZERO_FIRST_PAGE, ZERO_LAST_PAGE, and ZERO_MIDDLE_PAGES. Referenced by FsRtlCopyWrite().
|
|
Definition at line 1982 of file copysup.c. References BooleanFlagOn, _DEFERRED_WRITE::BytesToWrite, CACHE_NTC_DEFERRED_WRITE, CcAcquireMasterLock, CcDeferredWrites, CcDeferredWriteSpinLock, CcPostDeferredWrites(), CcReleaseMasterLock, CcScheduleLazyWriteScan(), _DEFERRED_WRITE::Context1, Context1, _DEFERRED_WRITE::Context2, Context2, DEFERRED_WRITE, _DEFERRED_WRITE::DeferredWriteLinks, _DEFERRED_WRITE::Event, ExAllocatePoolWithTag, ExInterlockedInsertHeadList(), ExInterlockedInsertTailList(), _DEFERRED_WRITE::FileObject, FSRTL_FLAG_LIMIT_MODIFIED_PAGES, LazyWriter, _DEFERRED_WRITE::LimitModifiedPages, _DEFERRED_WRITE::NodeByteSize, _DEFERRED_WRITE::NodeTypeCode, NonPagedPool, NULL, _DEFERRED_WRITE::PostRoutine, and _LAZY_WRITER::ScanActive.
|
|
Definition at line 588 of file copysup.c. References ASSERT, _VACB::BaseAddress, _PRIVATE_CACHE_MAP::BeyondLastByte1, _PRIVATE_CACHE_MAP::BeyondLastByte2, Buffer, CcCopyReadExceptionFilter(), CcCopyReadWait, CcCopyReadWaitMiss, CcFreeActiveVacb(), CcFreeVirtualAddress(), CcGetVirtualAddress(), CcMissCounter, CcScheduleReadAhead(), CcThrowAway, COMPUTE_PAGES_SPANNED, DebugTrace, ExRaiseStatus(), FALSE, _PRIVATE_CACHE_MAP::FileOffset1, _PRIVATE_CACHE_MAP::FileOffset2, _SHARED_CACHE_MAP::FileSize, FlagOn, FO_RANDOM_ACCESS, FsRtlNormalizeNtstatus(), GetActiveVacb, HOT_STATISTIC, me, MmCheckCachedPageState(), MmResetPageFaultReadAhead, MmSavePageFaultReadAhead, MmSetPageFaultReadAhead, _SHARED_CACHE_MAP::NeedToZero, NTSTATUS(), NULL, PAGE_SHIFT, PsGetCurrentThread, _PRIVATE_CACHE_MAP::ReadAheadEnabled, _PRIVATE_CACHE_MAP::ReadAheadLength, ROUND_TO_PAGES, SetActiveVacb, Status, TRUE, VACB_MAPPING_GRANULARITY, and VACB_OFFSET_SHIFT. Referenced by FsRtlCopyRead().
|
|
Definition at line 1482 of file copysup.c. References ACTIVE_PAGE_IS_DIRTY, _SHARED_CACHE_MAP::ActiveVacbSpinLock, ASSERT, _VACB::BaseAddress, BooleanFlagOn, Buffer, CcCopyReadExceptionFilter(), CcFreeActiveVacb(), CcMapAndCopy(), DebugTrace, ExRaiseStatus(), FALSE, FlagOn, FO_WRITE_THROUGH, FsRtlNormalizeNtstatus(), GetActiveVacb, me, _SHARED_CACHE_MAP::NeedToZero, _SHARED_CACHE_MAP::NeedToZeroVacb, NTSTATUS(), NULL, PAGE_SHIFT, PAGE_SIZE, SetActiveVacb, Status, VACB_MAPPING_GRANULARITY, ZERO_FIRST_PAGE, ZERO_LAST_PAGE, and ZERO_MIDDLE_PAGES. Referenced by FsRtlCopyWrite().
|
|
Definition at line 4411 of file cachesub.c. References _SHARED_CACHE_MAP::ActivePage, _SHARED_CACHE_MAP::ActiveVacb, CC_REQUEUE, CcAcquireByteRangeForWrite(), CcAcquireMasterLock, CcDecrementOpenCount, CcDeferredWrites, CcDirtySharedCacheMapList, CcExceptionFilter(), CcFreeActiveVacb(), CcFreeVirtualAddress(), CcGetVirtualAddressIfMapped(), CcIdleDelayTick, CcIncrementOpenCount, CcLazyWriteHotSpots, CcLazyWriteIos, CcLazyWritePages, CcNoDelay, CcPostDeferredWrites(), CcReleaseByteRangeFromWrite(), CcReleaseMasterLock, CcScheduleLazyWriteScan(), DebugTrace, DebugTrace2, _SHARED_CACHE_MAP::DirtyPages, FALSE, _SHARED_CACHE_MAP::FileObject, _SHARED_CACHE_MAP::FileSize, FlagOn, _SHARED_CACHE_MAP::Flags, _FILE_OBJECT::FsContext, FSRTL_FLAG_USER_MAPPED_FILE, GetActiveVacbAtDpcLevel, KeQueryTickCount(), LAZY_WRITE_OCCURRED, _SHARED_CACHE_MAP::LazyWritePassCount, LazyWriter, me, mm, MmFlushSection(), MmSetAddressRangeModified(), MODIFIED_WRITE_DISABLED, _SHARED_CACHE_MAP::NeedToZero, _SHARED_CACHE_MAP::NeedToZeroPage, NT_SUCCESS, NTSTATUS(), NULL, Offset, _SHARED_CACHE_MAP::OpenCount, _LAZY_WRITER::OtherWork, PAGE_SHIFT, PAGE_SIZE, _SHARED_CACHE_MAP::PagesToWrite, PFSRTL_COMMON_FCB_HEADER, PIN_ACCESS, RetryError, _LAZY_WRITER::ScanActive, _FILE_OBJECT::SectionObjectPointer, SetFlag, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, _SHARED_CACHE_MAP::SharedCacheMapLinks, Status, TRUE, _SHARED_CACHE_MAP::ValidDataGoal, _SHARED_CACHE_MAP::ValidDataLength, and WRITE_QUEUED. Referenced by CcWriteBehind(), CcZeroEndOfLastPage(), LfsFlushLfcb(), LfsFlushLogPage(), and MiFlushDataSection().
|
|
Definition at line 142 of file logsup.c. References _BCB::BcbLinks, _SHARED_CACHE_MAP::BcbList, _SHARED_CACHE_MAP::BcbSpinLock, _BCB::ByteLength, CACHE_NTC_BCB, CcAcquireMasterLock, CcDecrementOpenCount, CcDirtySharedCacheMapList, CcIncrementOpenCount, CcReleaseMasterLock, CcUnpinFileData(), Context1, Context2, _BCB::Dirty, _SHARED_CACHE_MAP::DirtyPages, _SHARED_CACHE_MAP::FileObject, _BCB::FileOffset, FlagOn, _SHARED_CACHE_MAP::Flags, IS_CURSOR, _SHARED_CACHE_MAP::LogHandle, _BCB::NewestLsn, _BCB::NodeTypeCode, NTSTATUS(), NULL, _BCB::OldestLsn, _BCB::PinCount, _SHARED_CACHE_MAP::SharedCacheMapLinks, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, TRUE, UNPIN, and UNREF.
|
|
Definition at line 3709 of file fssup.c.
|
|
Definition at line 3658 of file fssup.c. References CcAcquireMasterLock, CcReleaseMasterLock, and NULL.
|
|
Definition at line 4232 of file cachesub.c. References ASSERT, _BITMAP_RANGE::BasePage, _BCB::BcbLinks, _SHARED_CACHE_MAP::BcbList, _SHARED_CACHE_MAP::BcbSpinLock, CACHE_NTC_BCB, CcAcquireMasterLock, CcAcquireMasterLockAtDpcLevel, CcDecrementOpenCount, CcDirtySharedCacheMapList, CcFindBitmapRangeToClean(), CcIncrementOpenCount, CcReleaseMasterLock, CcScheduleLazyWriteScan(), _BCB::Dirty, _MBCB::DirtyPages, _SHARED_CACHE_MAP::DirtyPages, _BCB::FileOffset, _BITMAP_RANGE::FirstDirtyPage, FlagOn, _SHARED_CACHE_MAP::Flags, LazyWriter, _SHARED_CACHE_MAP::Mbcb, _BCB::NodeTypeCode, NULL, _SHARED_CACHE_MAP::OpenCount, _LAZY_WRITER::OtherWork, PAGE_SHIFT, _LAZY_WRITER::ScanActive, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, _SHARED_CACHE_MAP::SharedCacheMapLinks, TRUE, _SHARED_CACHE_MAP::ValidDataGoal, and WRITE_QUEUED. Referenced by CcWriteBehind().
|
|
Definition at line 450 of file logsup.c. References _BCB::BcbLinks, _SHARED_CACHE_MAP::BcbList, _SHARED_CACHE_MAP::BcbSpinLock, CACHE_NTC_BCB, _BCB::Dirty, _BCB::NewestLsn, _BCB::NodeTypeCode, NULL, and _BCB::OldestLsn.
|
|
Definition at line 69 of file fssup.c. References _LAZY_WRITER::BcbZone, CcAggressiveZeroCount, CcAggressiveZeroThreshold, CcBcbSpinLock, CcBugCheck, CcCapturedSystemSize, CcCleanSharedCacheMapList, CcDebugTraceLock, CcDeferredWrites, CcDeferredWriteSpinLock, CcDirtyPageTarget, CcDirtyPageThreshold, CcDirtySharedCacheMapList, CcExpressWorkQueue, CcIdleDelayTick, CcIdleWorkerThreadList, CcInitializeVacbs(), CcLazyWriterCursor, CcMasterSpinLock, CcNumberWorkerThreads, CcPostTickWorkQueue, CcRegularWorkQueue, CcScanDpc(), CcTwilightLookasideList, CcWorkerThread(), CcWorkQueueSpinlock, ExAllocatePoolWithTag, ExCriticalWorkerThreads, ExInitializeNPagedLookasideList(), ExInitializeWorkItem, ExInitializeZone(), _SHARED_CACHE_MAP_LIST_CURSOR::Flags, Index, IS_CURSOR, KeInitializeDpc(), KeInitializeSpinLock(), KeInitializeTimer(), KeNumberProcessors, KeQueryTimeIncrement(), KiProcessorBlock, LAZY_WRITER_IDLE_DELAY, LazyWriter, _WORK_QUEUE_ITEM::List, LookasideTwilightList, _MMSUPPORT::MaximumWorkingSetSize, MmIsThisAnNtAsSystem(), MmLargeSystem, MmLargeSystemCache, MmMediumSystem, MmNumberOfPhysicalPages, MmQuerySystemSize(), MmSmallSystem, MmSystemCacheWs, NonPagedPool, NT_SUCCESS, NULL, _LAZY_WRITER::OurProcess, PAGE_SIZE, PsGetCurrentProcess, _LAZY_WRITER::ScanDpc, _LAZY_WRITER::ScanTimer, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, TRUE, USHORT, WORK_QUEUE_ENTRY, and _LAZY_WRITER::WorkQueue.
|
|
Definition at line 387 of file fssup.c. References _SHARED_CACHE_MAP::ActiveVacbSpinLock, _CC_FILE_SIZES::AllocationSize, ASSERT, _SHARED_CACHE_MAP::BcbList, _SHARED_CACHE_MAP::BcbSpinLock, BEING_CREATED, CACHE_NTC_PRIVATE_CACHE_MAP, CACHE_NTC_SHARED_CACHE_MAP, _SHARED_CACHE_MAP::Callbacks, CcAcquireMasterLock, CcCleanSharedCacheMapList, CcCreateVacbArray(), CcDecrementOpenCount, CcDeleteSharedCacheMap(), CcDirtySharedCacheMapList, CcExtendVacbArray(), CcIncrementOpenCount, CcReleaseMasterLock, CcScheduleLazyWriteScan(), ClearFlag, _SHARED_CACHE_MAP::CreateEvent, DebugTrace, DebugTrace2, DEFAULT_CREATE_MODULO, _SHARED_CACHE_MAP::DirtyPages, _CACHE_UNINITIALIZE_EVENT::Event, _SHARED_CACHE_MAP::Event, ExAllocatePoolWithTag, Executive, ExFreePool(), ExRaiseStatus(), FALSE, _PRIVATE_CACHE_MAP::FileObject, _SHARED_CACHE_MAP::FileObject, _CC_FILE_SIZES::FileSize, _SHARED_CACHE_MAP::FileSize, FlagOn, _SHARED_CACHE_MAP::Flags, FO_RANDOM_ACCESS, FO_SEQUENTIAL_ONLY, FSRTL_FLAG2_DO_MODIFIED_WRITE, FsRtlNormalizeNtstatus(), KeInitializeEvent, KeInitializeSpinLock(), KernelMode, KeSetEvent(), KeWaitForSingleObject(), _SHARED_CACHE_MAP::LazyWriteContext, LazyWriter, _SHARED_CACHE_MAP::LocalEvent, me, mm, MmCreateSection(), MmDisableModifiedWriteOfSection(), MmExtendSection(), MODIFIED_WRITE_DISABLED, _CACHE_UNINITIALIZE_EVENT::Next, _PRIVATE_CACHE_MAP::NodeByteSize, _SHARED_CACHE_MAP::NodeByteSize, _PRIVATE_CACHE_MAP::NodeTypeCode, _SHARED_CACHE_MAP::NodeTypeCode, NonPagedPool, NT_SUCCESS, NTSTATUS(), NULL, ObDeleteCapturedInsertInfo(), ObReferenceObject, ONLY_SEQUENTIAL_ONLY_SEEN, _SHARED_CACHE_MAP::OpenCount, _LAZY_WRITER::OtherWork, PAGE_SIZE, PIN_ACCESS, PRIVATE_CACHE_MAP, _SHARED_CACHE_MAP::PrivateCacheMap, _PRIVATE_CACHE_MAP::PrivateLinks, _SHARED_CACHE_MAP::PrivateList, RANDOM_ACCESS_SEEN, _PRIVATE_CACHE_MAP::ReadAheadMask, _PRIVATE_CACHE_MAP::ReadAheadSpinLock, _LAZY_WRITER::ScanActive, _SHARED_CACHE_MAP::Section, _SHARED_CACHE_MAP::SectionSize, SetFlag, SHARED_CACHE_MAP, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, _SHARED_CACHE_MAP::SharedCacheMapLinks, Status, _SHARED_CACHE_MAP::Status, TRUE, TRUNCATE_REQUIRED, try_return, _SHARED_CACHE_MAP::UninitializeEvent, VACB_MAPPING_GRANULARITY, _SHARED_CACHE_MAP::Vacbs, _SHARED_CACHE_MAP::ValidDataGoal, _CC_FILE_SIZES::ValidDataLength, _SHARED_CACHE_MAP::ValidDataLength, and WRITE_QUEUED. Referenced by UdfCommonRead(), and UdfCreateInternalStream().
|
|
Definition at line 362 of file logsup.c. References CcAcquireMasterLock, CcDirtySharedCacheMapList, CcReleaseMasterLock, ClearFlag, _SHARED_CACHE_MAP::DirtyPages, FALSE, _SHARED_CACHE_MAP::FileObject, FlagOn, _FILE_OBJECT::Flags, _SHARED_CACHE_MAP::Flags, FO_TEMPORARY_FILE, IS_CURSOR, SetFlag, _SHARED_CACHE_MAP::SharedCacheMapLinks, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, TRUE, _FILE_OBJECT::Vpb, and WRITE_QUEUED.
|
|
Definition at line 52 of file pinsup.c. References ASSERT, Buffer, CcBcbSpinLock, CcGetVirtualAddress(), CcMapDataNoWait, CcMapDataNoWaitMiss, CcMapDataWait, CcMapDataWaitMiss, CcMissCounter, CcPinFileData(), CcThrowAway, CcUnpinFileData(), COMPUTE_PAGES_SPANNED, DebugTrace, FALSE, me, MmResetPageFaultReadAhead, MmSavePageFaultReadAhead, MmSetPageFaultReadAhead, NULL, PAGE_SIZE, PsGetCurrentThread, TRUE, and UNPIN. Referenced by LfsFlushLfcb(), LfsPinOrMapData(), UdfLookupDirEntryPostProcessing(), UdfLookupInitialDirEntry(), UdfLookupPsnOfExtent(), UdfMapMetadataView(), and UdfUpdateVcbPhase0().
|
|
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_LIST_CURSOR::SharedCacheMapLinks, _SHARED_CACHE_MAP::SharedCacheMapLinks, TRUE, and WRITE_QUEUED. Referenced by CcMdlWriteComplete(), and FsRtlMdlWriteCompleteDev().
|
|
Definition at line 271 of file pinsup.c. References BooleanFlagOn, Buffer, CACHE_NTC_BCB, CcAllocateObcb(), CcBcbSpinLock, CcFreeVirtualAddress(), CcPinFileData(), CcPinMappedDataCount, CcUnpinData(), DebugTrace, ExAcquireSharedStarveExclusive(), FALSE, FlagOn, _SHARED_CACHE_MAP::Flags, me, MODIFIED_WRITE_DISABLED, NULL, PIN_WAIT, Resource, TRUE, and try_return.
|
|
Definition at line 524 of file pinsup.c. References Buffer, CcAllocateObcb(), CcBcbSpinLock, CcMissCounter, CcPinFileData(), CcPinReadNoWait, CcPinReadNoWaitMiss, CcPinReadWait, CcPinReadWaitMiss, CcThrowAway, CcUnpinData(), DebugTrace, FALSE, FlagOn, _SHARED_CACHE_MAP::Flags, me, MODIFIED_WRITE_DISABLED, NULL, PIN_WAIT, TRUE, and try_return. Referenced by LfsPinOrMapData().
|
|
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().
|
|
Definition at line 767 of file pinsup.c. References Buffer, CcAllocateObcb(), CcBcbSpinLock, CcMissCounter, CcPinFileData(), CcSetDirtyPinnedData(), CcThrowAway, CcUnpinData(), DebugTrace, FALSE, me, NULL, TRUE, try_return, and Zero.
|
|
Definition at line 2331 of file fssup.c. References ASSERT, CcAcquireMasterLock, CcCollisionDelay, CcDecrementOpenCount, CcDirtySharedCacheMapList, CcFreeActiveVacb(), CcIncrementOpenCount, CcReleaseMasterLock, CcScheduleLazyWriteScan(), CcUninitializeCacheMap(), CcUnmapVacbArray(), CcWaitOnActiveCount(), DebugTrace, DebugTrace2, _SHARED_CACHE_MAP::DirtyPages, FALSE, _PRIVATE_CACHE_MAP::FileObject, FlagOn, _SHARED_CACHE_MAP::Flags, GetActiveVacbAtDpcLevel, KeDelayExecutionThread(), KernelMode, LazyWriter, me, mm, MmCanFileBeTruncated(), MmPurgeSection(), NULL, _SHARED_CACHE_MAP::OpenCount, _LAZY_WRITER::OtherWork, PAGE_SIZE, _SHARED_CACHE_MAP::PrivateList, _LAZY_WRITER::ScanActive, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, _SHARED_CACHE_MAP::SharedCacheMapLinks, TRUE, _SHARED_CACHE_MAP::Vacbs, VOID(), and WRITE_QUEUED. Referenced by CcPurgeAndClearCacheSection(), CcSetFileSizes(), CcUninitializeCacheMap(), CcUnmapAndPurge(), CcZeroEndOfLastPage(), UdfPurgeVolume(), and UdfUpdateVcbPhase0().
|
|
Definition at line 5024 of file cachesub.c. References ASSERT, CACHE_NTC_BCB, CACHE_NTC_OBCB, CcAcquireVacbLock, CcBeyondVacbs, CcReleaseVacbLock, CcVacbs, and _VACB::Overlay.
|
|
Definition at line 5101 of file cachesub.c.
|
|
Definition at line 1253 of file cachesub.c. References ASSERT, _PRIVATE_CACHE_MAP::BeyondLastByte1, _PRIVATE_CACHE_MAP::BeyondLastByte2, CcAcquireMasterLock, CcAllocateWorkQueueEntry, CcExpressWorkQueue, CcIncrementOpenCount, CcPostWorkQueue(), CcReleaseMasterLock, DebugTrace, DebugTrace2, DISABLE_READ_AHEAD, FALSE, _PRIVATE_CACHE_MAP::FileOffset1, _PRIVATE_CACHE_MAP::FileOffset2, FlagOn, _SHARED_CACHE_MAP::Flags, FO_SEQUENTIAL_ONLY, _WORK_QUEUE_ENTRY::Function, me, NOISE_BITS, NULL, ObReferenceObject, PAGE_SIZE, _WORK_QUEUE_ENTRY::Parameters, PWORK_QUEUE_ENTRY, ReadAhead, _PRIVATE_CACHE_MAP::ReadAheadActive, _PRIVATE_CACHE_MAP::ReadAheadLength, _PRIVATE_CACHE_MAP::ReadAheadMask, _PRIVATE_CACHE_MAP::ReadAheadOffset, _PRIVATE_CACHE_MAP::ReadAheadSpinLock, ROUND_TO_PAGES, and TRUE. Referenced by CcCopyRead(), CcFastCopyRead(), and CcMdlRead().
|
|
Definition at line 32 of file logsup.c. References CcAcquireMasterLock, CcReleaseMasterLock, ClearFlag, DISABLE_READ_AHEAD, DISABLE_WRITE_BEHIND, _SHARED_CACHE_MAP::Flags, MODIFIED_WRITE_DISABLED, and SetFlag. Referenced by LfsInitializeLogFile(), and LfsOpenLogFile().
|
|
Definition at line 1078 of file pinsup.c. References ASSERT, CACHE_NTC_OBCB, ExSetResourceOwnerPointer(), NULL, and Resource. Referenced by LfsGetLbcb().
|
|
Definition at line 2747 of file fssup.c. References _SHARED_CACHE_MAP::DirtyPageThreshold, FlagOn, FSRTL_FLAG_LIMIT_MODIFIED_PAGES, NULL, and SetFlag.
|
|
Definition at line 2560 of file cachesub.c. References ASSERT, _SHARED_CACHE_MAP::BcbSpinLock, CACHE_NTC_OBCB, CcAcquireMasterLockAtDpcLevel, CcDirtySharedCacheMapList, CcReleaseMasterLockFromDpcLevel, CcScheduleLazyWriteScan(), CcTotalDirtyPages, DebugTrace, _SHARED_CACHE_MAP::DirtyPages, DISABLE_WRITE_BEHIND, FlagOn, _SHARED_CACHE_MAP::Flags, LazyWriter, me, NULL, PAGE_SHIFT, POBCB, _LAZY_WRITER::ScanActive, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, _SHARED_CACHE_MAP::SharedCacheMapLinks, TRUE, and _SHARED_CACHE_MAP::ValidDataGoal. Referenced by CcCopyWrite(), CcPreparePinWrite(), CcReleaseByteRangeFromWrite(), CcUnpinRepinnedBcb(), CcZeroData(), LfsFlushLfcb(), and LfsFlushLogPage().
|
|
Definition at line 1821 of file fssup.c. References CcAcquireMasterLock, CcDecrementOpenCount, CcDeleteMbcb(), CcDirtySharedCacheMapList, CcExtendVacbArray(), CcFreeActiveVacb(), CcIncrementOpenCount, CcPurgeAndClearCacheSection(), CcPurgeCacheSection(), CcReleaseMasterLock, CcScheduleLazyWriteScan(), DebugTrace, DebugTrace2, DEFAULT_EXTEND_MODULO, _SHARED_CACHE_MAP::DirtyPages, ExRaiseStatus(), FALSE, _SHARED_CACHE_MAP::FileSize, FlagOn, _SHARED_CACHE_MAP::Flags, FsRtlNormalizeNtstatus(), GetActiveVacbAtDpcLevel, LazyWriter, _SHARED_CACHE_MAP::Mbcb, me, mm, MmExtendSection(), MmFlushSection(), _SHARED_CACHE_MAP::NeedToZero, NT_SUCCESS, NTSTATUS(), NULL, _SHARED_CACHE_MAP::OpenCount, _LAZY_WRITER::OtherWork, PAGE_SIZE, PIN_ACCESS, _LAZY_WRITER::ScanActive, _SHARED_CACHE_MAP::Section, _SHARED_CACHE_MAP::SectionSize, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, _SHARED_CACHE_MAP::SharedCacheMapLinks, Status, TRUE, _SHARED_CACHE_MAP::VacbActiveCount, _SHARED_CACHE_MAP::ValidDataGoal, _SHARED_CACHE_MAP::ValidDataLength, and WRITE_QUEUED. Referenced by UdfLookupMetaVsnOfExtent(), and UdfUpdateVcbPhase0().
|
|
Definition at line 92 of file logsup.c. References _SHARED_CACHE_MAP::FlushToLsnRoutine, and _SHARED_CACHE_MAP::LogHandle.
|
|
Definition at line 1222 of file cachesub.c. References PPRIVATE_CACHE_MAP. Referenced by UdfCommonRead().
|
|
Referenced by CcPurgeCacheSection(), UdfCommonCleanup(), and UdfDeleteInternalStream(). |
|
Definition at line 1000 of file pinsup.c. References CACHE_NTC_OBCB, CcUnpinFileData(), DebugTrace, ExFreePool(), FALSE, me, NULL, TRUE, and UNPIN. Referenced by CcPinMappedData(), CcPinRead(), CcPreparePinWrite(), LfsCopyReadLogRecord(), LfsDeallocateLcb(), LfsFindLastLsn(), LfsFindNextLsn(), LfsFlushLfcb(), LfsFlushLogPage(), LfsGetLbcb(), LfsInitializeLogFilePriv(), LfsPinOrMapData(), LfsReadNextLogRecord(), LfsReadRestart(), LfsReadRestartArea(), LfsRestartLogFile(), and LfsSearchForwardByClient().
|
|
Definition at line 1142 of file pinsup.c. References CACHE_NTC_OBCB, CcUnpinFileData(), DebugTrace, ExFreePool(), ExReleaseResourceForThread, me, NULL, Resource, TRUE, and UNPIN. Referenced by LfsCloseLogFile(), and LfsFlushLfcb().
|
|
Definition at line 5143 of file cachesub.c. References ASSERT, CcDeferredWrites, CcPostDeferredWrites(), CcSetDirtyPinnedData(), CcUnpinFileData(), DebugTrace, DebugTrace2, ExAcquireResourceExclusive, FALSE, _SHARED_CACHE_MAP::FileObject, FlagOn, _SHARED_CACHE_MAP::Flags, me, MmFlushSection(), MmSetAddressRangeModified(), MODIFIED_WRITE_DISABLED, NULL, Resource, RetryError, _FILE_OBJECT::SectionObjectPointer, SET_CLEAN, TRUE, and UNPIN.
|
|
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 2952 of file fssup.c. References ASSERT, _MDL::ByteCount, CcAggressiveZeroCount, CcAggressiveZeroThreshold, CcPinFileData(), CcSetDirtyPinnedData(), CcUnpinFileData(), COMPUTE_PAGES_SPANNED, DebugTrace, Event(), ExAllocatePoolWithTag, Executive, ExFreePool(), ExRaiseStatus(), FALSE, FlagOn, FO_WRITE_THROUGH, IoAllocateMdl(), IoFreeMdl(), IoGetRelatedDeviceObject(), IoReadAccess, IoSynchronousPageWrite(), KeInitializeEvent, KernelMode, KeSweepDcache(), KeWaitForSingleObject(), LowPagePriority, _MDL::MappedSystemVa, MAX_ZERO_TRANSFER, MAX_ZEROS_IN_CACHE, MDL_PAGES_LOCKED, MDL_SOURCE_IS_NONPAGED_POOL, _MDL::MdlFlags, me, MIN_ZERO_TRANSFER, MmAvailablePages, MmBuildMdlForNonPagedPool(), MmDisablePageFaultClustering, MmEnablePageFaultClustering, MmGetMdlPfnArray, MmGetSystemAddressForMdl, MmGetSystemAddressForMdlSafe, MmProbeAndLockPages(), MmSetAddressRangeModified(), MmUnlockPages(), MmUnmapLockedPages(), NonPagedPoolCacheAligned, NT_SUCCESS, NTSTATUS(), NULL, PAGE_SIZE, _DEVICE_OBJECT::SectorSize, Status, TRUE, try_return, and UNPIN. Referenced by FsRtlCopyWrite(), and FsRtlPrepareMdlWriteDev().
|
|
Definition at line 2804 of file fssup.c. References _SHARED_CACHE_MAP::ActiveVacb, ASSERT, CcAcquireMasterLock, CcDecrementOpenCount, CcDirtySharedCacheMapList, CcFlushCache(), CcFreeActiveVacb(), CcIncrementOpenCount, CcPurgeCacheSection(), CcReleaseMasterLock, CcScheduleLazyWriteScan(), _SHARED_CACHE_MAP::DirtyPages, FALSE, FlagOn, _SHARED_CACHE_MAP::Flags, FSRTL_FLAG2_PURGE_WHEN_MAPPED, FSRTL_FLAG_ADVANCED_HEADER, FSRTL_FLAG_USER_MAPPED_FILE, FsRtlAcquireFileExclusive(), FsRtlReleaseFile(), GetActiveVacbAtDpcLevel, LazyWriter, _SHARED_CACHE_MAP::NeedToZero, NULL, _SHARED_CACHE_MAP::OpenCount, _LAZY_WRITER::OtherWork, _LAZY_WRITER::ScanActive, SetFlag, _SHARED_CACHE_MAP_LIST_CURSOR::SharedCacheMapLinks, _SHARED_CACHE_MAP::SharedCacheMapLinks, TRUE, and WRITE_QUEUED. Referenced by MiCreateImageFileMap(), and NtCreateSection().
|
|
Definition at line 211 of file cache.h. Referenced by CcCopyRead(), and NtQuerySystemInformation(). |
|
Definition at line 213 of file cache.h. Referenced by CcCopyRead(), and NtQuerySystemInformation(). |
|
Definition at line 212 of file cache.h. Referenced by CcCopyRead(), CcFastCopyRead(), and NtQuerySystemInformation(). |
|
Definition at line 214 of file cache.h. Referenced by CcCopyRead(), CcFastCopyRead(), and NtQuerySystemInformation(). |
|
Definition at line 225 of file cache.h. Referenced by IoSynchronousPageWrite(), and NtQuerySystemInformation(). |
|
Definition at line 226 of file cache.h. Referenced by IoSynchronousPageWrite(), and NtQuerySystemInformation(). |
|
Definition at line 197 of file cache.h. Referenced by FsRtlMdlReadDev(), and NtQuerySystemInformation(). |
|
Definition at line 194 of file cache.h. Referenced by NtQuerySystemInformation(). |
|
Definition at line 196 of file cache.h. Referenced by NtQuerySystemInformation(). |
|
Definition at line 195 of file cache.h. Referenced by FsRtlMdlReadDev(), and NtQuerySystemInformation(). |
|
Definition at line 192 of file cache.h. Referenced by FsRtlCopyRead(), and NtQuerySystemInformation(). |
|
Definition at line 189 of file cache.h. Referenced by FsRtlCopyRead(), and NtQuerySystemInformation(). |
|
Definition at line 191 of file cache.h. Referenced by FsRtlCopyRead(), and NtQuerySystemInformation(). |
|
Definition at line 190 of file cache.h. Referenced by FsRtlCopyRead(), and NtQuerySystemInformation(). |
|
Definition at line 223 of file cache.h. Referenced by CcFlushCache(), and NtQuerySystemInformation(). |
|
Definition at line 224 of file cache.h. Referenced by CcFlushCache(), and NtQuerySystemInformation(). |
|
Definition at line 199 of file cache.h. Referenced by CcMapData(), and NtQuerySystemInformation(). |
|
Definition at line 201 of file cache.h. Referenced by CcMapData(), and NtQuerySystemInformation(). |
|
Definition at line 200 of file cache.h. Referenced by CcMapData(), and NtQuerySystemInformation(). |
|
Definition at line 202 of file cache.h. Referenced by CcMapData(), and NtQuerySystemInformation(). |
|
Definition at line 216 of file cache.h. Referenced by NtQuerySystemInformation(). |
|
Definition at line 218 of file cache.h. Referenced by NtQuerySystemInformation(). |
|
Definition at line 217 of file cache.h. Referenced by CcMdlRead(), and NtQuerySystemInformation(). |
|
Definition at line 219 of file cache.h. Referenced by CcMdlRead(), and NtQuerySystemInformation(). |
|
Definition at line 228 of file cache.h. Referenced by CcCopyRead(), CcFastCopyRead(), CcMapData(), CcMdlRead(), CcPerformReadAhead(), CcPinRead(), CcPreparePinWrite(), and IoPageRead(). |
|
Definition at line 204 of file cache.h. Referenced by CcPinMappedData(), and NtQuerySystemInformation(). |
|
Definition at line 206 of file cache.h. Referenced by CcPinRead(), and NtQuerySystemInformation(). |
|
Definition at line 208 of file cache.h. Referenced by CcPinRead(), and NtQuerySystemInformation(). |
|
Definition at line 207 of file cache.h. Referenced by CcPinRead(), and NtQuerySystemInformation(). |
|
Definition at line 209 of file cache.h. Referenced by CcPinRead(), and NtQuerySystemInformation(). |
|
Definition at line 221 of file cache.h. Referenced by CcPerformReadAhead(), and NtQuerySystemInformation(). |
|
Definition at line 183 of file cache.h. Referenced by CcCopyRead(), CcFastCopyRead(), CcMapData(), CcMdlRead(), CcPerformReadAhead(), CcPinRead(), and CcPreparePinWrite(). |