ReactOS 0.4.16-dev-334-g4d9f67c
cctypes.h
Go to the documentation of this file.
2/* Common Cache Types */
3
4#define VACB_MAPPING_GRANULARITY (0x40000)
5#define VACB_OFFSET_SHIFT (18)
6
7typedef struct _PUBLIC_BCB {
8 CSHORT NodeTypeCode;
9 CSHORT NodeByteSize;
10 ULONG MappedLength;
11 LARGE_INTEGER MappedFileOffset;
13
14typedef struct _CC_FILE_SIZES {
19
20typedef BOOLEAN
24
25typedef VOID
28
29typedef BOOLEAN
33
34typedef VOID
37
44
49
50typedef VOID
55 _In_ PLARGE_INTEGER OldestLsn,
56 _In_ PLARGE_INTEGER NewestLsn,
59
60typedef VOID
64
65typedef VOID
69
70#define UNINITIALIZE_CACHE_MAPS (1)
71#define DO_NOT_RETRY_PURGE (2)
72#define DO_NOT_PURGE_DIRTY_PAGES (0x4)
73
74#define CC_FLUSH_AND_PURGE_NO_PURGE (0x1)
unsigned char BOOLEAN
#define VOID
Definition: acefi.h:82
_In_ PFCB _In_ LONGLONG FileOffset
Definition: cdprocs.h:160
#define _NTIFS_
Definition: ifssupp.h:20
_In_ UINT _Out_ PNDIS_HANDLE LogHandle
Definition: ndis.h:5382
#define _In_
Definition: no_sal2.h:158
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
#define BOOLEAN
Definition: pedump.c:73
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _NEON128
Definition: ke.h:202
PACQUIRE_FOR_LAZY_WRITE AcquireForLazyWrite
Definition: cctypes.h:39
PRELEASE_FROM_LAZY_WRITE ReleaseFromLazyWrite
Definition: cctypes.h:40
PACQUIRE_FOR_READ_AHEAD AcquireForReadAhead
Definition: cctypes.h:41
PRELEASE_FROM_READ_AHEAD ReleaseFromReadAhead
Definition: cctypes.h:42
struct _CACHE_UNINITIALIZE_EVENT * Next
Definition: cctypes.h:46
LARGE_INTEGER FileSize
Definition: cctypes.h:16
LARGE_INTEGER ValidDataLength
Definition: cctypes.h:17
LARGE_INTEGER AllocationSize
Definition: cctypes.h:15
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT Context1
Definition: tdikrnl.h:1095
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT _In_ PTDI_PNP_CONTEXT Context2
Definition: tdikrnl.h:1096
#define NTAPI
Definition: typedefs.h:36
uint32_t ULONG
Definition: typedefs.h:59
short CSHORT
Definition: umtypes.h:127
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550
_In_ WDFDPC _In_ BOOLEAN Wait
Definition: wdfdpc.h:170
$if(_NTIFS_) typedef struct _PUBLIC_BCB
Definition: cctypes.h:1
struct _CC_FILE_SIZES * PCC_FILE_SIZES
struct _CACHE_MANAGER_CALLBACKS * PCACHE_MANAGER_CALLBACKS
VOID(NTAPI * PCC_POST_DEFERRED_WRITE)(_In_ PVOID Context1, _In_ PVOID Context2)
Definition: cctypes.h:66
BOOLEAN(NTAPI * PACQUIRE_FOR_READ_AHEAD)(_In_ PVOID Context, _In_ BOOLEAN Wait)
Definition: cctypes.h:30
* PPUBLIC_BCB
Definition: cctypes.h:12
struct _CACHE_UNINITIALIZE_EVENT CACHE_UNINITIALIZE_EVENT
PUBLIC_BCB
Definition: cctypes.h:12
VOID(NTAPI * PRELEASE_FROM_LAZY_WRITE)(_In_ PVOID Context)
Definition: cctypes.h:26
struct _CC_FILE_SIZES CC_FILE_SIZES
VOID(NTAPI * PRELEASE_FROM_READ_AHEAD)(_In_ PVOID Context)
Definition: cctypes.h:35
BOOLEAN(NTAPI * PACQUIRE_FOR_LAZY_WRITE)(_In_ PVOID Context, _In_ BOOLEAN Wait)
Definition: cctypes.h:21
struct _CACHE_MANAGER_CALLBACKS CACHE_MANAGER_CALLBACKS
VOID(NTAPI * 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)
Definition: cctypes.h:51
VOID(NTAPI * PFLUSH_TO_LSN)(_In_ PVOID LogHandle, _In_ LARGE_INTEGER Lsn)
Definition: cctypes.h:61
struct _CACHE_UNINITIALIZE_EVENT * PCACHE_UNINITIALIZE_EVENT
* PFILE_OBJECT
Definition: iotypes.h:1998