Searched refs:blockNumber (Results 1 – 12 of 12) sorted by relevance
/external/yaffs2/yaffs2/direct/ |
D | yaffs_ramem2k.c | 89 static void nandemul_ReallyEraseBlock(int blockNumber) in nandemul_ReallyEraseBlock() argument 95 if(blockNumber < 0 || blockNumber >= ned.nBlocks) in nandemul_ReallyEraseBlock() 100 blk = ned.block[blockNumber]; in nandemul_ReallyEraseBlock() 289 int nandemul2k_EraseBlockInNAND(yaffs_Device *dev, int blockNumber) in nandemul2k_EraseBlockInNAND() argument 293 if(blockNumber < 0 || blockNumber >= ned.nBlocks) in nandemul2k_EraseBlockInNAND() 295 T(YAFFS_TRACE_ALWAYS,("Attempt to erase non-existant block %d\n",blockNumber)); in nandemul2k_EraseBlockInNAND() 297 else if(ned.block[blockNumber]->damaged) in nandemul2k_EraseBlockInNAND() 299 T(YAFFS_TRACE_ALWAYS,("Attempt to erase damaged block %d\n",blockNumber)); in nandemul2k_EraseBlockInNAND() 303 nandemul_ReallyEraseBlock(blockNumber); in nandemul2k_EraseBlockInNAND()
|
D | yaffs_fileem.c | 179 int yflash_EraseBlockInNAND(yaffs_Device *dev, int blockNumber) in yflash_EraseBlockInNAND() argument 186 if(blockNumber < 0 || blockNumber >= filedisk.nBlocks) in yflash_EraseBlockInNAND() 188 T(YAFFS_TRACE_ALWAYS,("Attempt to erase non-existant block %d\n",blockNumber)); in yflash_EraseBlockInNAND() 198 lseek(filedisk.handle, blockNumber * 32 * 528, SEEK_SET); in yflash_EraseBlockInNAND()
|
D | yaffs_ramdisk.c | 206 int yramdisk_EraseBlockInNAND(yaffs_Device *dev, int blockNumber) in yramdisk_EraseBlockInNAND() argument 211 if(blockNumber < 0 || blockNumber >= ramdisk.nBlocks) in yramdisk_EraseBlockInNAND() 213 T(YAFFS_TRACE_ALWAYS,("Attempt to erase non-existant block %d\n",blockNumber)); in yramdisk_EraseBlockInNAND() 218 memset(ramdisk.block[blockNumber],0xFF,sizeof(yramdisk_Block)); in yramdisk_EraseBlockInNAND()
|
D | yaffs_ramdisk.h | 25 int yramdisk_EraseBlockInNAND(yaffs_Device *dev, int blockNumber); 28 int yramdisk_EraseBlockInNAND(yaffs_Device *dev, int blockNumber); 30 int yramdisk_MarkNANDBlockBad(yaffs_Device *dev,int blockNumber);
|
D | yaffs_flashif.c | 199 int yflash_EraseBlockInNAND(yaffs_Device *dev, int blockNumber) in yflash_EraseBlockInNAND() argument 204 if(blockNumber < 0 || blockNumber >= ramdisk.nBlocks) in yflash_EraseBlockInNAND() 206 T(YAFFS_TRACE_ALWAYS,("Attempt to erase non-existant block %d\n",blockNumber)); in yflash_EraseBlockInNAND() 211 memset(ramdisk.block[blockNumber],0xFF,sizeof(yflash_Block)); in yflash_EraseBlockInNAND()
|
D | yaffs_fileem2k.c | 299 int yflash_EraseBlockInNAND(yaffs_Device *dev, int blockNumber) in yflash_EraseBlockInNAND() argument 307 if(blockNumber == 320) in yflash_EraseBlockInNAND() 310 if(blockNumber < 0 || blockNumber >= filedisk.nBlocks) in yflash_EraseBlockInNAND() 312 T(YAFFS_TRACE_ALWAYS,("Attempt to erase non-existant block %d\n",blockNumber)); in yflash_EraseBlockInNAND() 325 h = filedisk.handle[(blockNumber / ( BLOCKS_PER_HANDLE))]; in yflash_EraseBlockInNAND() 326 lseek(h,((blockNumber % BLOCKS_PER_HANDLE) * dev->nChunksPerBlock) * PAGE_SIZE,SEEK_SET); in yflash_EraseBlockInNAND()
|
D | yaffs_flashif.h | 25 int yflash_EraseBlockInNAND(yaffs_Device *dev, int blockNumber); 30 int yflash_EraseBlockInNAND(yaffs_Device *dev, int blockNumber);
|
/external/yaffs2/yaffs2/ |
D | yaffs_mtdif.h | 29 int nandmtd_EraseBlockInNAND(yaffs_Device * dev, int blockNumber);
|
D | yaffs_mtdif.c | 208 int nandmtd_EraseBlockInNAND(yaffs_Device * dev, int blockNumber) in nandmtd_EraseBlockInNAND() argument 212 ((loff_t) blockNumber) * dev->nDataBytesPerChunk in nandmtd_EraseBlockInNAND()
|
/external/yaffs2/yaffs2/mtdemul/ |
D | nandemul2k.c | 130 static void nandemul2k_DoErase(int blockNumber) in nandemul2k_DoErase() argument 136 if(blockNumber < 0 || blockNumber >= ned.nBlocks) in nandemul2k_DoErase() 141 blk = ned.block[blockNumber]; in nandemul2k_DoErase()
|
/external/aac/libAACdec/src/ |
D | aacdecoder.h | 165 …INT blockNumber; /*!< frame counter … member
|
D | aacdecoder.cpp | 1723 self->blockNumber++; in CAacDecoder_DecodeFrame()
|