Searched refs:nErasedBlocks (Results 1 – 4 of 4) sorted by relevance
25 int blocksAvailable = dev->nErasedBlocks - dev->nReservedBlocks; in yaffs_CheckpointSpaceOk()54 dev->nErasedBlocks++; in yaffs_CheckpointErase()73 int blocksAvailable = dev->nErasedBlocks - dev->nReservedBlocks; in yaffs_CheckpointFindNextErasedBlock()336 dev->nErasedBlocks -= dev->blocksInCheckpoint; in yaffs_CheckpointClose()
2169 dev->nErasedBlocks++; in yaffs_BlockBecameDirty()2194 if (dev->nErasedBlocks < 1) { in yaffs_FindBlockForAllocation()2219 dev->nErasedBlocks--; in yaffs_FindBlockForAllocation()2223 dev->nErasedBlocks)); in yaffs_FindBlockForAllocation()2231 TENDSTR), dev->nErasedBlocks)); in yaffs_FindBlockForAllocation()2270 if (dev->nErasedBlocks < dev->nReservedBlocks in yaffs_AllocateChunk()2311 n = dev->nErasedBlocks * dev->nChunksPerBlock; in yaffs_GetErasedChunks()2559 if (dev->nErasedBlocks < (dev->nReservedBlocks + checkpointBlockAdjust)) { in yaffs_CheckGarbageCollection()2578 dev->nErasedBlocks, aggressive)); in yaffs_CheckGarbageCollection()2583 if (dev->nErasedBlocks < (dev->nReservedBlocks) && block > 0) { in yaffs_CheckGarbageCollection()[all …]
667 int nErasedBlocks; member768 int nErasedBlocks; member
1847 buf += sprintf(buf, "nErasedBlocks...... %d\n", dev->nErasedBlocks);