Lines Matching refs:printf

145         printf("Failed to get device handle: %s\n", zx_status_get_string(status));  in Initialize()
150 printf("Failed to open or query the device\n"); in Initialize()
155 printf("Failed to allocate VMO\n"); in Initialize()
171 printf("Page size: %d\nPages per block: %d\nTotal Blocks: %d\nOOB size: %d\nECC bits: %d\n" in ShowInfo()
188 printf("Failed to duplicate VMO\n"); in ReadPages()
197 printf("Failed to issue command to driver: %s\n", zx_status_get_string(io_status)); in ReadPages()
202 printf("Read to %d pages starting at %d failed with %s\n", count, first_page, in ReadPages()
208 printf("Read to %d pages starting at %d unable to correct all bit flips\n", count, in ReadPages()
213 printf("Read to %d pages starting at %d corrected %d errors\n", count, first_page, in ReadPages()
234 printf("."); in DumpPage()
239 printf("\n"); in DumpPage()
246 printf("\n"); in DumpPage()
249 printf("OOB:\n"); in DumpPage()
262 printf("Failed to issue erase command for block %d: %s\n", block, in EraseBlock()
268 printf("Erase block %d failed with %s\n", block, zx_status_get_string(status)); in EraseBlock()
283 printf("Failed to issue bind command\n"); in LoadBroker()
288 printf("Failed to bind broker\n"); in LoadBroker()
364 printf("%s\n", kUsageMessage); in GetOptions()
373 printf("Device needed\n"); in ValidateOptions()
374 printf("%s\n", kUsageMessage); in ValidateOptions()
379 printf("Only one action allowed\n"); in ValidateOptions()
384 printf("Provide either a block + page or an absolute page number\n"); in ValidateOptions()
389 printf("The operation works with blocks, not pages\n"); in ValidateOptions()
394 printf("Nothing to do\n"); in ValidateOptions()
399 printf("Save requires a file\n");\ in ValidateOptions()
404 printf("Count not supported for this operation\n"); in ValidateOptions()
412 printf("Page not within a block:\n"); in ValidateOptionsWithNand()
417 printf("Block not within device:\n"); in ValidateOptionsWithNand()
422 printf("Page not within device:\n"); in ValidateOptionsWithNand()
428 printf("Erasing the restricted area is not a good idea, sorry\n"); in ValidateOptionsWithNand()
455 printf("Unable to find any table\n"); in FindBadBlocks()
470 printf("\nRead failed for block %u\n", block); in ReadCheck()
477 printf("\nMismatched reads on block %u\n", block); in ReadCheck()
481 printf("Block %u\r", block); in ReadCheck()
483 printf("\ndone\n"); in ReadCheck()
491 printf("Unable to open destination\n"); in Save()
508 printf("\nRead failed for block %u\n", block); in Save()
512 printf("\nFailed to write data for block %u\n", block); in Save()
516 printf("Block %u\r", block); in Save()
520 printf("\nFailed to write oob\n"); in Save()
524 printf("\ndone\n"); in Save()
535 printf("\ndone\n"); in Erase()
544 printf("%s\n", kUsageMessage); in main()
554 printf("Unable to open the nand device\n"); in main()
579 printf("To read page %d\n", config.abs_page); in main()
587 printf("About to erase %d block(s) starting at block %d. Press y to confirm\n", in main()
597 printf("Checking blocks...\n"); in main()
602 printf("Saving blocks...\n"); in main()