|
ReactOS 0.4.17-dev-1190-g4c812f4
|
#include "fatprocs.h"
Go to the source code of this file.
Functions | |
| VOID | FatLookupFatEntry (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb, IN ULONG FatIndex, IN OUT PULONG FatEntry, IN OUT PFAT_ENUMERATION_CONTEXT Context) |
| VOID | FatSetFatRun (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb, IN ULONG StartingFatIndex, IN ULONG ClusterCount, IN BOOLEAN ChainTogether) |
| UCHAR | FatLogOf (IN ULONG Value) |
| INLINE ULONG | FatSelectBestWindow (IN PVCB Vcb) |
| VOID | FatSetupAllocationSupport (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb) |
| VOID | FatTearDownAllocationSupport (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb) |
| _Requires_lock_held_ (_Global_critical_region_) | |
| CLUSTER_TYPE | FatInterpretClusterType (IN PVCB Vcb, IN FAT_ENTRY Entry) |
| VOID | FatExamineFatEntries (IN PIRP_CONTEXT IrpContext, IN PVCB Vcb, IN ULONG StartIndex OPTIONAL, IN ULONG EndIndex OPTIONAL, IN BOOLEAN SetupWindows, IN PFAT_WINDOW SwitchToWindow OPTIONAL, IN PULONG BitMapBuffer OPTIONAL) |
Definition at line 83 of file allocsup.c.
| #define BugCheckFileId (FAT_BUG_CHECK_ALLOCSUP) |
Definition at line 22 of file allocsup.c.
| #define COUNTSAVEDBCBS ((MAXCOUNTCLUS * sizeof(FAT_ENTRY) / PAGE_SIZE) + 2) |
| #define Dbg (DEBUG_TRACE_ALLOCSUP) |
Definition at line 28 of file allocsup.c.
| #define FAT_PREFETCH_PAGE_COUNT 0x100 |
Definition at line 36 of file allocsup.c.
| #define FatAllocateClusters | ( | IRPCONTEXT, | |
| VCB, | |||
| FAT_INDEX, | |||
| CLUSTER_COUNT | |||
| ) |
Definition at line 158 of file allocsup.c.
| #define FatFindFreeClusterRun | ( | IRPCONTEXT, | |
| VCB, | |||
| CLUSTER_COUNT, | |||
| CLUSTER_HINT | |||
| ) |
Definition at line 229 of file allocsup.c.
| #define FatFreeClusters | ( | IRPCONTEXT, | |
| VCB, | |||
| FAT_INDEX, | |||
| CLUSTER_COUNT | |||
| ) |
Definition at line 140 of file allocsup.c.
| #define FatIsClusterFree | ( | IRPCONTEXT, | |
| VCB, | |||
| FAT_INDEX | |||
| ) | (RtlCheckBit(&(VCB)->FreeClusterBitMap,(FAT_INDEX)-2) == 0) |
Definition at line 127 of file allocsup.c.
Definition at line 99 of file allocsup.c.
| #define FatReserveClusters | ( | IRPCONTEXT, | |
| VCB, | |||
| FAT_INDEX, | |||
| CLUSTER_COUNT | |||
| ) |
Definition at line 197 of file allocsup.c.
Definition at line 112 of file allocsup.c.
| #define FatUnreserveClusters | ( | IRPCONTEXT, | |
| VCB, | |||
| FAT_INDEX, | |||
| CLUSTER_COUNT | |||
| ) |
Definition at line 176 of file allocsup.c.
| #define FatWindowOfCluster | ( | C | ) | (((C) - 2) / MAX_CLUSTER_BITMAP_SIZE) |
Definition at line 253 of file allocsup.c.
| #define MAX_CLUSTER_BITMAP_SIZE (1 << 16) |
Definition at line 247 of file allocsup.c.
| #define MAX_ZERO_MDL_SIZE (1*1024*1024) |
Definition at line 2602 of file allocsup.c.
| #define MAXCOUNTCLUS 0x10000 |
| _Requires_lock_held_ | ( | _Global_critical_region_ | ) |
Definition at line 617 of file allocsup.c.
| VOID FatExamineFatEntries | ( | IN PIRP_CONTEXT | IrpContext, |
| IN PVCB | Vcb, | ||
| IN ULONG StartIndex | OPTIONAL, | ||
| IN ULONG EndIndex | OPTIONAL, | ||
| IN BOOLEAN | SetupWindows, | ||
| IN PFAT_WINDOW SwitchToWindow | OPTIONAL, | ||
| IN PULONG BitMapBuffer | OPTIONAL | ||
| ) |
Definition at line 4720 of file allocsup.c.
Referenced by FatSetupAllocationSupport().
| CLUSTER_TYPE FatInterpretClusterType | ( | IN PVCB | Vcb, |
| IN FAT_ENTRY | Entry | ||
| ) |
Definition at line 3473 of file allocsup.c.
Referenced by _Requires_lock_held_(), and FatExamineFatEntries().
Definition at line 4655 of file allocsup.c.
Referenced by FatSetupAllocationSupport().
| VOID FatLookupFatEntry | ( | IN PIRP_CONTEXT | IrpContext, |
| IN PVCB | Vcb, | ||
| IN ULONG | FatIndex, | ||
| IN OUT PULONG | FatEntry, | ||
| IN OUT PFAT_ENUMERATION_CONTEXT | Context | ||
| ) |
Definition at line 3565 of file allocsup.c.
Referenced by _Requires_lock_held_().
Definition at line 279 of file allocsup.c.
Referenced by FatSetupAllocationSupport().
| VOID FatSetFatRun | ( | IN PIRP_CONTEXT | IrpContext, |
| IN PVCB | Vcb, | ||
| IN ULONG | StartingFatIndex, | ||
| IN ULONG | ClusterCount, | ||
| IN BOOLEAN | ChainTogether | ||
| ) |
Definition at line 4139 of file allocsup.c.
Referenced by FatSetFatRun().
| VOID FatSetupAllocationSupport | ( | IN PIRP_CONTEXT | IrpContext, |
| IN PVCB | Vcb | ||
| ) |
Definition at line 359 of file allocsup.c.
Referenced by FatSetupAllocationSupport().
| VOID FatTearDownAllocationSupport | ( | IN PIRP_CONTEXT | IrpContext, |
| IN PVCB | Vcb | ||
| ) |
Definition at line 549 of file allocsup.c.
Referenced by FatDeleteVcb(), and FatSetupAllocationSupport().