Searched refs:allocationBlock (Results 1 – 2 of 2) sorted by relevance
668 int allocationBlock; /* Current block being allocated off */ member769 int allocationBlock; /* Current block being allocated off */ member
1928 dev->allocationBlock = -1; /* force it to get a new one */ in yaffs_InitialiseBlocks()2259 if (dev->allocationBlock < 0) { in yaffs_AllocateChunk()2261 dev->allocationBlock = yaffs_FindBlockForAllocation(dev); in yaffs_AllocateChunk()2276 if (dev->allocationBlock >= 0) { in yaffs_AllocateChunk()2277 bi = yaffs_GetBlockInfo(dev, dev->allocationBlock); in yaffs_AllocateChunk()2279 retVal = (dev->allocationBlock * dev->nChunksPerBlock) + in yaffs_AllocateChunk()2282 yaffs_SetChunkBit(dev, dev->allocationBlock, in yaffs_AllocateChunk()2292 dev->allocationBlock = -1; in yaffs_AllocateChunk()2313 if (dev->allocationBlock > 0) { in yaffs_GetErasedChunks()3457 cp->allocationBlock = dev->allocationBlock; in yaffs_DeviceToCheckpointDevice()[all …]