Searched refs:nReservedBlocks (Results 1 – 6 of 6) sorted by relevance
90 ramDev.nReservedBlocks = 2; // Set this smaller for RAM in yaffs_StartUp()105 bootDev.nReservedBlocks = 5; in yaffs_StartUp()128 flashDev.nReservedBlocks = 5; in yaffs_StartUp()154 ram2kDev.nReservedBlocks = 5; in yaffs_StartUp()
76 ramDev.nReservedBlocks = 2; // Set this smaller for RAM in yaffs_StartUp()90 bootDev.nReservedBlocks = 5; in yaffs_StartUp()104 flashDev.nReservedBlocks = 5; in yaffs_StartUp()
25 int blocksAvailable = dev->nErasedBlocks - dev->nReservedBlocks; in yaffs_CheckpointSpaceOk()73 int blocksAvailable = dev->nErasedBlocks - dev->nReservedBlocks; in yaffs_CheckpointFindNextErasedBlock()
535 int nReservedBlocks; /* We want this tuneable so that we can reduce */ member
2242 int reservedBlocks = dev->nReservedBlocks; in yaffs_CheckSpaceForAllocation()2270 if (dev->nErasedBlocks < dev->nReservedBlocks in yaffs_AllocateChunk()2559 if (dev->nErasedBlocks < (dev->nReservedBlocks + checkpointBlockAdjust)) { in yaffs_CheckGarbageCollection()2583 if (dev->nErasedBlocks < (dev->nReservedBlocks) && block > 0) { in yaffs_CheckGarbageCollection()2589 } while ((dev->nErasedBlocks < dev->nReservedBlocks) && (block > 0) in yaffs_CheckGarbageCollection()6275 dev->nReservedBlocks < 2 || in yaffs_GutsInitialise()6278 …dev->internalEndBlock <= (dev->internalStartBlock + dev->nReservedBlocks + 2) // otherwise it is t… in yaffs_GutsInitialise()6584 nFree -= ((dev->nReservedBlocks + 1) * dev->nChunksPerBlock); in yaffs_GetNumberOfFreeChunks()
1643 dev->nReservedBlocks = 5;