ReactOS  0.4.14-dev-376-gaedba84
fatdata.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FAT_SHIFT10000   13
 
#define FAT_SHIFT86400000   26
 
#define FatConvert100nsToMilliseconds(LARGE_INTEGER)
 
#define FatConvertMillisecondsToDays(LARGE_INTEGER)
 
#define FatConvertDaysToMilliseconds(DAYS)
 
#define FAT_RESERVE_MDL_SIZE   16
 
#define READ_AHEAD_GRANULARITY   (0x10000)
 
#define FAT_MAX_IO_RUNS_ON_STACK   ((ULONG) 5)
 
#define FAT_MAX_DELAYED_CLOSES   ((ULONG)16)
 
#define FAT_DEFAULT_DEFRAG_CHUNK_IN_BYTES   (0x10000)
 
#define TenMSec   (10*1000*10)
 
#define TwoSeconds   (2*1000*1000*10)
 
#define AlmostTenMSec   (TenMSec - 1)
 
#define AlmostTwoSeconds   (TwoSeconds - 1)
 
#define HighPartPerDay   (52734375 >> 18)
 
#define DebugTrace(INDENT, LEVEL, X, Y)   {NOTHING;}
 
#define DebugDump(STR, LEVEL, PTR)   {NOTHING;}
 
#define DebugUnwind(X)   {NOTHING;}
 
#define DebugDoit(X)   {NOTHING;}
 
#define TimerStart(LEVEL)
 
#define TimerStop(LEVEL, s)
 
#define FatNull   NULL
 
#define DbgDoit(X)   {NOTHING;}
 

Variables

FAT_DATA FatData
 
IO_STATUS_BLOCK FatGarbageIosb
 
NPAGED_LOOKASIDE_LIST FatIrpContextLookasideList
 
NPAGED_LOOKASIDE_LIST FatNonPagedFcbLookasideList
 
NPAGED_LOOKASIDE_LIST FatEResourceLookasideList
 
SLIST_HEADER FatCloseContextSList
 
FAST_MUTEX FatCloseQueueMutex
 
PDEVICE_OBJECT FatDiskFileSystemDeviceObject
 
PDEVICE_OBJECT FatCdromFileSystemDeviceObject
 
LARGE_INTEGER FatLargeZero
 
LARGE_INTEGER FatMaxLarge
 
LARGE_INTEGER Fat30Milliseconds
 
LARGE_INTEGER Fat100Milliseconds
 
LARGE_INTEGER FatOneSecond
 
LARGE_INTEGER FatOneDay
 
LARGE_INTEGER FatJanOne1980
 
LARGE_INTEGER FatDecThirtyOne1979
 
FAT_TIME_STAMP FatTimeJanOne1980
 
LARGE_INTEGER FatMagic10000
 
LARGE_INTEGER FatMagic86400000
 
__volatile PMDL FatReserveMdl
 
KEVENT FatReserveEvent
 
FAST_IO_DISPATCH FatFastIoDispatch
 
LOGICAL FatDiskAccountingEnabled
 
ULONG FatMaxDelayedCloseCount
 

Macro Definition Documentation

◆ AlmostTenMSec

#define AlmostTenMSec   (TenMSec - 1)

Definition at line 124 of file fatdata.h.

◆ AlmostTwoSeconds

#define AlmostTwoSeconds   (TwoSeconds - 1)

Definition at line 125 of file fatdata.h.

◆ DbgDoit

#define DbgDoit (   X)    {NOTHING;}

Definition at line 336 of file fatdata.h.

◆ DebugDoit

#define DebugDoit (   X)    {NOTHING;}

Definition at line 316 of file fatdata.h.

◆ DebugDump

#define DebugDump (   STR,
  LEVEL,
  PTR 
)    {NOTHING;}

Definition at line 314 of file fatdata.h.

◆ DebugTrace

#define DebugTrace (   INDENT,
  LEVEL,
  X,
  Y 
)    {NOTHING;}

Definition at line 313 of file fatdata.h.

◆ DebugUnwind

#define DebugUnwind (   X)    {NOTHING;}

Definition at line 315 of file fatdata.h.

◆ FAT_DEFAULT_DEFRAG_CHUNK_IN_BYTES

#define FAT_DEFAULT_DEFRAG_CHUNK_IN_BYTES   (0x10000)

Definition at line 116 of file fatdata.h.

◆ FAT_MAX_DELAYED_CLOSES

#define FAT_MAX_DELAYED_CLOSES   ((ULONG)16)

Definition at line 108 of file fatdata.h.

◆ FAT_MAX_IO_RUNS_ON_STACK

#define FAT_MAX_IO_RUNS_ON_STACK   ((ULONG) 5)

Definition at line 102 of file fatdata.h.

◆ FAT_RESERVE_MDL_SIZE

#define FAT_RESERVE_MDL_SIZE   16

Definition at line 70 of file fatdata.h.

◆ FAT_SHIFT10000

#define FAT_SHIFT10000   13

Definition at line 49 of file fatdata.h.

◆ FAT_SHIFT86400000

#define FAT_SHIFT86400000   26

Definition at line 52 of file fatdata.h.

◆ FatConvert100nsToMilliseconds

#define FatConvert100nsToMilliseconds (   LARGE_INTEGER)
Value:
( \
RtlExtendedMagicDivide( (LARGE_INTEGER), FatMagic10000, FAT_SHIFT10000 )\
)
LARGE_INTEGER FatMagic10000
Definition: fatdata.c:86
#define FAT_SHIFT10000
Definition: fatdata.h:49

Definition at line 54 of file fatdata.h.

◆ FatConvertDaysToMilliseconds

#define FatConvertDaysToMilliseconds (   DAYS)
Value:
( \
Int32x32To64( (DAYS), 86400000 ) \
)

Definition at line 62 of file fatdata.h.

◆ FatConvertMillisecondsToDays

#define FatConvertMillisecondsToDays (   LARGE_INTEGER)
Value:
( \
RtlExtendedMagicDivide( (LARGE_INTEGER), FatMagic86400000, FAT_SHIFT86400000 ) \
)
LARGE_INTEGER FatMagic86400000
Definition: fatdata.c:87
#define FAT_SHIFT86400000
Definition: fatdata.h:52

Definition at line 58 of file fatdata.h.

◆ FatNull

#define FatNull   NULL

Definition at line 321 of file fatdata.h.

◆ HighPartPerDay

#define HighPartPerDay   (52734375 >> 18)

Definition at line 129 of file fatdata.h.

◆ READ_AHEAD_GRANULARITY

#define READ_AHEAD_GRANULARITY   (0x10000)

Definition at line 95 of file fatdata.h.

◆ TenMSec

#define TenMSec   (10*1000*10)

Definition at line 122 of file fatdata.h.

◆ TimerStart

#define TimerStart (   LEVEL)

Definition at line 318 of file fatdata.h.

◆ TimerStop

#define TimerStop (   LEVEL,
  s 
)

Definition at line 319 of file fatdata.h.

◆ TwoSeconds

#define TwoSeconds   (2*1000*1000*10)

Definition at line 123 of file fatdata.h.

Variable Documentation

◆ Fat100Milliseconds

LARGE_INTEGER Fat100Milliseconds

Definition at line 71 of file fatdata.c.

◆ Fat30Milliseconds

LARGE_INTEGER Fat30Milliseconds

Definition at line 70 of file fatdata.c.

Referenced by FatPagingFileIo().

◆ FatCdromFileSystemDeviceObject

PDEVICE_OBJECT FatCdromFileSystemDeviceObject

Definition at line 59 of file fatdata.c.

Referenced by _Requires_lock_held_().

◆ FatCloseContextSList

SLIST_HEADER FatCloseContextSList

Definition at line 106 of file fatdata.c.

Referenced by FatAllocateCloseContext(), and FatPreallocateCloseContext().

◆ FatCloseQueueMutex

FAST_MUTEX FatCloseQueueMutex

Definition at line 112 of file fatdata.c.

◆ FatData

◆ FatDecThirtyOne1979

LARGE_INTEGER FatDecThirtyOne1979

Definition at line 74 of file fatdata.c.

◆ FatDiskAccountingEnabled

LOGICAL FatDiskAccountingEnabled

◆ FatDiskFileSystemDeviceObject

PDEVICE_OBJECT FatDiskFileSystemDeviceObject

Definition at line 58 of file fatdata.c.

Referenced by _Requires_lock_held_().

◆ FatEResourceLookasideList

NPAGED_LOOKASIDE_LIST FatEResourceLookasideList

Definition at line 104 of file fatdata.c.

Referenced by FatAllocateResource(), and FatFreeResource().

◆ FatFastIoDispatch

FAST_IO_DISPATCH FatFastIoDispatch

Definition at line 96 of file fatdata.c.

◆ FatGarbageIosb

IO_STATUS_BLOCK FatGarbageIosb

◆ FatIrpContextLookasideList

NPAGED_LOOKASIDE_LIST FatIrpContextLookasideList

Definition at line 102 of file fatdata.c.

Referenced by FatAllocateIrpContext(), and FatFreeIrpContext().

◆ FatJanOne1980

LARGE_INTEGER FatJanOne1980

◆ FatLargeZero

◆ FatMagic10000

LARGE_INTEGER FatMagic10000

Definition at line 86 of file fatdata.c.

◆ FatMagic86400000

LARGE_INTEGER FatMagic86400000

Definition at line 87 of file fatdata.c.

◆ FatMaxDelayedCloseCount

ULONG FatMaxDelayedCloseCount

Definition at line 31 of file close.c.

◆ FatMaxLarge

LARGE_INTEGER FatMaxLarge

Definition at line 63 of file fatdata.c.

Referenced by _Requires_lock_held_(), FatOpenEaFile(), and FatSetupAllocationSupport().

◆ FatNonPagedFcbLookasideList

NPAGED_LOOKASIDE_LIST FatNonPagedFcbLookasideList

Definition at line 103 of file fatdata.c.

Referenced by FatAllocateNonPagedFcb(), and FatFreeNonPagedFcb().

◆ FatOneDay

LARGE_INTEGER FatOneDay

Definition at line 72 of file fatdata.c.

◆ FatOneSecond

LARGE_INTEGER FatOneSecond

◆ FatReserveEvent

KEVENT FatReserveEvent

Definition at line 123 of file fatdata.c.

Referenced by FatPagingFileCompletionRoutineCatch(), and FatPagingFileIo().

◆ FatReserveMdl

__volatile PMDL FatReserveMdl

Definition at line 119 of file fatdata.c.

Referenced by FatPagingFileCompletionRoutineCatch(), and FatPagingFileIo().

◆ FatTimeJanOne1980

FAT_TIME_STAMP FatTimeJanOne1980

Definition at line 83 of file fatdata.c.