Lines Matching refs:printf

43         printf("not enough arguments:\n");  in cmd_bio()
45 printf("%s list\n", argv[0].str); in cmd_bio()
46 printf("%s read <device> <address> <offset> <len>\n", argv[0].str); in cmd_bio()
47 printf("%s write <device> <address> <offset> <len>\n", argv[0].str); in cmd_bio()
48 printf("%s dump <device> <offset> <len>\n", argv[0].str); in cmd_bio()
49 printf("%s erase <device> <offset> <len>\n", argv[0].str); in cmd_bio()
50 printf("%s ioctl <device> <request> <arg>\n", argv[0].str); in cmd_bio()
51 printf("%s remove <device>\n", argv[0].str); in cmd_bio()
52 printf("%s test <device>\n", argv[0].str); in cmd_bio()
54 printf("%s partscan <device> [offset]\n", argv[0].str); in cmd_bio()
57 printf("%s crc32 <device> <offset> <len> [repeat]\n", argv[0].str); in cmd_bio()
73 printf("error opening block device\n"); in cmd_bio()
94 printf("error opening block device\n"); in cmd_bio()
108 printf("not enough arguments:\n"); in cmd_bio()
117 printf("error opening block device\n"); in cmd_bio()
156 printf("error opening block device\n"); in cmd_bio()
176 printf("error opening block device\n"); in cmd_bio()
191 printf("error opening block device\n"); in cmd_bio()
202 printf("error opening block device\n"); in cmd_bio()
230 printf("error opening block device\n"); in cmd_bio()
248 printf("error reading at offset 0x%lx\n", offset + pos); in cmd_bio()
257 printf("crc 0x%08lx\n", crc); in cmd_bio()
265 printf("unrecognized subcommand\n"); in cmd_bio()
300 printf("erasing device...\n"); in erase_test()
309 printf("validating erase...\n"); in erase_test()
353 printf("Sampling the device %d times.\n", n_samples); in sub_erase_test()
400 printf("Could not allocate %zu bytes for a temporary buffer. " in memory_mapped_test()
407 printf("Could not allocate %zu bytes for a temporary reference " in memory_mapped_test()
416 printf("Expected to erase at least %zu bytes but only erased %ld. " in memory_mapped_test()
432 printf("Error while writing test pattern to device. Expected to write " in memory_mapped_test()
443 printf("Device does not support linear mode. Aborting.\n"); in memory_mapped_test()
447 printf("BIO_IOCTL_GET_MEM_MAP returned error %d. Aborting.\n", in memory_mapped_test()
456 printf("Data mismatch at position %d. Expected %d got %d. " in memory_mapped_test()
467 printf("BIO_IOCTL_GET_MEM_MAP returned error %d. Aborting.\n", in memory_mapped_test()
477 printf("Expected to read %zu bytes, actually read %ld. Aborting.\n", in memory_mapped_test()
487 printf("Data mismatch at position %d. Expected %d got %d. " in memory_mapped_test()
504 printf("error %ld performing erase test\n", num_errors); in bio_test_device()
507 printf("discovered %ld error(s) while testing erase.\n", num_errors); in bio_test_device()
510 printf("not continuing to test writes.\n"); in bio_test_device()
515 printf("Discovered %ld error(s) while testing write.\n", num_errors); in bio_test_device()
520 printf ("Testing sub-erase...\n"); in bio_test_device()
523 printf("Discovered errors while testing sub-erase.\n"); in bio_test_device()
526 printf("No errors while testing sub-erase.\n"); in bio_test_device()
529 printf("Testing memory mapped mode...\n"); in bio_test_device()
532 printf("Memory mapped test returned error %d\n", test_result); in bio_test_device()
534 printf("Memory mapped mode tests returned successfully\n"); in bio_test_device()