Home
last modified time | relevance | path

Searched refs:nErasedBlocks (Results 1 – 4 of 4) sorted by relevance

/external/yaffs2/yaffs2/
Dyaffs_checkptrw.c25 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()
Dyaffs_guts.c2169 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 …]
Dyaffs_guts.h667 int nErasedBlocks; member
768 int nErasedBlocks; member
Dyaffs_fs.c1847 buf += sprintf(buf, "nErasedBlocks...... %d\n", dev->nErasedBlocks);