Searched refs:nDataBytesPerChunk (Results 1 – 9 of 9) sorted by relevance
/external/yaffs2/yaffs2/ |
D | yaffs_mtdif.c | 84 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd_WriteChunkToNAND() 89 retval = mtd->write(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_WriteChunkToNAND() 100 ops.len = data ? dev->nDataBytesPerChunk : ops.ooblen; in nandmtd_WriteChunkToNAND() 112 mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_WriteChunkToNAND() 117 mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_WriteChunkToNAND() 123 mtd->write(mtd, addr, dev->nDataBytesPerChunk, &dummy, in nandmtd_WriteChunkToNAND() 148 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd_ReadChunkFromNAND() 153 retval = mtd->read(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_ReadChunkFromNAND() 163 ops.len = data ? dev->nDataBytesPerChunk : ops.ooblen; in nandmtd_ReadChunkFromNAND() 181 mtd->read_ecc(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_ReadChunkFromNAND() [all …]
|
D | yaffs_mtdif2.c | 131 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd2_WriteChunkWithTagsToNAND() 150 ops.len = dev->nDataBytesPerChunk; in nandmtd2_WriteChunkWithTagsToNAND() 165 mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk, in nandmtd2_WriteChunkWithTagsToNAND() 169 mtd->write(mtd, addr, dev->nDataBytesPerChunk, &dummy, in nandmtd2_WriteChunkWithTagsToNAND() 190 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd2_ReadChunkWithTagsFromNAND() 201 retval = mtd->read(mtd, addr, dev->nDataBytesPerChunk, in nandmtd2_ReadChunkWithTagsFromNAND() 206 ops.len = data ? dev->nDataBytesPerChunk : mtd->oobsize; in nandmtd2_ReadChunkWithTagsFromNAND() 216 mtd->read_ecc(mtd, addr, dev->nDataBytesPerChunk, in nandmtd2_ReadChunkWithTagsFromNAND() 221 mtd->read_ecc(mtd, addr, dev->nDataBytesPerChunk, in nandmtd2_ReadChunkWithTagsFromNAND() 228 mtd->read(mtd, addr, dev->nDataBytesPerChunk, &dummy, [all …]
|
D | yaffs_checkptrw.c | 138 dev->checkpointBuffer = YMALLOC_DMA(dev->nDataBytesPerChunk); in yaffs_CheckpointOpen() 154 memset(dev->checkpointBuffer,0,dev->nDataBytesPerChunk); in yaffs_CheckpointOpen() 162 dev->checkpointByteOffset = dev->nDataBytesPerChunk; in yaffs_CheckpointOpen() 194 tags.byteCount = dev->nDataBytesPerChunk; in yaffs_CheckpointFlushBuffer() 213 memset(dev->checkpointBuffer,0,dev->nDataBytesPerChunk); in yaffs_CheckpointFlushBuffer() 244 dev->checkpointByteOffset >= dev->nDataBytesPerChunk) in yaffs_CheckpointWrite() 270 dev->checkpointByteOffset >= dev->nDataBytesPerChunk) { in yaffs_CheckpointRead()
|
D | yaffs_guts.c | 216 return YMALLOC(dev->nDataBytesPerChunk); in yaffs_GetTempBuffer() 378 if (!yaffs_CheckFF(data, dev->nDataBytesPerChunk) || tags.chunkUsed) { in yaffs_CheckChunkErased() 2699 (fSize + in->myDev->nDataBytesPerChunk - 1) / in->myDev->nDataBytesPerChunk; in yaffs_CheckFileSanity() 2872 memset(buffer, 0, in->myDev->nDataBytesPerChunk); in yaffs_ReadChunkDataFromObject() 3023 memset(buffer, 0xFF, dev->nDataBytesPerChunk); in yaffs_UpdateObjectHeader() 3904 if ((start + n) < dev->nDataBytesPerChunk) { in yaffs_ReadDataFromFile() 3907 nToCopy = dev->nDataBytesPerChunk - start; in yaffs_ReadDataFromFile() 3916 if (cache || nToCopy != dev->nDataBytesPerChunk) { in yaffs_ReadDataFromFile() 3977 memcpy(buffer, localBuffer, dev->nDataBytesPerChunk); in yaffs_ReadDataFromFile() 4028 if ((start + n) < dev->nDataBytesPerChunk) { in yaffs_WriteDataToFile() [all …]
|
D | yaffs_fs.c | 1297 if (sb->s_blocksize > dev->nDataBytesPerChunk) { 1302 dev->nDataBytesPerChunk); 1305 dev->nDataBytesPerChunk); 1310 1) * dev->nChunksPerBlock * (dev->nDataBytesPerChunk / 1313 yaffs_GetNumberOfFreeChunks(dev) * (dev->nDataBytesPerChunk / 1642 dev->nDataBytesPerChunk = YAFFS_BYTES_PER_CHUNK; 1657 dev->nDataBytesPerChunk = mtd->writesize; 1660 dev->nDataBytesPerChunk = mtd->oobblock;
|
D | yaffs_guts.h | 530 int nDataBytesPerChunk; /* Should be a power of 2 >= 512 */ member
|
/external/yaffs2/yaffs2/direct/ |
D | yaffscfg2k.c | 88 ramDev.nDataBytesPerChunk = 512; in yaffs_StartUp() 103 bootDev.nDataBytesPerChunk = 512; in yaffs_StartUp() 126 flashDev.nDataBytesPerChunk = 2048; in yaffs_StartUp() 152 ram2kDev.nDataBytesPerChunk = nandemul2k_GetBytesPerChunk(); in yaffs_StartUp()
|
D | yaffs_fileem2k.c | 158 written = write(h,data,dev->nDataBytesPerChunk); in yflash_WriteChunkWithTagsToNAND() 165 if(written != dev->nDataBytesPerChunk) return YAFFS_FAIL; in yflash_WriteChunkWithTagsToNAND() 226 nread = read(h,data,dev->nDataBytesPerChunk); in yflash_ReadChunkWithTagsFromNAND() 228 if(nread != dev->nDataBytesPerChunk) return YAFFS_FAIL; in yflash_ReadChunkWithTagsFromNAND()
|
D | yaffsfs.c | 854 buf->st_blksize = obj->myDev->nDataBytesPerChunk; in yaffsfs_DoStat() 1132 retVal *= dev->nDataBytesPerChunk; in yaffs_freespace()
|