Searched refs:checkpointBlockAdjust (Results 1 – 1 of 1) sorted by relevance
2541 int checkpointBlockAdjust; in yaffs_CheckGarbageCollection() local2555 checkpointBlockAdjust = (dev->nCheckpointReservedBlocks - dev->blocksInCheckpoint); in yaffs_CheckGarbageCollection()2556 if(checkpointBlockAdjust < 0) in yaffs_CheckGarbageCollection()2557 checkpointBlockAdjust = 0; in yaffs_CheckGarbageCollection()2559 if (dev->nErasedBlocks < (dev->nReservedBlocks + checkpointBlockAdjust)) { in yaffs_CheckGarbageCollection()