Lines Matching refs:nBlocks
1926 int nBlocks = dev->internalEndBlock - dev->internalStartBlock + 1;
1931 dev->blockInfo = YMALLOC(nBlocks * sizeof(yaffs_BlockInfo));
1933 dev->blockInfo = YMALLOC_ALT(nBlocks * sizeof(yaffs_BlockInfo));
1941 dev->chunkBits = YMALLOC(dev->chunkBitmapStride * nBlocks);
1943 dev->chunkBits = YMALLOC_ALT(dev->chunkBitmapStride * nBlocks);
1950 memset(dev->blockInfo, 0, nBlocks * sizeof(yaffs_BlockInfo));
1951 memset(dev->chunkBits, 0, dev->chunkBitmapStride * nBlocks);
3489 __u32 nBlocks = (dev->internalEndBlock - dev->internalStartBlock + 1);
3501 nBytes = nBlocks * sizeof(yaffs_BlockInfo);
3507 nBytes = nBlocks * dev->chunkBitmapStride;
3518 __u32 nBlocks = (dev->internalEndBlock - dev->internalStartBlock + 1);
3532 nBytes = nBlocks * sizeof(yaffs_BlockInfo);
3538 nBytes = nBlocks * dev->chunkBitmapStride;
4666 int nBlocks = dev->internalEndBlock - dev->internalStartBlock + 1;
4689 blockIndex = YMALLOC(nBlocks * sizeof(yaffs_BlockIndex));
5198 int nBlocks = dev->internalEndBlock - dev->internalStartBlock + 1;
5225 blockIndex = YMALLOC(nBlocks * sizeof(yaffs_BlockIndex));
5228 blockIndex = YMALLOC_ALT(nBlocks * sizeof(yaffs_BlockIndex));