// Increment the blocks access count
//
CacheBlock->AccessCount++;
-
return CacheBlock;
}
// so just return
if (CacheBlockToFree == NULL)
{
+ printf("[cached] all cache blocks locked\n");
return FALSE;
}
VOID CacheInternalDumpBlockList(PCACHE_DRIVE CacheDrive)
{
+#if 0
PCACHE_BLOCK CacheBlock;
DbgPrint((DPRINT_CACHE, "Dumping block list for BIOS drive 0x%x.\n", CacheDrive->DriveNumber));
CacheBlock = (PCACHE_BLOCK)RtlListGetNext((PLIST_ITEM)CacheBlock);
}
+#endif
}
VOID CacheInternalOptimizeBlockList(PCACHE_DRIVE CacheDrive, PCACHE_BLOCK CacheBlock)