Lines Matching full:verbose
76 sg_cmds_open_device(const char * device_name, bool read_only, int verbose) in sg_cmds_open_device() argument
78 return scsi_pt_open_device(device_name, read_only, verbose); in sg_cmds_open_device()
84 sg_cmds_open_flags(const char * device_name, int flags, int verbose) in sg_cmds_open_flags() argument
86 return scsi_pt_open_flags(device_name, flags, verbose); in sg_cmds_open_flags()
111 int slen, bool noisy, int verbose, int * o_sense_cat) in sg_cmds_process_helper() argument
148 if (verbose || n) { in sg_cmds_process_helper()
153 sg_get_sense_str(NULL, sbp, slen, (verbose > 1), in sg_cmds_process_helper()
158 if ((verbose > 2) || check_data_in || (act_din_x > 0)) in sg_cmds_process_helper()
161 if (verbose) in sg_cmds_process_helper()
169 if ((verbose > 1) && (act_dout_x > 0)) in sg_cmds_process_helper()
172 if (verbose) in sg_cmds_process_helper()
187 * stderr); depending on the 'noisy' and 'verbose' settings. Returns -2 for
195 int pt_res, bool noisy, int verbose, int * o_sense_cat) in sg_cmds_process_resp() argument
206 if (verbose) in sg_cmds_process_resp()
210 if (verbose > 2) in sg_cmds_process_resp()
214 } else if (noisy && (0 == verbose)) in sg_cmds_process_resp()
218 if (noisy || verbose) in sg_cmds_process_resp()
230 if (verbose > 2) { in sg_cmds_process_resp()
264 if ((verbose > 1) && (act_din_x >= 0)) in sg_cmds_process_resp()
267 if (verbose) in sg_cmds_process_resp()
276 if ((verbose > 1) && (act_dout_x >= 0)) in sg_cmds_process_resp()
279 if (verbose) in sg_cmds_process_resp()
313 if (verbose || noisy) { in sg_cmds_process_resp()
321 noisy, verbose, o_sense_cat); in sg_cmds_process_resp()
323 if (verbose || noisy) { in sg_cmds_process_resp()
338 slen, noisy, verbose, in sg_cmds_process_resp()
345 if (verbose || noisy) { in sg_cmds_process_resp()
380 int * residp, bool noisy, int verbose) in sg_ll_inquiry_com() argument
391 if (verbose) in sg_ll_inquiry_com()
402 if (verbose) { in sg_ll_inquiry_com()
429 ptvp = construct_scsi_pt_obj_with_fd(sg_fd, verbose); in sg_ll_inquiry_com()
436 res = do_scsi_pt(ptvp, -1, timeout_secs, verbose); in sg_ll_inquiry_com()
437 ret = sg_cmds_process_resp(ptvp, inquiry_s, res, noisy, verbose, in sg_ll_inquiry_com()
458 if (verbose) in sg_ll_inquiry_com()
493 int mx_resp_len, bool noisy, int verbose) in sg_ll_inquiry() argument
497 verbose); in sg_ll_inquiry()
514 bool noisy, int verbose) in sg_ll_inquiry_v2() argument
518 verbose); in sg_ll_inquiry_v2()
527 int verbose) in sg_ll_inquiry_pt() argument
530 timeout_secs, residp, noisy, verbose); in sg_ll_inquiry_pt()
538 bool noisy, int verbose) in sg_simple_inquiry() argument
555 SAFE_STD_INQ_RESP_LEN, 0, NULL, noisy, verbose); in sg_simple_inquiry()
580 bool noisy, int verbose) in sg_simple_inquiry_pt() argument
597 SAFE_STD_INQ_RESP_LEN, 0, NULL, noisy, verbose); in sg_simple_inquiry_pt()
627 int * progress, bool noisy, int verbose) in sg_ll_test_unit_ready_com() argument
637 if (verbose) { in sg_ll_test_unit_ready_com()
655 ptvp = construct_scsi_pt_obj_with_fd(sg_fd, verbose); in sg_ll_test_unit_ready_com()
662 res = do_scsi_pt(ptvp, -1, DEF_PT_TIMEOUT, verbose); in sg_ll_test_unit_ready_com()
663 ret = sg_cmds_process_resp(ptvp, tur_s, res, noisy, verbose, &sense_cat); in sg_ll_test_unit_ready_com()
701 int * progress, bool noisy, int verbose) in sg_ll_test_unit_ready_progress_pt() argument
704 verbose); in sg_ll_test_unit_ready_progress_pt()
709 bool noisy, int verbose) in sg_ll_test_unit_ready_progress() argument
712 verbose); in sg_ll_test_unit_ready_progress()
720 sg_ll_test_unit_ready(int sg_fd, int pack_id, bool noisy, int verbose) in sg_ll_test_unit_ready() argument
723 verbose); in sg_ll_test_unit_ready()
728 int verbose) in sg_ll_test_unit_ready_pt() argument
730 return sg_ll_test_unit_ready_com(ptvp, -1, pack_id, NULL, noisy, verbose); in sg_ll_test_unit_ready_pt()
737 void * resp, int mx_resp_len, bool noisy, int verbose) in sg_ll_request_sense_com() argument
755 if (verbose) { in sg_ll_request_sense_com()
773 ptvp = construct_scsi_pt_obj_with_fd(sg_fd, verbose); in sg_ll_request_sense_com()
780 res = do_scsi_pt(ptvp, -1, DEF_PT_TIMEOUT, verbose); in sg_ll_request_sense_com()
781 ret = sg_cmds_process_resp(ptvp, rq_s, res, noisy, verbose, &sense_cat); in sg_ll_request_sense_com()
799 if (verbose) in sg_ll_request_sense_com()
818 bool noisy, int verbose) in sg_ll_request_sense() argument
821 noisy, verbose); in sg_ll_request_sense()
826 int mx_resp_len, bool noisy, int verbose) in sg_ll_request_sense_pt() argument
829 noisy, verbose); in sg_ll_request_sense_pt()
836 void * resp, int mx_resp_len, bool noisy, int verbose) in sg_ll_report_luns_com() argument
849 if (verbose) { in sg_ll_report_luns_com()
874 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose); in sg_ll_report_luns_com()
875 ret = sg_cmds_process_resp(ptvp, report_luns_s, res, noisy, verbose, in sg_ll_report_luns_com()
911 bool noisy, int verbose) in sg_ll_report_luns() argument
914 mx_resp_len, noisy, verbose); in sg_ll_report_luns()
923 void * resp, int mx_resp_len, bool noisy, int verbose) in sg_ll_report_luns_pt() argument
926 mx_resp_len, noisy, verbose); in sg_ll_report_luns_pt()