ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

cacheman.c
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:       See COPYING in the top level directory
00003  * PROJECT:         ReactOS kernel
00004  * FILE:            ntoskrnl/cc/cacheman.c
00005  * PURPOSE:         Cache manager
00006  *
00007  * PROGRAMMERS:     David Welch (welch@cwcom.net)
00008  */
00009 
00010 /* INCLUDES *****************************************************************/
00011 
00012 #include <ntoskrnl.h>
00013 #define NDEBUG
00014 #include <debug.h>
00015 
00016 PFSN_PREFETCHER_GLOBALS CcPfGlobals;
00017 
00018 /* FUNCTIONS *****************************************************************/
00019 
00020 VOID
00021 NTAPI
00022 INIT_FUNCTION
00023 CcPfInitializePrefetcher(VOID)
00024 {
00025     /* Notify debugger */
00026     DbgPrintEx(DPFLTR_PREFETCHER_ID,
00027                DPFLTR_TRACE_LEVEL,
00028                "CCPF: InitializePrefetecher()\n");
00029 
00030     /* Setup the Prefetcher Data */
00031     InitializeListHead(&CcPfGlobals.ActiveTraces);
00032     InitializeListHead(&CcPfGlobals.CompletedTraces);
00033     ExInitializeFastMutex(&CcPfGlobals.CompletedTracesLock);
00034 
00035     /* FIXME: Setup the rest of the prefetecher */
00036 }
00037 
00038 BOOLEAN
00039 NTAPI
00040 INIT_FUNCTION
00041 CcInitializeCacheManager(VOID)
00042 {
00043     CcInitView();
00044     return TRUE;
00045 }
00046 
00047 /*
00048  * @unimplemented
00049  */
00050 LARGE_INTEGER
00051 NTAPI
00052 CcGetFlushedValidData (
00053     IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
00054     IN BOOLEAN BcbListHeld
00055     )
00056 {
00057     LARGE_INTEGER i;
00058 
00059     UNIMPLEMENTED;
00060 
00061     i.QuadPart = 0;
00062     return i;
00063 }
00064 
00065 /*
00066  * @unimplemented
00067  */
00068 PVOID
00069 NTAPI
00070 CcRemapBcb (
00071     IN PVOID Bcb
00072     )
00073 {
00074     UNIMPLEMENTED;
00075 
00076     return 0;
00077 }
00078 
00079 /*
00080  * @unimplemented
00081  */
00082 VOID
00083 NTAPI
00084 CcScheduleReadAhead (
00085     IN  PFILE_OBJECT        FileObject,
00086     IN  PLARGE_INTEGER      FileOffset,
00087     IN  ULONG           Length
00088     )
00089 {
00090     UNIMPLEMENTED;
00091 }
00092 
00093 /*
00094  * @unimplemented
00095  */
00096 VOID
00097 NTAPI
00098 CcSetAdditionalCacheAttributes (
00099     IN  PFILE_OBJECT    FileObject,
00100     IN  BOOLEAN     DisableReadAhead,
00101     IN  BOOLEAN     DisableWriteBehind
00102     )
00103 {
00104     UNIMPLEMENTED;
00105 }
00106 
00107 /*
00108  * @unimplemented
00109  */
00110 VOID
00111 NTAPI
00112 CcSetBcbOwnerPointer (
00113     IN  PVOID   Bcb,
00114     IN  PVOID   Owner
00115     )
00116 {
00117     UNIMPLEMENTED;
00118 }
00119 
00120 /*
00121  * @unimplemented
00122  */
00123 VOID
00124 NTAPI
00125 CcSetDirtyPageThreshold (
00126     IN  PFILE_OBJECT    FileObject,
00127     IN  ULONG       DirtyPageThreshold
00128     )
00129 {
00130     UNIMPLEMENTED;
00131 }
00132 
00133 /*
00134  * @unimplemented
00135  */
00136 VOID
00137 NTAPI
00138 CcSetReadAheadGranularity (
00139     IN  PFILE_OBJECT    FileObject,
00140     IN  ULONG       Granularity
00141     )
00142 {
00143     UNIMPLEMENTED;
00144 }

Generated on Sat May 26 2012 04:35:56 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.