• Home
  • Raw
  • Download

Lines Matching refs:ebuff

368 static char ebuff[EBUFF_SZ];  variable
672 snprintf(ebuff, EBUFF_SZ, ME "Error closing %s ", in run_sg_scan_tests()
694 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
696 perror(ebuff); in run_sg_scan_tests()
703 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
706 perror(ebuff); in run_sg_scan_tests()
712 snprintf(ebuff, EBUFF_SZ, ME "device %s failed on scsi " in run_sg_scan_tests()
714 perror(ebuff); in run_sg_scan_tests()
721 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
724 perror(ebuff); in run_sg_scan_tests()
745 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
747 perror(ebuff); in run_sg_scan_tests()
784 snprintf(ebuff, EBUFF_SZ, ME "device %s writing, skip", in run_sg_scan_tests()
786 perror(ebuff); in run_sg_scan_tests()
792 snprintf(ebuff, EBUFF_SZ, ME "device %s reading, skip", in run_sg_scan_tests()
794 perror(ebuff); in run_sg_scan_tests()
926 char ebuff[EBUFF_SZ]; in do_logs() local
927 snprintf(ebuff, EBUFF_SZ, ME "ppc=%d, sp=%d, " in do_logs()
930 sg_chk_n_print3(ebuff, &io_hdr); in do_logs()
1497 snprintf(ebuff, EBUFF_SZ, ME "error opening file: %s", in show_scsi_logs()
1499 perror(ebuff); in show_scsi_logs()
2218 char ebuff[EBUFF_SZ]; in do_scsi_device_read_write() local
2269 snprintf(ebuff, EBUFF_SZ, in do_scsi_device_read_write()
2272 perror(ebuff); in do_scsi_device_read_write()
2298 snprintf(ebuff, EBUFF_SZ, in do_scsi_device_read_write()
2301 perror(ebuff); in do_scsi_device_read_write()
2308 snprintf(ebuff, EBUFF_SZ, in do_scsi_device_read_write()
2312 perror(ebuff); in do_scsi_device_read_write()
2331 snprintf(ebuff, EBUFF_SZ, in do_scsi_device_read_write()
2334 perror(ebuff); in do_scsi_device_read_write()
2358 snprintf(ebuff, EBUFF_SZ, in do_scsi_device_read_write()
2362 perror(ebuff); in do_scsi_device_read_write()
2367 snprintf(ebuff, EBUFF_SZ, in do_scsi_device_read_write()
2371 perror(ebuff); in do_scsi_device_read_write()
2380 snprintf(ebuff, EBUFF_SZ, in do_scsi_device_read_write()
2384 perror(ebuff); in do_scsi_device_read_write()
2527 snprintf(ebuff, EBUFF_SZ, in do_scsi_device_read_write()
2529 perror(ebuff); in do_scsi_device_read_write()
2584 snprintf(ebuff, EBUFF_SZ, in do_scsi_device_read_write()
2586 perror(ebuff); in do_scsi_device_read_write()
2713 char ebuff[EBUFF_SZ]; in do_scsi_inq() local
2714 snprintf(ebuff, EBUFF_SZ, "Inquiry error, CmdDt=%d, " in do_scsi_inq()
2717 sg_chk_n_print3(ebuff, &io_hdr); in do_scsi_inq()
2754 snprintf(ebuff, EBUFF_SZ, "sg_inq: error opening file: %s", in do_scsi_inquiry()
2756 perror(ebuff); in do_scsi_inquiry()
3108 snprintf(ebuff, EBUFF_SZ, "Error closing %s ", fname); in show_scsi_maps()
3128 snprintf(ebuff, EBUFF_SZ, "Error opening %s ", in show_scsi_maps()
3130 perror(ebuff); in show_scsi_maps()
3137 snprintf(ebuff, EBUFF_SZ, in show_scsi_maps()
3139 perror(ebuff); in show_scsi_maps()
3283 snprintf(ebuff, EBUFF_SZ, "Error closing %s ", fname); in scan_dev_type()
3313 snprintf(ebuff, EBUFF_SZ, "Error opening %s ", in scan_dev_type()
3315 perror(ebuff); in scan_dev_type()
3323 snprintf(ebuff, EBUFF_SZ, in scan_dev_type()
3326 perror(ebuff); in scan_dev_type()
3335 snprintf(ebuff, EBUFF_SZ, in scan_dev_type()
3338 perror(ebuff); in scan_dev_type()
3400 char ebuff[EBUFF_SZ]; in do_simple_inq() local
3401 snprintf(ebuff, EBUFF_SZ, "Inquiry error "); in do_simple_inq()
3402 sg_chk_n_print3(ebuff, &io_hdr); in do_simple_inq()
3455 char ebuff[EBUFF_SZ]; in do_modes() local
3456 snprintf(ebuff, EBUFF_SZ, "Mode sense error, dbd=%d " in do_modes()
3459 sg_chk_n_print3(ebuff, &io_hdr); in do_modes()
3663 char ebuff[EBUFF_SZ]; in show_scsi_modes() local
3691 snprintf(ebuff, EBUFF_SZ, ME "error opening file: %s", in show_scsi_modes()
3693 perror(ebuff); in show_scsi_modes()
3795 snprintf(ebuff, EBUFF_SZ, in show_scsi_modes()
3809 (descp ? descp : ebuff), ucp[1], in show_scsi_modes()
3820 (descp ? descp : ebuff), in show_scsi_modes()
4154 char ebuff[EBUFF_SZ]; in show_scsi_read_capacity() local
4168 snprintf(ebuff, EBUFF_SZ, ME "error opening file: %s", in show_scsi_read_capacity()
4170 perror(ebuff); in show_scsi_read_capacity()
4310 char ebuff[EBUFF_SZ]; in do_senddiag() local
4311 snprintf(ebuff, EBUFF_SZ, in do_senddiag()
4315 sg_chk_n_print3(ebuff, &io_hdr); in do_senddiag()
4357 char ebuff[EBUFF_SZ]; in do_rcvdiag() local
4358 snprintf(ebuff, EBUFF_SZ, in do_rcvdiag()
4361 sg_chk_n_print3(ebuff, &io_hdr); in do_rcvdiag()
4416 char ebuff[EBUFF_SZ]; in do_modes_0a() local
4417 snprintf(ebuff, EBUFF_SZ, "Mode sense error, dbd=%d, " in do_modes_0a()
4419 sg_chk_n_print3(ebuff, &io_hdr); in do_modes_0a()
4443 snprintf(ebuff, EBUFF_SZ, ME "error opening file: %s", in do_scsi_send_diagnostics()
4445 perror(ebuff); in do_scsi_send_diagnostics()
4957 char ebuff[EBUFF_SZ]; in do_scsi_test_unit_ready() local
4967 snprintf(ebuff, EBUFF_SZ, in do_scsi_test_unit_ready()
4969 perror(ebuff); in do_scsi_test_unit_ready()
5812 char ebuff[EBUFF_SZ]; in show_devices() local
5823 snprintf(ebuff, EBUFF_SZ, in show_devices()
5825 perror(ebuff); in show_devices()
5831 snprintf(ebuff, EBUFF_SZ, in show_devices()
5833 perror(ebuff); in show_devices()
5865 snprintf(ebuff, EBUFF_SZ, in show_devices()
5868 perror(ebuff); in show_devices()
5880 snprintf(ebuff, EBUFF_SZ, "SCSI(3) ioctl on %s failed", in show_devices()
5882 perror(ebuff); in show_devices()
5888 snprintf(ebuff, EBUFF_SZ, "SCSI(3) ioctl on %s failed", in show_devices()
5890 perror(ebuff); in show_devices()
6300 char ebuff[EBUFF_SZ]; in do_scsi_sgm_read_write() local
6326 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgm_read_write()
6328 perror(ebuff); in do_scsi_sgm_read_write()
6352 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgm_read_write()
6354 perror(ebuff); in do_scsi_sgm_read_write()
6359 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgm_read_write()
6361 perror(ebuff); in do_scsi_sgm_read_write()
6368 snprintf(ebuff, EBUFF_SZ, ME "couldn't skip to " in do_scsi_sgm_read_write()
6370 perror(ebuff); in do_scsi_sgm_read_write()
6385 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgm_read_write()
6388 perror(ebuff); in do_scsi_sgm_read_write()
6416 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgm_read_write()
6420 perror(ebuff); in do_scsi_sgm_read_write()
6431 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgm_read_write()
6435 perror(ebuff); in do_scsi_sgm_read_write()
6440 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgm_read_write()
6443 perror(ebuff); in do_scsi_sgm_read_write()
6452 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgm_read_write()
6456 perror(ebuff); in do_scsi_sgm_read_write()
6620 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgm_read_write()
6622 perror(ebuff); in do_scsi_sgm_read_write()
6665 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgm_read_write()
6667 perror(ebuff); in do_scsi_sgm_read_write()
7225 char ebuff[EBUFF_SZ]; in sg_finish_io() local
7227 snprintf(ebuff, EBUFF_SZ, in sg_finish_io()
7233 sg_chk_n_print3(ebuff, hp); in sg_finish_io()
7301 char ebuff[EBUFF_SZ]; in do_scsi_sgp_read_write() local
7338 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgp_read_write()
7341 perror(ebuff); in do_scsi_sgp_read_write()
7349 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgp_read_write()
7352 perror(ebuff); in do_scsi_sgp_read_write()
7360 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgp_read_write()
7364 perror(ebuff); in do_scsi_sgp_read_write()
7379 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgp_read_write()
7382 perror(ebuff); in do_scsi_sgp_read_write()
7396 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgp_read_write()
7400 perror(ebuff); in do_scsi_sgp_read_write()
7405 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgp_read_write()
7409 perror(ebuff); in do_scsi_sgp_read_write()
7419 snprintf(ebuff, EBUFF_SZ, in do_scsi_sgp_read_write()
7423 perror(ebuff); in do_scsi_sgp_read_write()