Home
last modified time | relevance | path

Searched refs:blocksInCheckpoint (Results 1 – 3 of 3) sorted by relevance

/external/yaffs2/yaffs2/
Dyaffs_checkptrw.c64 dev->blocksInCheckpoint = 0; in yaffs_CheckpointErase()
100 if(dev->blocksInCheckpoint < dev->checkpointMaxBlocks) in yaffs_CheckpointFindNextCheckpointBlock()
110 dev->checkpointBlockList[dev->blocksInCheckpoint] = i; in yaffs_CheckpointFindNextCheckpointBlock()
111 dev->blocksInCheckpoint++; in yaffs_CheckpointFindNextCheckpointBlock()
165 dev->blocksInCheckpoint = 0; in yaffs_CheckpointOpen()
200 dev->blocksInCheckpoint++; in yaffs_CheckpointFlushBuffer()
323 for(i = 0; i < dev->blocksInCheckpoint && dev->checkpointBlockList[i] >= 0; i++){ in yaffs_CheckpointClose()
335 dev->nFreeChunks -= dev->blocksInCheckpoint * dev->nChunksPerBlock; in yaffs_CheckpointClose()
336 dev->nErasedBlocks -= dev->blocksInCheckpoint; in yaffs_CheckpointClose()
Dyaffs_guts.h651 int blocksInCheckpoint; member
Dyaffs_guts.c2245 checkpointBlocks = dev->nCheckpointReservedBlocks - dev->blocksInCheckpoint; in yaffs_CheckSpaceForAllocation()
2555 checkpointBlockAdjust = (dev->nCheckpointReservedBlocks - dev->blocksInCheckpoint); in yaffs_CheckGarbageCollection()
3837 dev->blocksInCheckpoint > 0){ in yaffs_InvalidateCheckpoint()
6587 blocksForCheckpoint = dev->nCheckpointReservedBlocks - dev->blocksInCheckpoint; in yaffs_GetNumberOfFreeChunks()