Home
last modified time | relevance | path

Searched refs:blockNo (Results 1 – 17 of 17) sorted by relevance

/external/yaffs2/yaffs2/
Dyaffs_nand.c88 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()
Dyaffs_mtdif2.c251 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 *
Dyaffs_mtdif2.h25 int nandmtd2_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
26 int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
Dyaffs_tagscompat.h35 int blockNo);
37 int blockNo, yaffs_BlockState *
Dyaffs_nand.h30 int yaffs_MarkBlockBad(yaffs_Device * dev, int blockNo);
33 int blockNo,
Dyaffs_nandemul2k.h32 int nandemul2k_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
33 int nandemul2k_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
Dyaffs_tagscompat.c502 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()
Dyaffs_guts.h582 int (*markNANDBlockBad) (struct yaffs_DeviceStruct * dev, int blockNo);
583 int (*queryNANDBlock) (struct yaffs_DeviceStruct * dev, int blockNo,
Dyaffs_guts.c80 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/
Dyaffs_fileem2k.c278 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()
Dyaffs_ramem2k.c315 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()
Dyaffs_flashif.h32 int yflash_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
33 int yflash_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState *state, int…
Dyaffs_flashif.c217 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
Dyaffs_ramdisk.h31 int yramdisk_QueryNANDBlock(yaffs_Device *dev, int blockNo, yaffs_BlockState *state, int *sequenceN…
/external/bzip2/
Dcompress.c609 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()
Dbzlib_private.h250 Int32 blockNo; member
Dbzlib.c125 s->blockNo++; in prepare_new_block()
189 s->blockNo = 0; in BZ_API()