mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
variable to enable per-BCB debugging
svn path=/trunk/; revision=17365
This commit is contained in:
parent
ce468cd74a
commit
864eea72ca
1 changed files with 10 additions and 7 deletions
|
@ -13,6 +13,9 @@ typedef struct _BCB
|
|||
LARGE_INTEGER FileSize;
|
||||
KSPIN_LOCK BcbLock;
|
||||
ULONG RefCount;
|
||||
#if defined(DBG) || defined(KDBG)
|
||||
BOOLEAN Trace; /* enable extra trace output for this BCB and it's cache segments */
|
||||
#endif
|
||||
} BCB, *PBCB;
|
||||
|
||||
typedef struct _CACHE_SEGMENT
|
||||
|
@ -91,7 +94,7 @@ CcInitView(VOID);
|
|||
|
||||
NTSTATUS
|
||||
CcRosFreeCacheSegment(
|
||||
PBCB,
|
||||
PBCB,
|
||||
PCACHE_SEGMENT
|
||||
);
|
||||
|
||||
|
@ -105,14 +108,14 @@ VOID CcInit(VOID);
|
|||
|
||||
NTSTATUS
|
||||
CcRosUnmapCacheSegment(
|
||||
PBCB Bcb,
|
||||
ULONG FileOffset,
|
||||
PBCB Bcb,
|
||||
ULONG FileOffset,
|
||||
BOOLEAN NowDirty
|
||||
);
|
||||
|
||||
PCACHE_SEGMENT
|
||||
CcRosLookupCacheSegment(
|
||||
PBCB Bcb,
|
||||
PBCB Bcb,
|
||||
ULONG FileOffset
|
||||
);
|
||||
|
||||
|
@ -129,13 +132,13 @@ CcInitCacheZeroPage(VOID);
|
|||
|
||||
NTSTATUS
|
||||
CcRosMarkDirtyCacheSegment(
|
||||
PBCB Bcb,
|
||||
PBCB Bcb,
|
||||
ULONG FileOffset
|
||||
);
|
||||
|
||||
NTSTATUS
|
||||
CcRosFlushDirtyPages(
|
||||
ULONG Target,
|
||||
ULONG Target,
|
||||
PULONG Count
|
||||
);
|
||||
|
||||
|
@ -157,7 +160,7 @@ CcRosReleaseCacheSegment(
|
|||
BOOLEAN Mapped
|
||||
);
|
||||
|
||||
NTSTATUS
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
CcRosRequestCacheSegment(
|
||||
BCB* Bcb,
|
||||
|
|
Loading…
Reference in a new issue