Home
last modified time | relevance | path

Searched refs:nReservedBlocks (Results 1 – 6 of 6) sorted by relevance

/external/yaffs2/yaffs2/direct/
Dyaffscfg2k.c90 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()
Dyaffscfg.c76 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()
/external/yaffs2/yaffs2/
Dyaffs_checkptrw.c25 int blocksAvailable = dev->nErasedBlocks - dev->nReservedBlocks; in yaffs_CheckpointSpaceOk()
73 int blocksAvailable = dev->nErasedBlocks - dev->nReservedBlocks; in yaffs_CheckpointFindNextErasedBlock()
Dyaffs_guts.h535 int nReservedBlocks; /* We want this tuneable so that we can reduce */ member
Dyaffs_guts.c2242 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()
Dyaffs_fs.c1643 dev->nReservedBlocks = 5;