mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +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;
|
LARGE_INTEGER FileSize;
|
||||||
KSPIN_LOCK BcbLock;
|
KSPIN_LOCK BcbLock;
|
||||||
ULONG RefCount;
|
ULONG RefCount;
|
||||||
|
#if defined(DBG) || defined(KDBG)
|
||||||
|
BOOLEAN Trace; /* enable extra trace output for this BCB and it's cache segments */
|
||||||
|
#endif
|
||||||
} BCB, *PBCB;
|
} BCB, *PBCB;
|
||||||
|
|
||||||
typedef struct _CACHE_SEGMENT
|
typedef struct _CACHE_SEGMENT
|
||||||
|
@ -91,7 +94,7 @@ CcInitView(VOID);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
CcRosFreeCacheSegment(
|
CcRosFreeCacheSegment(
|
||||||
PBCB,
|
PBCB,
|
||||||
PCACHE_SEGMENT
|
PCACHE_SEGMENT
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -105,14 +108,14 @@ VOID CcInit(VOID);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
CcRosUnmapCacheSegment(
|
CcRosUnmapCacheSegment(
|
||||||
PBCB Bcb,
|
PBCB Bcb,
|
||||||
ULONG FileOffset,
|
ULONG FileOffset,
|
||||||
BOOLEAN NowDirty
|
BOOLEAN NowDirty
|
||||||
);
|
);
|
||||||
|
|
||||||
PCACHE_SEGMENT
|
PCACHE_SEGMENT
|
||||||
CcRosLookupCacheSegment(
|
CcRosLookupCacheSegment(
|
||||||
PBCB Bcb,
|
PBCB Bcb,
|
||||||
ULONG FileOffset
|
ULONG FileOffset
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -129,13 +132,13 @@ CcInitCacheZeroPage(VOID);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
CcRosMarkDirtyCacheSegment(
|
CcRosMarkDirtyCacheSegment(
|
||||||
PBCB Bcb,
|
PBCB Bcb,
|
||||||
ULONG FileOffset
|
ULONG FileOffset
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
CcRosFlushDirtyPages(
|
CcRosFlushDirtyPages(
|
||||||
ULONG Target,
|
ULONG Target,
|
||||||
PULONG Count
|
PULONG Count
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -157,7 +160,7 @@ CcRosReleaseCacheSegment(
|
||||||
BOOLEAN Mapped
|
BOOLEAN Mapped
|
||||||
);
|
);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
STDCALL
|
||||||
CcRosRequestCacheSegment(
|
CcRosRequestCacheSegment(
|
||||||
BCB* Bcb,
|
BCB* Bcb,
|
||||||
|
|
Loading…
Reference in a new issue