Lines Matching refs:scsi_debug_opts
537 static int scsi_debug_opts = DEF_OPTS; variable
744 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in mk_sense_invalid_fld()
764 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in mk_sense_buffer()
778 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) { in scsi_debug_ioctl()
814 bool debug = !!(SCSI_DEBUG_OPT_NOISE & scsi_debug_opts); in check_readiness()
1890 if (SCSI_DEBUG_OPT_N_WCE & scsi_debug_opts) in resp_caching_pg()
2180 (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)) in resp_mode_select()
2628 if ((SCSI_DEBUG_OPT_MEDIUM_ERR & scsi_debug_opts) && in resp_read_dt0()
2961 (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)) in resp_write_dt0()
3018 (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)) in resp_write_same()
3200 (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)) in resp_comp_write()
3621 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in scsi_debug_slave_alloc()
3632 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in scsi_debug_slave_configure()
3652 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in scsi_debug_slave_destroy()
3772 (SCSI_DEBUG_OPT_ALL_NOISE & scsi_debug_opts)) in scsi_debug_abort()
3788 if (SCSI_DEBUG_OPT_ALL_NOISE & scsi_debug_opts) in scsi_debug_device_reset()
3811 if (SCSI_DEBUG_OPT_ALL_NOISE & scsi_debug_opts) in scsi_debug_target_reset()
3826 if (SCSI_DEBUG_OPT_RESET_NOISE & scsi_debug_opts) in scsi_debug_target_reset()
3845 if (SCSI_DEBUG_OPT_ALL_NOISE & scsi_debug_opts) in scsi_debug_bus_reset()
3859 if (SCSI_DEBUG_OPT_RESET_NOISE & scsi_debug_opts) in scsi_debug_bus_reset()
3873 if ((SCpnt->device) && (SCSI_DEBUG_OPT_ALL_NOISE & scsi_debug_opts)) in scsi_debug_host_reset()
3885 if (SCSI_DEBUG_OPT_RESET_NOISE & scsi_debug_opts) in scsi_debug_host_reset()
3957 if ((scsi_result) && (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)) in schedule_resp()
3975 (SCSI_DEBUG_OPT_RARE_TSF & scsi_debug_opts) && in schedule_resp()
3991 else if (SCSI_DEBUG_OPT_ALL_TSF & scsi_debug_opts) in schedule_resp()
3993 if (SCSI_DEBUG_OPT_Q_NOISE & scsi_debug_opts) in schedule_resp()
4051 if ((SCSI_DEBUG_OPT_Q_NOISE & scsi_debug_opts) && in schedule_resp()
4096 module_param_named(opts, scsi_debug_opts, int, S_IRUGO | S_IWUSR);
4165 scsi_debug_opts); in scsi_debug_info()
4182 scsi_debug_opts = opts; in scsi_debug_write_info()
4198 ((SCSI_DEBUG_OPT_RARE_TSF & scsi_debug_opts) ? in scsi_debug_show_info()
4213 scsi_debug_num_tgts, scsi_debug_dev_size_mb, scsi_debug_opts, in scsi_debug_show_info()
4299 return scnprintf(buf, PAGE_SIZE, "0x%x\n", scsi_debug_opts); in opts_show()
4319 scsi_debug_opts = opts; in opts_store()
4961 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) { in scsi_debug_init()
5107 if (SCSI_DEBUG_OPT_Q_NOISE & scsi_debug_opts) { in sdebug_change_qdepth()
5127 if (SCSI_DEBUG_OPT_TIMEOUT & scsi_debug_opts) in check_inject()
5129 else if (SCSI_DEBUG_OPT_MAC_TIMEOUT & scsi_debug_opts && in check_inject()
5133 int opts = scsi_debug_opts; in check_inject()
5167 bool debug = !!(SCSI_DEBUG_OPT_NOISE & scsi_debug_opts); in scsi_debug_queuecommand()
5170 if (debug && !(SCSI_DEBUG_OPT_NO_CDB_NOISE & scsi_debug_opts)) { in scsi_debug_queuecommand()
5402 opts = scsi_debug_opts; in sdebug_driver_probe()