Home
last modified time | relevance | path

Searched refs:YAFFS_BYTES_PER_CHUNK (Results 1 – 3 of 3) sorted by relevance

/external/yaffs2/yaffs2/
Dyaffs_tagscompat.c309 static __u8 cmpbuf[YAFFS_BYTES_PER_CHUNK]; in yaffs_CheckChunkErased()
310 static __u8 data[YAFFS_BYTES_PER_CHUNK]; in yaffs_CheckChunkErased()
318 memset(cmpbuf, 0xff, YAFFS_BYTES_PER_CHUNK); in yaffs_CheckChunkErased()
322 if (memcmp(cmpbuf, data, YAFFS_BYTES_PER_CHUNK)) in yaffs_CheckChunkErased()
382 if (memcmp(d0, d1, YAFFS_BYTES_PER_CHUNK) != 0 || in yaffs_VerifyCompare()
Dyaffs_guts.h48 #define YAFFS_BYTES_PER_CHUNK 512 macro
51 #define YAFFS_BYTES_PER_BLOCK (YAFFS_CHUNKS_PER_BLOCK*YAFFS_BYTES_PER_CHUNK)
122 __u8 data[YAFFS_BYTES_PER_CHUNK];
Dyaffs_fs.c1602 if (mtd->writesize < YAFFS_BYTES_PER_CHUNK ||
1604 if (mtd->oobblock < YAFFS_BYTES_PER_CHUNK ||
1638 nBlocks = mtd->size / (YAFFS_CHUNKS_PER_BLOCK * YAFFS_BYTES_PER_CHUNK);
1642 dev->nDataBytesPerChunk = YAFFS_BYTES_PER_CHUNK;