Lines Matching defs:ecc_stats
316 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats;
318 return sysfs_emit(buf, "%u\n", ecc_stats->corrected);
326 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats;
328 return sysfs_emit(buf, "%u\n", ecc_stats->failed);
336 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats;
338 return sysfs_emit(buf, "%u\n", ecc_stats->badblocks);
346 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats;
348 return sysfs_emit(buf, "%u\n", ecc_stats->bbtblocks);
1583 diff = master->ecc_stats;
1588 mtd->ecc_stats.failed += diff.failed;
1589 mtd->ecc_stats.corrected += diff.corrected;
1790 struct mtd_ecc_stats old_stats = master->ecc_stats;
2451 mtd->ecc_stats.badblocks++;