ReactOS  0.4.14-dev-552-g2fad488
ccfuncs.h File Reference

Go to the source code of this file.

Macros

#define CcIsFileCached(FO)
 
#define CcGetFileSizePointer(FO)
 
#define CcReadAhead(FO, FOFF, LEN)
 

Functions

 $if (_NTIFS_) extern NTKERNELAPI ULONG CcFastMdlReadWait
 
NTKERNELAPI VOID NTAPI CcInitializeCacheMap (_In_ PFILE_OBJECT FileObject, _In_ PCC_FILE_SIZES FileSizes, _In_ BOOLEAN PinAccess, _In_ PCACHE_MANAGER_CALLBACKS Callbacks, _In_ PVOID LazyWriteContext)
 
NTKERNELAPI BOOLEAN NTAPI CcUninitializeCacheMap (_In_ PFILE_OBJECT FileObject, _In_opt_ PLARGE_INTEGER TruncateSize, _In_opt_ PCACHE_UNINITIALIZE_EVENT UninitializeCompleteEvent)
 
NTKERNELAPI VOID NTAPI CcSetFileSizes (IN PFILE_OBJECT FileObject, IN PCC_FILE_SIZES FileSizes)
 
NTKERNELAPI VOID NTAPI CcSetDirtyPageThreshold (_In_ PFILE_OBJECT FileObject, _In_ ULONG DirtyPageThreshold)
 
NTKERNELAPI VOID NTAPI CcFlushCache (_In_ PSECTION_OBJECT_POINTERS SectionObjectPointer, _In_opt_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _Out_opt_ PIO_STATUS_BLOCK IoStatus)
 
NTKERNELAPI LARGE_INTEGER NTAPI CcGetFlushedValidData (_In_ PSECTION_OBJECT_POINTERS SectionObjectPointer, _In_ BOOLEAN BcbListHeld)
 
NTKERNELAPI BOOLEAN NTAPI CcZeroData (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER StartOffset, _In_ PLARGE_INTEGER EndOffset, _In_ BOOLEAN Wait)
 
NTKERNELAPI PVOID NTAPI CcRemapBcb (_In_ PVOID Bcb)
 
NTKERNELAPI VOID NTAPI CcRepinBcb (_In_ PVOID Bcb)
 
NTKERNELAPI VOID NTAPI CcUnpinRepinnedBcb (_In_ PVOID Bcb, _In_ BOOLEAN WriteThrough, _Out_ PIO_STATUS_BLOCK IoStatus)
 
NTKERNELAPI PFILE_OBJECT NTAPI CcGetFileObjectFromSectionPtrs (_In_ PSECTION_OBJECT_POINTERS SectionObjectPointer)
 
NTKERNELAPI PFILE_OBJECT NTAPI CcGetFileObjectFromBcb (_In_ PVOID Bcb)
 
NTKERNELAPI BOOLEAN NTAPI CcCanIWrite (_In_opt_ PFILE_OBJECT FileObject, _In_ ULONG BytesToWrite, _In_ BOOLEAN Wait, _In_ BOOLEAN Retrying)
 
NTKERNELAPI VOID NTAPI CcDeferWrite (_In_ PFILE_OBJECT FileObject, _In_ PCC_POST_DEFERRED_WRITE PostRoutine, _In_ PVOID Context1, _In_ PVOID Context2, _In_ ULONG BytesToWrite, _In_ BOOLEAN Retrying)
 
NTKERNELAPI BOOLEAN NTAPI CcCopyRead (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _In_ BOOLEAN Wait, _Out_writes_bytes_(Length) PVOID Buffer, _Out_ PIO_STATUS_BLOCK IoStatus)
 
NTKERNELAPI VOID NTAPI CcFastCopyRead (_In_ PFILE_OBJECT FileObject, _In_ ULONG FileOffset, _In_ ULONG Length, _In_ ULONG PageCount, _Out_writes_bytes_(Length) PVOID Buffer, _Out_ PIO_STATUS_BLOCK IoStatus)
 
NTKERNELAPI BOOLEAN NTAPI CcCopyWrite (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _In_ BOOLEAN Wait, _In_reads_bytes_(Length) PVOID Buffer)
 
NTKERNELAPI VOID NTAPI CcFastCopyWrite (_In_ PFILE_OBJECT FileObject, _In_ ULONG FileOffset, _In_ ULONG Length, _In_reads_bytes_(Length) PVOID Buffer)
 
NTKERNELAPI VOID NTAPI CcMdlRead (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _Out_ PMDL *MdlChain, _Out_ PIO_STATUS_BLOCK IoStatus)
 
NTKERNELAPI VOID NTAPI CcMdlReadComplete (_In_ PFILE_OBJECT FileObject, _In_ PMDL MdlChain)
 
NTKERNELAPI VOID NTAPI CcPrepareMdlWrite (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _Out_ PMDL *MdlChain, _Out_ PIO_STATUS_BLOCK IoStatus)
 
NTKERNELAPI VOID NTAPI CcMdlWriteComplete (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ PMDL MdlChain)
 
NTKERNELAPI VOID NTAPI CcScheduleReadAhead (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length)
 
NTKERNELAPI NTSTATUS NTAPI CcWaitForCurrentLazyWriterActivity (VOID)
 
NTKERNELAPI VOID NTAPI CcSetReadAheadGranularity (_In_ PFILE_OBJECT FileObject, _In_ ULONG Granularity)
 
NTKERNELAPI BOOLEAN NTAPI CcPinRead (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _In_ ULONG Flags, _Outptr_ PVOID *Bcb, _Outptr_result_bytebuffer_(Length) PVOID *Buffer)
 
NTKERNELAPI BOOLEAN NTAPI CcPinMappedData (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _In_ ULONG Flags, _Inout_ PVOID *Bcb)
 
NTKERNELAPI BOOLEAN NTAPI CcPreparePinWrite (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _In_ BOOLEAN Zero, _In_ ULONG Flags, _Outptr_ PVOID *Bcb, _Outptr_result_bytebuffer_(Length) PVOID *Buffer)
 
NTKERNELAPI VOID NTAPI CcSetDirtyPinnedData (_In_ PVOID BcbVoid, _In_opt_ PLARGE_INTEGER Lsn)
 
NTKERNELAPI VOID NTAPI CcUnpinData (_In_ PVOID Bcb)
 
NTKERNELAPI VOID NTAPI CcSetBcbOwnerPointer (_In_ PVOID Bcb, _In_ PVOID OwnerPointer)
 
NTKERNELAPI VOID NTAPI CcUnpinDataForThread (_In_ PVOID Bcb, _In_ ERESOURCE_THREAD ResourceThreadId)
 
NTKERNELAPI VOID NTAPI CcSetAdditionalCacheAttributes (_In_ PFILE_OBJECT FileObject, _In_ BOOLEAN DisableReadAhead, _In_ BOOLEAN DisableWriteBehind)
 
NTKERNELAPI BOOLEAN NTAPI CcIsThereDirtyData (_In_ PVPB Vpb)
 
NTKERNELAPI VOID NTAPI CcMdlWriteAbort (_In_ PFILE_OBJECT FileObject, _In_ PMDL MdlChain)
 
NTKERNELAPI VOID NTAPI CcSetLogHandleForFile (_In_ PFILE_OBJECT FileObject, _In_ PVOID LogHandle, _In_ PFLUSH_TO_LSN FlushToLsnRoutine)
 
NTKERNELAPI LARGE_INTEGER NTAPI CcGetDirtyPages (_In_ PVOID LogHandle, _In_ PDIRTY_PAGE_ROUTINE DirtyPageRoutine, _In_ PVOID Context1, _In_ PVOID Context2)
 
 _Success_ (return!=FALSE) NTKERNELAPI BOOLEAN NTAPI CcMapData(_In_ PFILE_OBJECT FileObject
 
_In_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _Outptr_ PVOID _Outptr_result_bytebuffer_ (Length) PVOID *Buffer)
 
NTKERNELAPI NTSTATUS NTAPI CcSetFileSizesEx (_In_ PFILE_OBJECT FileObject, _In_ PCC_FILE_SIZES FileSizes)
 
NTKERNELAPI PFILE_OBJECT NTAPI CcGetFileObjectFromSectionPtrsRef (_In_ PSECTION_OBJECT_POINTERS SectionObjectPointer)
 
NTKERNELAPI VOID NTAPI CcSetParallelFlushFile (_In_ PFILE_OBJECT FileObject, _In_ BOOLEAN EnableParallelFlush)
 
NTKERNELAPI BOOLEAN CcIsThereDirtyDataEx (_In_ PVPB Vpb, _In_opt_ PULONG NumberOfDirtyPages)
 
NTKERNELAPI VOID NTAPI CcCoherencyFlushAndPurgeCache (_In_ PSECTION_OBJECT_POINTERS SectionObjectPointer, _In_opt_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _Out_ PIO_STATUS_BLOCK IoStatus, _In_opt_ ULONG Flags)
 
NTKERNELAPI BOOLEAN NTAPI CcPurgeCacheSection (_In_ PSECTION_OBJECT_POINTERS SectionObjectPointer, _In_opt_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _In_ ULONG Flags)
 
NTKERNELAPI BOOLEAN NTAPI CcCopyWriteWontFlush (_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length)
 

Variables

_In_ PLARGE_INTEGER FileOffset
 
_In_ PLARGE_INTEGER _In_ ULONG Length
 
_In_ PLARGE_INTEGER _In_ ULONG _In_ ULONG Flags
 
_In_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _Outptr_ PVOIDBcb
 

Macro Definition Documentation

◆ CcGetFileSizePointer

#define CcGetFileSizePointer (   FO)
Value:
( \
((PLARGE_INTEGER)((FO)->SectionObjectPointer->SharedCacheMap) + 1) \
)
union _LARGE_INTEGER * PLARGE_INTEGER
Definition: file.c:85

Definition at line 389 of file ccfuncs.h.

◆ CcIsFileCached

#define CcIsFileCached (   FO)
Value:
( \
((FO)->SectionObjectPointer != NULL) && \
(((PSECTION_OBJECT_POINTERS)(FO)->SectionObjectPointer)->SharedCacheMap != NULL) \
)
_Must_inspect_result_ _In_ PDEVICE_OBJECT _In_ PSECTION_OBJECT_POINTERS SectionObjectPointer
Definition: fsrtlfuncs.h:1368
SECTION_OBJECT_POINTERS * PSECTION_OBJECT_POINTERS
Definition: env_spec_w32.h:765
smooth NULL
Definition: ftsmooth.c:416

◆ CcReadAhead

#define CcReadAhead (   FO,
  FOFF,
  LEN 
)
Value:
( \
if ((LEN) >= 256) { \
CcScheduleReadAhead((FO), (FOFF), (LEN)); \
} \
)
#define LEN
Definition: rtl.c:127

Definition at line 425 of file ccfuncs.h.

Function Documentation

◆ $if()

$if ( _NTIFS_  )

Definition at line 1 of file cctypes.h.

7  {
8  CSHORT NodeTypeCode;
9  CSHORT NodeByteSize;
10  ULONG MappedLength;
11  LARGE_INTEGER MappedFileOffset;
* PPUBLIC_BCB
Definition: cctypes.h:12
PUBLIC_BCB
Definition: cctypes.h:12
unsigned int ULONG
Definition: retypes.h:1
short CSHORT
Definition: umtypes.h:127

◆ _Outptr_result_bytebuffer_()

_In_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _Outptr_ PVOID _Outptr_result_bytebuffer_ ( Length  )

◆ _Success_()

_Success_ ( return!  = FALSE)

◆ CcCanIWrite()

NTKERNELAPI BOOLEAN NTAPI CcCanIWrite ( _In_opt_ PFILE_OBJECT  FileObject,
_In_ ULONG  BytesToWrite,
_In_ BOOLEAN  Wait,
_In_ BOOLEAN  Retrying 
)

◆ CcCoherencyFlushAndPurgeCache()

NTKERNELAPI VOID NTAPI CcCoherencyFlushAndPurgeCache ( _In_ PSECTION_OBJECT_POINTERS  SectionObjectPointer,
_In_opt_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length,
_Out_ PIO_STATUS_BLOCK  IoStatus,
_In_opt_ ULONG  Flags 
)

Referenced by _Requires_lock_held_().

◆ CcCopyRead()

NTKERNELAPI BOOLEAN NTAPI CcCopyRead ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length,
_In_ BOOLEAN  Wait,
_Out_writes_bytes_(Length) PVOID  Buffer,
_Out_ PIO_STATUS_BLOCK  IoStatus 
)

◆ CcCopyWrite()

NTKERNELAPI BOOLEAN NTAPI CcCopyWrite ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length,
_In_ BOOLEAN  Wait,
_In_reads_bytes_(Length) PVOID  Buffer 
)

◆ CcCopyWriteWontFlush()

NTKERNELAPI BOOLEAN NTAPI CcCopyWriteWontFlush ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length 
)

Referenced by FsRtlCopyWrite(), and FsRtlCopyWrite2().

◆ CcDeferWrite()

NTKERNELAPI VOID NTAPI CcDeferWrite ( _In_ PFILE_OBJECT  FileObject,
_In_ PCC_POST_DEFERRED_WRITE  PostRoutine,
_In_ PVOID  Context1,
_In_ PVOID  Context2,
_In_ ULONG  BytesToWrite,
_In_ BOOLEAN  Retrying 
)

◆ CcFastCopyRead()

NTKERNELAPI VOID NTAPI CcFastCopyRead ( _In_ PFILE_OBJECT  FileObject,
_In_ ULONG  FileOffset,
_In_ ULONG  Length,
_In_ ULONG  PageCount,
_Out_writes_bytes_(Length) PVOID  Buffer,
_Out_ PIO_STATUS_BLOCK  IoStatus 
)

◆ CcFastCopyWrite()

NTKERNELAPI VOID NTAPI CcFastCopyWrite ( _In_ PFILE_OBJECT  FileObject,
_In_ ULONG  FileOffset,
_In_ ULONG  Length,
_In_reads_bytes_(Length) PVOID  Buffer 
)

◆ CcFlushCache()

NTKERNELAPI VOID NTAPI CcFlushCache ( _In_ PSECTION_OBJECT_POINTERS  SectionObjectPointer,
_In_opt_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length,
_Out_opt_ PIO_STATUS_BLOCK  IoStatus 
)

◆ CcGetDirtyPages()

NTKERNELAPI LARGE_INTEGER NTAPI CcGetDirtyPages ( _In_ PVOID  LogHandle,
_In_ PDIRTY_PAGE_ROUTINE  DirtyPageRoutine,
_In_ PVOID  Context1,
_In_ PVOID  Context2 
)

◆ CcGetFileObjectFromBcb()

NTKERNELAPI PFILE_OBJECT NTAPI CcGetFileObjectFromBcb ( _In_ PVOID  Bcb)

◆ CcGetFileObjectFromSectionPtrs()

NTKERNELAPI PFILE_OBJECT NTAPI CcGetFileObjectFromSectionPtrs ( _In_ PSECTION_OBJECT_POINTERS  SectionObjectPointer)

◆ CcGetFileObjectFromSectionPtrsRef()

NTKERNELAPI PFILE_OBJECT NTAPI CcGetFileObjectFromSectionPtrsRef ( _In_ PSECTION_OBJECT_POINTERS  SectionObjectPointer)

◆ CcGetFlushedValidData()

NTKERNELAPI LARGE_INTEGER NTAPI CcGetFlushedValidData ( _In_ PSECTION_OBJECT_POINTERS  SectionObjectPointer,
_In_ BOOLEAN  BcbListHeld 
)

◆ CcInitializeCacheMap()

NTKERNELAPI VOID NTAPI CcInitializeCacheMap ( _In_ PFILE_OBJECT  FileObject,
_In_ PCC_FILE_SIZES  FileSizes,
_In_ BOOLEAN  PinAccess,
_In_ PCACHE_MANAGER_CALLBACKS  Callbacks,
_In_ PVOID  LazyWriteContext 
)

◆ CcIsThereDirtyData()

NTKERNELAPI BOOLEAN NTAPI CcIsThereDirtyData ( _In_ PVPB  Vpb)

◆ CcIsThereDirtyDataEx()

NTKERNELAPI BOOLEAN CcIsThereDirtyDataEx ( _In_ PVPB  Vpb,
_In_opt_ PULONG  NumberOfDirtyPages 
)

◆ CcMdlRead()

NTKERNELAPI VOID NTAPI CcMdlRead ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length,
_Out_ PMDL MdlChain,
_Out_ PIO_STATUS_BLOCK  IoStatus 
)

◆ CcMdlReadComplete()

NTKERNELAPI VOID NTAPI CcMdlReadComplete ( _In_ PFILE_OBJECT  FileObject,
_In_ PMDL  MdlChain 
)

◆ CcMdlWriteAbort()

NTKERNELAPI VOID NTAPI CcMdlWriteAbort ( _In_ PFILE_OBJECT  FileObject,
_In_ PMDL  MdlChain 
)

◆ CcMdlWriteComplete()

NTKERNELAPI VOID NTAPI CcMdlWriteComplete ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  FileOffset,
_In_ PMDL  MdlChain 
)

◆ CcPinMappedData()

NTKERNELAPI BOOLEAN NTAPI CcPinMappedData ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length,
_In_ ULONG  Flags,
_Inout_ PVOID Bcb 
)

◆ CcPinRead()

NTKERNELAPI BOOLEAN NTAPI CcPinRead ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length,
_In_ ULONG  Flags,
_Outptr_ PVOID Bcb,
_Outptr_result_bytebuffer_(Length) PVOID Buffer 
)

◆ CcPrepareMdlWrite()

NTKERNELAPI VOID NTAPI CcPrepareMdlWrite ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length,
_Out_ PMDL MdlChain,
_Out_ PIO_STATUS_BLOCK  IoStatus 
)

◆ CcPreparePinWrite()

NTKERNELAPI BOOLEAN NTAPI CcPreparePinWrite ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length,
_In_ BOOLEAN  Zero,
_In_ ULONG  Flags,
_Outptr_ PVOID Bcb,
_Outptr_result_bytebuffer_(Length) PVOID Buffer 
)

◆ CcPurgeCacheSection()

NTKERNELAPI BOOLEAN NTAPI CcPurgeCacheSection ( _In_ PSECTION_OBJECT_POINTERS  SectionObjectPointer,
_In_opt_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length,
_In_ ULONG  Flags 
)

◆ CcRemapBcb()

NTKERNELAPI PVOID NTAPI CcRemapBcb ( _In_ PVOID  Bcb)

◆ CcRepinBcb()

NTKERNELAPI VOID NTAPI CcRepinBcb ( _In_ PVOID  Bcb)

◆ CcScheduleReadAhead()

NTKERNELAPI VOID NTAPI CcScheduleReadAhead ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  FileOffset,
_In_ ULONG  Length 
)

◆ CcSetAdditionalCacheAttributes()

NTKERNELAPI VOID NTAPI CcSetAdditionalCacheAttributes ( _In_ PFILE_OBJECT  FileObject,
_In_ BOOLEAN  DisableReadAhead,
_In_ BOOLEAN  DisableWriteBehind 
)

◆ CcSetBcbOwnerPointer()

NTKERNELAPI VOID NTAPI CcSetBcbOwnerPointer ( _In_ PVOID  Bcb,
_In_ PVOID  OwnerPointer 
)

◆ CcSetDirtyPageThreshold()

NTKERNELAPI VOID NTAPI CcSetDirtyPageThreshold ( _In_ PFILE_OBJECT  FileObject,
_In_ ULONG  DirtyPageThreshold 
)

◆ CcSetDirtyPinnedData()

NTKERNELAPI VOID NTAPI CcSetDirtyPinnedData ( _In_ PVOID  BcbVoid,
_In_opt_ PLARGE_INTEGER  Lsn 
)

◆ CcSetFileSizes()

NTKERNELAPI VOID NTAPI CcSetFileSizes ( IN PFILE_OBJECT  FileObject,
IN PCC_FILE_SIZES  FileSizes 
)

Definition at line 354 of file fssup.c.

356 {
357  PNOCC_CACHE_MAP Map = (PNOCC_CACHE_MAP)FileObject->SectionObjectPointer->SharedCacheMap;
358  PNOCC_BCB Bcb;
359 
360  if (!Map) return;
361  Map->FileSizes = *FileSizes;
362  Bcb = Map->AssociatedBcb.Flink == &Map->AssociatedBcb ?
363  NULL : CONTAINING_RECORD(Map->AssociatedBcb.Flink, NOCC_BCB, ThisFileList);
364  if (!Bcb) return;
365  MmExtendCacheSection(Bcb->SectionObject, &FileSizes->FileSize, FALSE);
366  DPRINT("FileSizes->FileSize %x\n", FileSizes->FileSize.LowPart);
367  DPRINT("FileSizes->AllocationSize %x\n", FileSizes->AllocationSize.LowPart);
368  DPRINT("FileSizes->ValidDataLength %x\n", FileSizes->ValidDataLength.LowPart);
369 }
IN PVCB IN VBO IN ULONG OUT PBCB * Bcb
Definition: fatprocs.h:402
static CC_FILE_SIZES FileSizes
Definition: newcc.h:3
LARGE_INTEGER FileSize
Definition: cctypes.h:16
smooth NULL
Definition: ftsmooth.c:416
void DPRINT(...)
Definition: polytest.cpp:61
LIST_ENTRY AssociatedBcb
Definition: newcc.h:29
_Inout_ PFILE_OBJECT FileObject
Definition: cdprocs.h:593
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
struct _LIST_ENTRY * Flink
Definition: typedefs.h:119
if(!(yy_init))
Definition: macro.lex.yy.c:714
ULONG LowPart
Definition: typedefs.h:104
LARGE_INTEGER ValidDataLength
Definition: cctypes.h:17
NTSTATUS NTAPI MmExtendCacheSection(PROS_SECTION_OBJECT Section, PLARGE_INTEGER NewSize, BOOLEAN ExtendFile)
Definition: data.c:758
CC_FILE_SIZES FileSizes
Definition: newcc.h:33
LARGE_INTEGER AllocationSize
Definition: cctypes.h:15
struct _NOCC_CACHE_MAP * PNOCC_CACHE_MAP

Referenced by _Requires_lock_held_(), CdCreateInternalStream(), delete_fileref_fcb(), Ext2Cleanup(), Ext2SetFileInformation(), Ext2SupersedeOrOverWriteFile(), Ext2WriteFile(), FatSetupAllocationSupport(), FFSSetInformation(), FFSWriteFile(), PerformTest(), RfsdCleanup(), RfsdSetInformation(), RfsdWriteFile(), RxCollapseOrCreateSrvOpen(), RxCommonWrite(), set_end_of_file_information(), set_valid_data_length_information(), SetAttributeDataLength(), TestIrpHandler(), UDFCommonCleanup(), UDFCommonCreate(), UDFCommonWrite(), UDFSetAllocationInformation(), UDFSetEOF(), UpdateFileSize(), and write_file2().

◆ CcSetFileSizesEx()

NTKERNELAPI NTSTATUS NTAPI CcSetFileSizesEx ( _In_ PFILE_OBJECT  FileObject,
_In_ PCC_FILE_SIZES  FileSizes 
)

◆ CcSetLogHandleForFile()

NTKERNELAPI VOID NTAPI CcSetLogHandleForFile ( _In_ PFILE_OBJECT  FileObject,
_In_ PVOID  LogHandle,
_In_ PFLUSH_TO_LSN  FlushToLsnRoutine 
)

◆ CcSetParallelFlushFile()

NTKERNELAPI VOID NTAPI CcSetParallelFlushFile ( _In_ PFILE_OBJECT  FileObject,
_In_ BOOLEAN  EnableParallelFlush 
)

◆ CcSetReadAheadGranularity()

NTKERNELAPI VOID NTAPI CcSetReadAheadGranularity ( _In_ PFILE_OBJECT  FileObject,
_In_ ULONG  Granularity 
)

◆ CcUninitializeCacheMap()

NTKERNELAPI BOOLEAN NTAPI CcUninitializeCacheMap ( _In_ PFILE_OBJECT  FileObject,
_In_opt_ PLARGE_INTEGER  TruncateSize,
_In_opt_ PCACHE_UNINITIALIZE_EVENT  UninitializeCompleteEvent 
)

◆ CcUnpinData()

NTKERNELAPI VOID NTAPI CcUnpinData ( _In_ PVOID  Bcb)

◆ CcUnpinDataForThread()

NTKERNELAPI VOID NTAPI CcUnpinDataForThread ( _In_ PVOID  Bcb,
_In_ ERESOURCE_THREAD  ResourceThreadId 
)

◆ CcUnpinRepinnedBcb()

NTKERNELAPI VOID NTAPI CcUnpinRepinnedBcb ( _In_ PVOID  Bcb,
_In_ BOOLEAN  WriteThrough,
_Out_ PIO_STATUS_BLOCK  IoStatus 
)

◆ CcWaitForCurrentLazyWriterActivity()

NTKERNELAPI NTSTATUS NTAPI CcWaitForCurrentLazyWriterActivity ( VOID  )

Definition at line 30 of file lazyrite.c.

31 {
32  //KeWaitForSingleObject(&CcpLazyWriteEvent, Executive, KernelMode, FALSE, NULL);
33  return STATUS_SUCCESS;
34 }
return STATUS_SUCCESS
Definition: btrfs.c:2938

Referenced by Ext2LockVolume(), FFSLockVolume(), invalidate_volumes(), PopGracefulShutdown(), and RfsdLockVolume().

◆ CcZeroData()

NTKERNELAPI BOOLEAN NTAPI CcZeroData ( _In_ PFILE_OBJECT  FileObject,
_In_ PLARGE_INTEGER  StartOffset,
_In_ PLARGE_INTEGER  EndOffset,
_In_ BOOLEAN  Wait 
)

Variable Documentation

◆ Bcb

Definition at line 329 of file ccfuncs.h.

◆ FileOffset

_In_ PLARGE_INTEGER FileOffset

Definition at line 329 of file ccfuncs.h.

◆ Flags

Definition at line 329 of file ccfuncs.h.

◆ Length

Definition at line 329 of file ccfuncs.h.