ReactOS 0.4.16-dev-258-g81860b4
|
Go to the source code of this file.
Classes | |
struct | CACHE_BLOCK |
struct | CACHE_DRIVE |
Macros | |
#define | TAG_CACHE_DATA 'DcaC' |
#define | TAG_CACHE_BLOCK 'BcaC' |
Typedefs | |
typedef struct CACHE_BLOCK * | PCACHE_BLOCK |
typedef struct CACHE_DRIVE * | PCACHE_DRIVE |
Functions | |
PCACHE_BLOCK | CacheInternalGetBlockPointer (PCACHE_DRIVE CacheDrive, ULONG BlockNumber) |
PCACHE_BLOCK | CacheInternalFindBlock (PCACHE_DRIVE CacheDrive, ULONG BlockNumber) |
PCACHE_BLOCK | CacheInternalAddBlockToCache (PCACHE_DRIVE CacheDrive, ULONG BlockNumber) |
BOOLEAN | CacheInternalFreeBlock (PCACHE_DRIVE CacheDrive) |
VOID | CacheInternalCheckCacheSizeLimits (PCACHE_DRIVE CacheDrive) |
VOID | CacheInternalDumpBlockList (PCACHE_DRIVE CacheDrive) |
VOID | CacheInternalOptimizeBlockList (PCACHE_DRIVE CacheDrive, PCACHE_BLOCK CacheBlock) |
BOOLEAN | CacheInitializeDrive (UCHAR DriveNumber) |
VOID | CacheInvalidateCacheData (VOID) |
BOOLEAN | CacheReadDiskSectors (UCHAR DiskNumber, ULONGLONG StartSector, ULONG SectorCount, PVOID Buffer) |
BOOLEAN | CacheForceDiskSectorsIntoCache (UCHAR DiskNumber, ULONGLONG StartSector, ULONG SectorCount) |
BOOLEAN | CacheReleaseMemory (ULONG MinimumAmountToRelease) |
Variables | |
CACHE_DRIVE | CacheManagerDrive |
BOOLEAN | CacheManagerInitialized |
ULONG | CacheBlockCount |
SIZE_T | CacheSizeLimit |
SIZE_T | CacheSizeCurrent |
typedef struct CACHE_BLOCK * PCACHE_BLOCK |
typedef struct CACHE_DRIVE * PCACHE_DRIVE |
BOOLEAN CacheForceDiskSectorsIntoCache | ( | UCHAR | DiskNumber, |
ULONGLONG | StartSector, | ||
ULONG | SectorCount | ||
) |
Definition at line 37 of file cache.c.
Referenced by Ext2OpenVolume().
PCACHE_BLOCK CacheInternalAddBlockToCache | ( | PCACHE_DRIVE | CacheDrive, |
ULONG | BlockNumber | ||
) |
Definition at line 91 of file blocklist.c.
Referenced by CacheInternalGetBlockPointer().
VOID CacheInternalCheckCacheSizeLimits | ( | PCACHE_DRIVE | CacheDrive | ) |
Definition at line 177 of file blocklist.c.
Referenced by CacheInternalAddBlockToCache().
VOID CacheInternalDumpBlockList | ( | PCACHE_DRIVE | CacheDrive | ) |
Definition at line 194 of file blocklist.c.
Referenced by CacheInternalAddBlockToCache(), and CacheInternalCheckCacheSizeLimits().
PCACHE_BLOCK CacheInternalFindBlock | ( | PCACHE_DRIVE | CacheDrive, |
ULONG | BlockNumber | ||
) |
Definition at line 53 of file blocklist.c.
Referenced by CacheInternalGetBlockPointer().
BOOLEAN CacheInternalFreeBlock | ( | PCACHE_DRIVE | CacheDrive | ) |
Definition at line 142 of file blocklist.c.
Referenced by CacheInternalCheckCacheSizeLimits(), and CacheReleaseMemory().
PCACHE_BLOCK CacheInternalGetBlockPointer | ( | PCACHE_DRIVE | CacheDrive, |
ULONG | BlockNumber | ||
) |
Definition at line 28 of file blocklist.c.
Referenced by CacheReadDiskSectors().
VOID CacheInternalOptimizeBlockList | ( | PCACHE_DRIVE | CacheDrive, |
PCACHE_BLOCK | CacheBlock | ||
) |
Definition at line 223 of file blocklist.c.
Referenced by CacheInternalGetBlockPointer().
BOOLEAN CacheReadDiskSectors | ( | UCHAR | DiskNumber, |
ULONGLONG | StartSector, | ||
ULONG | SectorCount, | ||
PVOID | Buffer | ||
) |
Definition at line 113 of file cache.c.
Referenced by Ext2ReadVolumeSectors().
Definition at line 293 of file cache.c.
|
extern |
Definition at line 33 of file cache.c.
Referenced by CacheInitializeDrive(), CacheInternalAddBlockToCache(), CacheInternalCheckCacheSizeLimits(), CacheInternalDumpBlockList(), and CacheInternalFreeBlock().
|
extern |
Definition at line 30 of file cache.c.
Referenced by CacheInitializeDrive(), CacheReadDiskSectors(), and CacheReleaseMemory().
|
extern |
Definition at line 31 of file cache.c.
Referenced by CacheInitializeDrive(), CacheReadDiskSectors(), and CacheReleaseMemory().
|
extern |
Definition at line 35 of file cache.c.
Referenced by CacheInitializeDrive(), CacheInternalAddBlockToCache(), CacheInternalDumpBlockList(), and CacheInternalFreeBlock().
|
extern |
Definition at line 34 of file cache.c.
Referenced by CacheInitializeDrive(), CacheInternalCheckCacheSizeLimits(), and CacheInternalDumpBlockList().