Searched refs:YAFFS_BYTES_PER_CHUNK (Results 1 – 3 of 3) sorted by relevance
309 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()
48 #define YAFFS_BYTES_PER_CHUNK 512 macro51 #define YAFFS_BYTES_PER_BLOCK (YAFFS_CHUNKS_PER_BLOCK*YAFFS_BYTES_PER_CHUNK)122 __u8 data[YAFFS_BYTES_PER_CHUNK];
1602 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;