ReactOS  0.4.13-dev-73-gcfe54aa
logsup.c File Reference
#include <ntoskrnl.h>
#include "newcc.h"
#include <debug.h>
Include dependency graph for logsup.c:

Go to the source code of this file.

Functions

VOID NTAPI CcSetAdditionalCacheAttributes (IN PFILE_OBJECT FileObject, IN BOOLEAN DisableReadAhead, IN BOOLEAN DisableWriteBehind)
 
VOID NTAPI CcSetLogHandleForFile (IN PFILE_OBJECT FileObject, IN PVOID LogHandle, IN PFLUSH_TO_LSN FlushToLsnRoutine)
 
LARGE_INTEGER NTAPI CcGetDirtyPages (IN PVOID LogHandle, IN PDIRTY_PAGE_ROUTINE DirtyPageRoutine, IN PVOID Context1, IN PVOID Context2)
 
BOOLEAN NTAPI CcIsThereDirtyData (IN PVPB Vpb)
 
LARGE_INTEGER NTAPI CcGetLsnForFileObject (IN PFILE_OBJECT FileObject, OUT OPTIONAL PLARGE_INTEGER OldestLsn)
 

Function Documentation

◆ CcGetDirtyPages()

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

Definition at line 43 of file logsup.c.

47 {
48  LARGE_INTEGER Result = {{0}};
50  return Result;
51 }
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ CcGetLsnForFileObject()

LARGE_INTEGER NTAPI CcGetLsnForFileObject ( IN PFILE_OBJECT  FileObject,
OUT OPTIONAL PLARGE_INTEGER OldestLsn   
)

Definition at line 63 of file logsup.c.

65 {
66  LARGE_INTEGER Result = {{0}};
68  return Result;
69 }
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ CcIsThereDirtyData()

BOOLEAN NTAPI CcIsThereDirtyData ( IN PVPB  Vpb)

Definition at line 55 of file logsup.c.

56 {
58  return FALSE;
59 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

Referenced by FatCleanVolumeDpc().

◆ CcSetAdditionalCacheAttributes()

VOID NTAPI CcSetAdditionalCacheAttributes ( IN PFILE_OBJECT  FileObject,
IN BOOLEAN  DisableReadAhead,
IN BOOLEAN  DisableWriteBehind 
)

Definition at line 22 of file logsup.c.

25 {
27 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

Referenced by FatOpenEaFile(), PerformTest(), and RxCommonRead().

◆ CcSetLogHandleForFile()

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

Definition at line 31 of file logsup.c.

34 {
35  PNOCC_CACHE_MAP Map = FileObject->SectionObjectPointer->SharedCacheMap;
36  if (!Map) return;
37  Map->LogHandle = LogHandle;
38  Map->FlushToLsn = FlushToLsnRoutine;
39 }
_Inout_ PFILE_OBJECT FileObject
Definition: cdprocs.h:593
PVOID LogHandle
Definition: newcc.h:36
_In_ UINT _Out_ PNDIS_HANDLE LogHandle
Definition: ndis.h:5363
PFLUSH_TO_LSN FlushToLsn
Definition: newcc.h:37