Searched refs:statusfile (Results 1 – 1 of 1) sorted by relevance
/system/core/toolbox/ |
D | nandread.c | 30 FILE *statusfile = NULL; in nandread_main() local 118 statusfile = fopen(statusfilename, "w+"); in nandread_main() 119 if (!statusfile) { in nandread_main() 250 fprintf(statusfile, "%08" PRIx64 ": ecc corrected\n", opos); in nandread_main() 252 fprintf(statusfile, "%08" PRIx64 ": ecc failed\n", opos); in nandread_main() 254 fprintf(statusfile, "%08" PRIx64 ": badblock\n", opos); in nandread_main() 256 fprintf(statusfile, "%08" PRIx64 ": read error\n", opos); in nandread_main() 272 fprintf(statusfile, "read %d pages, %d empty\n", page_count, empty_pages); in nandread_main() 273 fprintf(statusfile, "total ecc corrected, %u\n", ecc.corrected - initial_ecc.corrected); in nandread_main() 274 fprintf(statusfile, "total ecc failed, %u\n", ecc.failed - initial_ecc.failed); in nandread_main() [all …]
|