33 "CCPF: InitializePrefetecher()\n");
168 SharedCacheMap =
FileObject->SectionObjectPointer->SharedCacheMap;
169 PrivateCacheMap =
FileObject->PrivateCacheMap;
172 if (SharedCacheMap ==
NULL || PrivateCacheMap ==
NULL ||
273 FileObject, DisableReadAhead, DisableWriteBehind);
275 SharedCacheMap =
FileObject->SectionObjectPointer->SharedCacheMap;
279 if (DisableReadAhead)
288 if (DisableWriteBehind)
317 DPRINT1(
"Current thread doesn't own resource!\n");
340 SharedCacheMap =
FileObject->SectionObjectPointer->SharedCacheMap;
341 if (SharedCacheMap !=
NULL)
LARGE_INTEGER NTAPI CcGetFlushedValidData(IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN BOOLEAN BcbListHeld)
PVOID NTAPI CcRemapBcb(IN PVOID Bcb)
VOID NTAPI CcShutdownSystem(VOID)
static ULONG BugCheckFileId
PFSN_PREFETCHER_GLOBALS CcPfGlobals
VOID NTAPI CcSetReadAheadGranularity(IN PFILE_OBJECT FileObject, IN ULONG Granularity)
BOOLEAN CcInitializeCacheManager(VOID)
VOID NTAPI CcScheduleReadAhead(IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, IN ULONG Length)
VOID NTAPI CcSetDirtyPageThreshold(IN PFILE_OBJECT FileObject, IN ULONG DirtyPageThreshold)
VOID NTAPI CcSetBcbOwnerPointer(IN PVOID Bcb, IN PVOID Owner)
BOOLEAN CcPfEnablePrefetcher
VOID NTAPI CcSetAdditionalCacheAttributes(IN PFILE_OBJECT FileObject, IN BOOLEAN DisableReadAhead, IN BOOLEAN DisableWriteBehind)
VOID NTAPI CcPfInitializePrefetcher(VOID)
MM_SYSTEMSIZE CcCapturedSystemSize
_In_ PFCB _In_ LONGLONG FileOffset
VOID NTAPI KeInitializeDpc(IN PKDPC Dpc, IN PKDEFERRED_ROUTINE DeferredRoutine, IN PVOID DeferredContext)
#define InsertTailList(ListHead, Entry)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define KeReleaseSpinLock(sl, irql)
#define KeAcquireSpinLock(sl, irql)
#define InitializeListHead(ListHead)
#define ROUND_UP(n, align)
#define ClearFlag(_F, _SF)
#define BooleanFlagOn(F, SF)
IN PVCB IN VBO IN ULONG OUT PBCB * Bcb
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
_Must_inspect_result_ _In_ PDEVICE_OBJECT _In_ PSECTION_OBJECT_POINTERS SectionObjectPointer
#define FSRTL_FLAG_LIMIT_MODIFIED_PAGES
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
VOID FASTCALL KeReleaseQueuedSpinLock(IN KSPIN_LOCK_QUEUE_NUMBER LockNumber, IN KIRQL OldIrql)
KIRQL FASTCALL KeAcquireQueuedSpinLock(IN KSPIN_LOCK_QUEUE_NUMBER LockNumber)
NPAGED_LOOKASIDE_LIST CcTwilightLookasideList
VOID NTAPI CcWorkerThread(IN PVOID Parameter)
LIST_ENTRY CcRegularWorkQueue
VOID CcPostWorkQueue(IN PWORK_QUEUE_ENTRY WorkItem, IN PLIST_ENTRY WorkQueue)
LIST_ENTRY CcExpressWorkQueue
LIST_ENTRY CcPostTickWorkQueue
LIST_ENTRY CcIdleWorkerThreadList
ULONG CcNumberWorkerThreads
VOID NTAPI CcScanDpc(IN PKDPC Dpc, IN PVOID DeferredContext, IN PVOID SystemArgument1, IN PVOID SystemArgument2)
VOID NTAPI ExInitializeNPagedLookasideList(IN PNPAGED_LOOKASIDE_LIST Lookaside, IN PALLOCATE_FUNCTION Allocate OPTIONAL, IN PFREE_FUNCTION Free OPTIONAL, IN ULONG Flags, IN SIZE_T Size, IN ULONG Tag, IN USHORT Depth)
MM_SYSTEMSIZE NTAPI MmQuerySystemSize(VOID)
#define PRIVATE_CACHE_MAP_READ_AHEAD_ACTIVE
#define DPFLTR_TRACE_LEVEL
_Out_writes_bytes_to_opt_ AbsoluteSecurityDescriptorSize PSECURITY_DESCRIPTOR _Inout_ PULONG _Out_writes_bytes_to_opt_ DaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ SaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ OwnerSize PSID Owner
NTSYSAPI ULONG __cdecl DbgPrintEx(_In_ ULONG ComponentId, _In_ ULONG Level, _In_z_ _Printf_format_string_ PCSTR Format,...)
VOID NTAPI CcInitView(VOID)
_In_ ULONG _In_ ULONG _In_ ULONG Length
ULONG CcDirtyPageThreshold
VOID NTAPI ExSetResourceOwnerPointer(IN PERESOURCE Resource, IN PVOID OwnerPointer)
BOOLEAN NTAPI ExIsResourceAcquiredExclusiveLite(IN PERESOURCE Resource)
ULONG NTAPI ExIsResourceAcquiredSharedLite(IN PERESOURCE Resource)
#define READAHEAD_DISABLED
#define WRITEBEHIND_DISABLED
#define CcBugCheck(A, B, C)
#define CCTRACE(x, fmt,...)
PFN_COUNT MmNumberOfPhysicalPages
LIST_ENTRY CompletedTraces
FAST_MUTEX CompletedTracesLock
PRIVATE_CACHE_MAP_FLAGS Flags
LARGE_INTEGER FileOffset2
LARGE_INTEGER FileOffset1
LARGE_INTEGER ReadAheadOffset[2]
KSPIN_LOCK ReadAheadSpinLock
VOID NTAPI KeInitializeTimer(OUT PKTIMER Timer)
#define UNIMPLEMENTED_ONCE
#define RtlZeroMemory(Destination, Length)
#define CONTAINING_RECORD(address, type, field)
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
_Must_inspect_result_ _In_ PWDF_WORKITEM_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWORKITEM * WorkItem
ULONG ExCriticalWorkerThreads
#define ExInitializeWorkItem(Item, Routine, Context)
FORCEINLINE VOID ExInitializeFastMutex(_Out_ PFAST_MUTEX FastMutex)
#define FO_SEQUENTIAL_ONLY
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
enum _MM_SYSTEM_SIZE MM_SYSTEMSIZE
#define ObReferenceObject