/external/yaffs2/yaffs2/ |
D | yaffs_nand.c | 88 int yaffs_MarkBlockBad(yaffs_Device * dev, int blockNo) in yaffs_MarkBlockBad() argument 90 blockNo -= dev->blockOffset; in yaffs_MarkBlockBad() 94 return dev->markNANDBlockBad(dev, blockNo); in yaffs_MarkBlockBad() 96 return yaffs_TagsCompatabilityMarkNANDBlockBad(dev, blockNo); in yaffs_MarkBlockBad() 100 int blockNo, in yaffs_QueryInitialBlockState() argument 104 blockNo -= dev->blockOffset; in yaffs_QueryInitialBlockState() 107 return dev->queryNANDBlock(dev, blockNo, state, sequenceNumber); in yaffs_QueryInitialBlockState() 109 return yaffs_TagsCompatabilityQueryNANDBlock(dev, blockNo, in yaffs_QueryInitialBlockState()
|
D | yaffs_mtdif2.c | 251 int nandmtd2_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo) 256 (TSTR("nandmtd2_MarkNANDBlockBad %d" TENDSTR), blockNo)); 260 blockNo * dev->nChunksPerBlock * 270 int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, 277 (TSTR("nandmtd2_QueryNANDBlock %d" TENDSTR), blockNo)); 280 blockNo * dev->nChunksPerBlock * 291 blockNo *
|
D | yaffs_mtdif2.h | 25 int nandmtd2_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo); 26 int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
|
D | yaffs_tagscompat.h | 35 int blockNo); 37 int blockNo, yaffs_BlockState *
|
D | yaffs_nand.h | 30 int yaffs_MarkBlockBad(yaffs_Device * dev, int blockNo); 33 int blockNo,
|
D | yaffs_nandemul2k.h | 32 int nandemul2k_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo); 33 int nandemul2k_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
|
D | yaffs_tagscompat.c | 502 int blockNo, yaffs_BlockState * in yaffs_TagsCompatabilityQueryNANDBlock() argument 519 yaffs_ReadChunkFromNAND(dev, blockNo * dev->nChunksPerBlock, NULL, in yaffs_TagsCompatabilityQueryNANDBlock() 521 yaffs_ReadChunkFromNAND(dev, blockNo * dev->nChunksPerBlock + 1, NULL, in yaffs_TagsCompatabilityQueryNANDBlock()
|
D | yaffs_guts.h | 582 int (*markNANDBlockBad) (struct yaffs_DeviceStruct * dev, int blockNo); 583 int (*queryNANDBlock) (struct yaffs_DeviceStruct * dev, int blockNo,
|
D | yaffs_guts.c | 80 static yaffs_BlockInfo *yaffs_GetBlockInfo(yaffs_Device * dev, int blockNo); 2132 static void yaffs_BlockBecameDirty(yaffs_Device * dev, int blockNo) in yaffs_BlockBecameDirty() argument 2134 yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev, blockNo); in yaffs_BlockBecameDirty() 2145 erasedOk = yaffs_EraseBlockInNAND(dev, blockNo); in yaffs_BlockBecameDirty() 2149 (TSTR("**>> Erasure failed %d" TENDSTR), blockNo)); in yaffs_BlockBecameDirty() 2157 (dev, blockNo * dev->nChunksPerBlock + i)) { in yaffs_BlockBecameDirty() 2161 TENDSTR), blockNo, i)); in yaffs_BlockBecameDirty() 2175 yaffs_ClearChunkBits(dev, blockNo); in yaffs_BlockBecameDirty() 2178 (TSTR("Erased block %d" TENDSTR), blockNo)); in yaffs_BlockBecameDirty() 2182 yaffs_RetireBlock(dev, blockNo); in yaffs_BlockBecameDirty() [all …]
|
/external/yaffs2/yaffs2/direct/ |
D | yaffs_fileem2k.c | 278 int yflash_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo) in yflash_MarkNANDBlockBad() argument 288 h = filedisk.handle[(blockNo / ( BLOCKS_PER_HANDLE))]; in yflash_MarkNANDBlockBad() 289 …lseek(h,((blockNo % BLOCKS_PER_HANDLE) * dev->nChunksPerBlock) * PAGE_SIZE + PAGE_DATA_SIZE,SEEK_S… in yflash_MarkNANDBlockBad() 348 int yflash_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState *state, int… in yflash_QueryNANDBlock() argument 355 chunkNo = blockNo * dev->nChunksPerBlock; in yflash_QueryNANDBlock()
|
D | yaffs_ramem2k.c | 315 int nandemul2k_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo) in nandemul2k_MarkNANDBlockBad() argument 320 x = &ned.block[blockNo]->page[0]->data[PAGE_DATA_SIZE]; in nandemul2k_MarkNANDBlockBad() 329 int nandemul2k_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState *state,… in nandemul2k_QueryNANDBlock() argument 336 chunkNo = blockNo * dev->nChunksPerBlock; in nandemul2k_QueryNANDBlock()
|
D | yaffs_flashif.h | 32 int yflash_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo); 33 int yflash_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState *state, int…
|
D | yaffs_flashif.c | 217 int yflash_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo) in yflash_MarkNANDBlockBad() argument 222 int yflash_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState *state, int… in yflash_QueryNANDBlock() argument
|
D | yaffs_ramdisk.h | 31 int yramdisk_QueryNANDBlock(yaffs_Device *dev, int blockNo, yaffs_BlockState *state, int *sequenceN…
|
/external/bzip2/ |
D | compress.c | 609 if (s->blockNo > 1) s->numZ = 0; in BZ2_compressBlock() 614 s->blockNo, s->blockCRC, s->combinedCRC, s->nblock ); in BZ2_compressBlock() 622 if (s->blockNo == 1) { in BZ2_compressBlock()
|
D | bzlib_private.h | 250 Int32 blockNo; member
|
D | bzlib.c | 125 s->blockNo++; in prepare_new_block() 189 s->blockNo = 0; in BZ_API()
|