ReactOS  0.4.14-dev-608-gd495a4f
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 
7 typedef struct _PUBLIC_BCB {
8  CSHORT NodeTypeCode;
9  CSHORT NodeByteSize;
10  ULONG MappedLength;
11  LARGE_INTEGER MappedFileOffset;
13 
14 typedef struct _CC_FILE_SIZES {
19 
20 typedef BOOLEAN
23  _In_ BOOLEAN Wait);
24 
25 typedef VOID
28 
29 typedef BOOLEAN
32  _In_ BOOLEAN Wait);
33 
34 typedef VOID
37 
38 typedef struct _CACHE_MANAGER_CALLBACKS {
44 
45 typedef struct _CACHE_UNINITIALIZE_EVENT {
49 
50 typedef VOID
55  _In_ PLARGE_INTEGER OldestLsn,
56  _In_ PLARGE_INTEGER NewestLsn,
59 
60 typedef VOID
63  _In_ LARGE_INTEGER Lsn);
64 
65 typedef 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)
VOID(NTAPI * PFLUSH_TO_LSN)(_In_ PVOID LogHandle, _In_ LARGE_INTEGER Lsn)
Definition: cctypes.h:61
* PPUBLIC_BCB
Definition: cctypes.h:12
BOOLEAN(NTAPI * PACQUIRE_FOR_LAZY_WRITE)(_In_ PVOID Context, _In_ BOOLEAN Wait)
Definition: cctypes.h:21
struct _CACHE_UNINITIALIZE_EVENT * PCACHE_UNINITIALIZE_EVENT
VOID(NTAPI * PRELEASE_FROM_LAZY_WRITE)(_In_ PVOID Context)
Definition: cctypes.h:26
#define _NTIFS_
Definition: ifssupp.h:20
BOOLEAN(NTAPI * PACQUIRE_FOR_READ_AHEAD)(_In_ PVOID Context, _In_ BOOLEAN Wait)
Definition: cctypes.h:30
VOID(NTAPI * PRELEASE_FROM_READ_AHEAD)(_In_ PVOID Context)
Definition: cctypes.h:35
PUBLIC_BCB
Definition: cctypes.h:12
struct _CACHE_UNINITIALIZE_EVENT CACHE_UNINITIALIZE_EVENT
LARGE_INTEGER FileSize
Definition: cctypes.h:16
$if(_NTIFS_) typedef struct _PUBLIC_BCB
Definition: cctypes.h:1
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
struct _CACHE_UNINITIALIZE_EVENT * Next
Definition: cctypes.h:46
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
VOID(NTAPI * PCC_POST_DEFERRED_WRITE)(_In_ PVOID Context1, _In_ PVOID Context2)
Definition: cctypes.h:66
struct _CACHE_MANAGER_CALLBACKS CACHE_MANAGER_CALLBACKS
unsigned char BOOLEAN
$endif(_WDMDDK_) $if(_NTDDK_) typedef struct _NEON128
Definition: ke.h:202
_Inout_ PFILE_OBJECT FileObject
Definition: cdprocs.h:593
PACQUIRE_FOR_LAZY_WRITE AcquireForLazyWrite
Definition: cctypes.h:39
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
* PFILE_OBJECT
Definition: iotypes.h:1955
PACQUIRE_FOR_READ_AHEAD AcquireForReadAhead
Definition: cctypes.h:41
struct _CC_FILE_SIZES CC_FILE_SIZES
#define VOID
Definition: acefi.h:82
PRELEASE_FROM_READ_AHEAD ReleaseFromReadAhead
Definition: cctypes.h:42
LARGE_INTEGER ValidDataLength
Definition: cctypes.h:17
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT _In_ PTDI_PNP_CONTEXT Context2
Definition: tdikrnl.h:1094
#define _In_
Definition: no_sal2.h:204
LARGE_INTEGER AllocationSize
Definition: cctypes.h:15
_In_ PFCB _In_ LONGLONG FileOffset
Definition: cdprocs.h:151
struct _CACHE_MANAGER_CALLBACKS * PCACHE_MANAGER_CALLBACKS
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT Context1
Definition: tdikrnl.h:1094
#define BOOLEAN
Definition: pedump.c:73
PRELEASE_FROM_LAZY_WRITE ReleaseFromLazyWrite
Definition: cctypes.h:40
struct tagContext Context
Definition: acpixf.h:1030
unsigned int ULONG
Definition: retypes.h:1
_In_ UINT _Out_ PNDIS_HANDLE LogHandle
Definition: ndis.h:5381
short CSHORT
Definition: umtypes.h:127
struct _CC_FILE_SIZES * PCC_FILE_SIZES
IN BOOLEAN Wait
Definition: fatprocs.h:1529