• Home
  • Raw
  • Download

Lines Matching refs:pr2serr

160         pr2serr("  remaining block count=%" PRId64 "\n", dd_count);  in print_stats()
161 pr2serr("%" PRId64 "+%d records in\n", in_full - in_partial, in_partial); in print_stats()
162 pr2serr("%" PRId64 "+%d records out\n", out_full - out_partial, in print_stats()
183 pr2serr("time to transfer data%s: %d.%06d secs", in calc_duration_throughput()
187 pr2serr(" at %.2f MB/sec\n", b / (a * 1000000.0)); in calc_duration_throughput()
189 pr2serr("\n"); in calc_duration_throughput()
202 pr2serr("Interrupted by signal,"); in interrupt_handler()
213 pr2serr("Progress report, continuing ...\n"); in siginfo_handler()
269 pr2serr("Usage: sgm_dd [bs=BS] [count=COUNT] [ibs=BS] [if=IFILE]" in usage()
274 pr2serr(" [bpt=BPT] [cdbsz=6|10|12|16] [dio=0|1] " in usage()
290 pr2serr(" iflag comma separated list from: [direct,dpo,dsync," in usage()
345 pr2serr(" number of blocks=%" PRId64 " [0x%" PRIx64 "], block " in scsi_read_capacity()
370 pr2serr(" [bgs64] number of blocks=%" PRId64 " [0x%" PRIx64 in read_blkdev_capacity()
382 pr2serr(" [bgs] number of blocks=%" PRId64 " [0x%" PRIx64 in read_blkdev_capacity()
390 pr2serr(" BLKSSZGET+BLKGETSIZE ioctl not available\n"); in read_blkdev_capacity()
418 pr2serr(ME "for 6 byte commands, maximum number of blocks is " in sg_build_scsi_cdb()
423 pr2serr(ME "for 6 byte commands, can't address blocks beyond " in sg_build_scsi_cdb()
428 pr2serr(ME "for 6 byte commands, neither dpo nor fua bits " in sg_build_scsi_cdb()
440 pr2serr(ME "for 10 byte commands, maximum number of blocks is " in sg_build_scsi_cdb()
460 pr2serr(ME "expected cdb size of 6, 10, 12, or 16 but got %d\n", in sg_build_scsi_cdb()
481 pr2serr(ME "bad rd cdb build, from_block=%" PRId64 ", blocks=%d\n", in sg_read()
502 pr2serr(" Read cdb: %s\n", in sg_read()
534 pr2serr(" duration=%u ms\n", io_hdr.duration); in sg_read()
559 pr2serr("duration=%u ms\n", io_hdr.duration); in sg_read()
577 pr2serr(ME "bad wr cdb build, to_block=%" PRId64 ", blocks=%d\n", in sg_write()
600 pr2serr(" Write cdb: %s\n", in sg_write()
632 pr2serr(" duration=%u ms\n", io_hdr.duration); in sg_write()
671 pr2serr("no flag found\n"); in process_flags()
696 pr2serr("unrecognised flag: %s\n", cp); in process_flags()
787 pr2serr(ME "bad argument to 'bpt'\n"); in main()
794 pr2serr(ME "bad argument to 'bs'\n"); in main()
800 pr2serr(ME "'cdbsz' expects 6, 10, 12, 16 or 32\n"); in main()
812 pr2serr(ME "bad argument to 'count'\n"); in main()
827 pr2serr(ME "bad argument to 'ibs'\n"); in main()
832 pr2serr("Second 'if=' argument??\n"); in main()
840 pr2serr(ME "bad argument to 'iflag'\n"); in main()
845 pr2serr("Second 'of=' argument??\n"); in main()
853 pr2serr(ME "bad argument to 'oflag'\n"); in main()
859 pr2serr(ME "bad argument to 'obs'\n"); in main()
865 pr2serr(ME "bad argument to 'seek'\n"); in main()
871 pr2serr(ME "bad argument to 'skip'\n"); in main()
901 pr2serr("Unrecognised short option in '%s', try '--help'\n", in main()
919 pr2serr("Unrecognized option '%s'\n", key); in main()
920 pr2serr("For more information use '--help'\n"); in main()
925 pr2serr("In DEBUG mode, "); in main()
927 pr2serr("but override: '-vV' given, zero verbose and continue\n"); in main()
932 pr2serr("set '-vv'\n"); in main()
935 pr2serr("keep verbose=%d\n", verbose); in main()
938 pr2serr("Not in DEBUG mode, so '-vV' has no special action\n"); in main()
941 pr2serr(ME ": %s\n", version_str); in main()
947 pr2serr("Assume default 'bs' ((logical) block size) of %d bytes\n", in main()
951 pr2serr("If 'ibs' or 'obs' given must be same as 'bs'\n"); in main()
956 pr2serr("skip and seek cannot be negative\n"); in main()
960 pr2serr("Can't use both append and seek switches\n"); in main()
964 pr2serr("bpt must be > 0 and <= %d\n", MAX_BPT_VALUE); in main()
974 pr2serr(ME "if=%s skip=%" PRId64 " of=%s seek=%" PRId64 " count=%" PRId64 in main()
987 pr2serr(" >> Input file type: %s\n", in main()
991 pr2serr(ME "unable to access %s\n", inf); in main()
994 pr2serr(ME "unable to use scsi tape device %s\n", inf); in main()
1013 pr2serr(ME "sg driver prior to 3.1.22\n"); in main()
1069 pr2serr(" >> skip: lseek64 SEEK_SET, byte offset=0x%" in main()
1078 pr2serr(" >> Output file type: %s\n", in main()
1082 pr2serr(ME "unable to use scsi tape device %s\n", outf); in main()
1102 pr2serr(ME "sg driver prior to 3.1.22\n"); in main()
1174 pr2serr(" >> seek: lseek64 SEEK_SET, byte offset=0x%" in main()
1180 pr2serr("Won't default both IFILE to stdin _and_ OFILE to as " in main()
1182 pr2serr("For more information use '--help'\n"); in main()
1190 pr2serr("Unit attention(in), continuing\n"); in main()
1193 pr2serr("Aborted command(in), continuing\n"); in main()
1198 pr2serr("Read capacity (if=%s): %s\n", inf, b); in main()
1203 pr2serr("Unable to read block capacity on %s\n", inf); in main()
1207 pr2serr("logical block size on %s confusion; bs=%d, from " in main()
1219 pr2serr("Unit attention(out), continuing\n"); in main()
1222 pr2serr("Aborted command(out), continuing\n"); in main()
1227 pr2serr("Read capacity (of=%s): %s\n", inf, b); in main()
1233 pr2serr("Unable to read block capacity on %s\n", outf); in main()
1237 pr2serr("logical block size on %s confusion: bs=%d, from " in main()
1245 pr2serr("Start of loop, count=%" PRId64 ", in_num_sect=%" PRId64 ", " in main()
1261 pr2serr("Couldn't calculate count, please give one\n"); in main()
1267 pr2serr("Note: SCSI command size increased to 16 bytes (for " in main()
1273 pr2serr("Note: SCSI command size increased to 16 bytes (for " in main()
1281 pr2serr(">>> dio only performed on 'of' side when 'if' is an sg " in main()
1291 pr2serr(">>> %s set to '0' but should be set to '1' for " in main()
1304 pr2serr("Not enough user memory\n"); in main()
1311 pr2serr("Start of loop, count=%" PRId64 ", blocks_per=%d\n", dd_count, in main()
1327 pr2serr("Since both 'if' and 'of' are sg devices, only do mmap-ed " in main()
1337 pr2serr("Unit attention or aborted command, continuing " in main()
1344 pr2serr("sg_read failed, skip=%" PRId64 "\n", skip); in main()
1356 pr2serr("read(unix): count=%d, res=%d\n", blocks * blk_sz, in main()
1387 pr2serr("Unit attention or aborted command, continuing (w)\n"); in main()
1394 pr2serr("sg_write failed, seek=%" PRId64 "\n", seek); in main()
1411 pr2serr("write(unix): count=%d, res=%d\n", blocks * blk_sz, in main()
1420 pr2serr("output file probably full, seek=%" PRId64 " ", seek); in main()
1440 pr2serr(">> Synchronizing cache on %s\n", outf); in main()
1443 pr2serr("Unit attention(out), continuing\n"); in main()
1448 pr2serr("Synchronize cache(out): %s\n", b); in main()
1463 pr2serr("Some error occurred,"); in main()
1469 pr2serr(">> Non-zero sum of residual counts=%d\n", sum_of_resids); in main()
1471 pr2serr(">> dio requested but _not_ done %d times\n", in main()