ReactOS 0.4.16-dev-91-g764881a
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
VOID NTAPI CcFlushCache | ( | IN PSECTION_OBJECT_POINTERS | SectionObjectPointers, |
IN PLARGE_INTEGER FileOffset | OPTIONAL, | ||
IN ULONG | Length, | ||
OUT PIO_STATUS_BLOCK | IoStatus | ||
) |
Definition at line 1102 of file view.c.
PFILE_OBJECT NTAPI CcGetFileObjectFromSectionPtrs | ( | IN PSECTION_OBJECT_POINTERS | SectionObjectPointers | ) |
Definition at line 1457 of file view.c.
Definition at line 1476 of file view.c.
Referenced by CcInitializeCacheManager().
|
static |
Definition at line 797 of file view.c.
Referenced by CcRosGetVacb().
|
static |
Definition at line 208 of file view.c.
Referenced by CcRosFlushDirtyPages(), and CcRosReleaseFileCache().
BOOLEAN CcRosEnsureVacbResident | ( | _In_ PROS_VACB | Vacb, |
_In_ BOOLEAN | Wait, | ||
_In_ BOOLEAN | NoRead, | ||
_In_ ULONG | Offset, | ||
_In_ ULONG | Length | ||
) |
Definition at line 931 of file view.c.
Referenced by CcCopyRead(), CcCopyWrite(), CcMapData(), CcPerformReadAhead(), CcpPinData(), and CcZeroData().
Definition at line 308 of file view.c.
Referenced by CcRosTrimCache(), CcWriteBehind(), and NtSetSystemPowerState().
NTSTATUS CcRosFlushVacb | ( | _In_ PROS_VACB | Vacb, |
_Out_opt_ PIO_STATUS_BLOCK | Iosb | ||
) |
Definition at line 162 of file view.c.
Referenced by CcFlushCache(), and CcRosFlushDirtyPages().
Definition at line 737 of file view.c.
Referenced by CcRosCreateVacb(), and CcWriteBehind().
NTSTATUS CcRosGetVacb | ( | PROS_SHARED_CACHE_MAP | SharedCacheMap, |
LONGLONG | FileOffset, | ||
PROS_VACB * | Vacb | ||
) |
Definition at line 978 of file view.c.
Referenced by CcCopyRead(), CcCopyWrite(), CcMapData(), CcpPinData(), CcRosRequestVacb(), and CcZeroData().
NTSTATUS CcRosInitializeFileCache | ( | PFILE_OBJECT | FileObject, |
PCC_FILE_SIZES | FileSizes, | ||
BOOLEAN | PinAccess, | ||
PCACHE_MANAGER_CALLBACKS | CallBacks, | ||
PVOID | LazyWriterContext | ||
) |
Definition at line 1286 of file view.c.
Referenced by CcInitializeCacheMap().
Definition at line 1053 of file view.c.
PROS_VACB CcRosLookupVacb | ( | PROS_SHARED_CACHE_MAP | SharedCacheMap, |
LONGLONG | FileOffset | ||
) |
Definition at line 623 of file view.c.
Referenced by CcFlushCache(), and CcRosGetVacb().
Definition at line 666 of file view.c.
Referenced by CcRosFlushVacb(), CcRosReleaseVacb(), and CcSetDirtyPinnedData().
NTSTATUS CcRosReleaseFileCache | ( | PFILE_OBJECT | FileObject | ) |
Definition at line 1230 of file view.c.
Referenced by CcRosInitializeFileCache(), and CcUninitializeCacheMap().
NTSTATUS CcRosReleaseVacb | ( | PROS_SHARED_CACHE_MAP | SharedCacheMap, |
PROS_VACB | Vacb, | ||
BOOLEAN | Dirty, | ||
BOOLEAN | Mapped | ||
) |
Definition at line 591 of file view.c.
Referenced by CcCopyRead(), CcCopyWrite(), CcFlushCache(), CcMapData(), CcpDereferenceBcb(), CcPerformReadAhead(), CcpGetAppropriateBcb(), CcpPinData(), CcUnpinRepinnedBcb(), and CcZeroData().
NTSTATUS CcRosRequestVacb | ( | PROS_SHARED_CACHE_MAP | SharedCacheMap, |
LONGLONG | FileOffset, | ||
PROS_VACB * | Vacb | ||
) |
Definition at line 1029 of file view.c.
Referenced by CcPerformReadAhead().
VOID CcRosTraceCacheMap | ( | PROS_SHARED_CACHE_MAP | SharedCacheMap, |
BOOLEAN | Trace | ||
) |
Definition at line 116 of file view.c.
Definition at line 456 of file view.c.
Referenced by MiBalancerThread().
Definition at line 702 of file view.c.
Referenced by CcPurgeCacheSection(), CcRosDeleteFileCache(), and CcRosFlushVacb().
LIST_ENTRY CcCleanSharedCacheMapList |
Definition at line 59 of file view.c.
Referenced by CcInitView(), and CcRosInitializeFileCache().
LIST_ENTRY CcDeferredWrites |
Definition at line 57 of file view.c.
Referenced by CcCanIWrite(), CcDeferWrite(), CcInitView(), CcLazyWriteScan(), CcPostDeferredWrites(), and CcWorkerThread().
KSPIN_LOCK CcDeferredWriteSpinLock |
Definition at line 58 of file view.c.
Referenced by CcCanIWrite(), CcDeferWrite(), CcInitView(), and CcPostDeferredWrites().
ULONG CcDirtyPageThreshold = 0 |
Definition at line 55 of file view.c.
Referenced by CcCanIWrite(), and CcInitializeCacheManager().
ULONG CcTotalDirtyPages = 0 |
Definition at line 56 of file view.c.
Referenced by CcCanIWrite(), CcLazyWriteScan(), CcRosMarkDirtyVacb(), CcRosUnmarkDirtyVacb(), CcWorkerThread(), and CcWriteBehind().
LIST_ENTRY DirtyVacbListHead |
Definition at line 41 of file view.c.
Referenced by CcInitView(), CcIsThereDirtyData(), CcRosFlushDirtyPages(), and CcRosMarkDirtyVacb().
NPAGED_LOOKASIDE_LIST iBcbLookasideList |
Definition at line 44 of file view.c.
Referenced by CcInitView(), CcpDereferenceBcb(), CcpGetAppropriateBcb(), and CcUnpinRepinnedBcb().
|
static |
Definition at line 45 of file view.c.
Referenced by CcInitView(), CcRosDeleteFileCache(), and CcRosInitializeFileCache().
|
static |
Definition at line 46 of file view.c.
Referenced by CcInitView(), CcRosCreateVacb(), and CcRosInternalFreeVacb().
|
static |
Definition at line 42 of file view.c.
Referenced by CcInitView(), CcRosCreateVacb(), CcRosFreeOneUnusedVacb(), CcRosGetVacb(), CcRosMarkDirtyVacb(), and CcRosTrimCache().