Home
last modified time | relevance | path

Searched refs:nspare (Results 1 – 2 of 2) sorted by relevance

/fs/yaffs2/
Dyaffs_tagscompat.c250 struct yaffs_NANDSpare nspare; in yaffs_ReadChunkFromNAND() local
252 memset(&nspare, 0, sizeof(nspare)); in yaffs_ReadChunkFromNAND()
255 (yaffs_Spare *) &nspare); in yaffs_ReadChunkFromNAND()
256 memcpy(spare, &nspare, sizeof(yaffs_Spare)); in yaffs_ReadChunkFromNAND()
258 if (nspare.eccres1 > 0) { in yaffs_ReadChunkFromNAND()
263 } else if (nspare.eccres1 < 0) { in yaffs_ReadChunkFromNAND()
270 if (nspare.eccres2 > 0) { in yaffs_ReadChunkFromNAND()
275 } else if (nspare.eccres2 < 0) { in yaffs_ReadChunkFromNAND()
282 if (nspare.eccres1 || nspare.eccres2) { in yaffs_ReadChunkFromNAND()
287 if (nspare.eccres1 < 0 || nspare.eccres2 < 0) in yaffs_ReadChunkFromNAND()
[all …]
Dyaffs_mtdif.c56 struct yaffs_NANDSpare *nspare = (struct yaffs_NANDSpare *)spare; in translate_oob2spare() local
70 nspare->eccres1 = nspare->eccres2 = 0; /* FIXME */ in translate_oob2spare()