Lines Matching refs:scsi_debug_opts
540 static int scsi_debug_opts = DEF_OPTS; variable
747 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in mk_sense_invalid_fld()
767 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in mk_sense_buffer()
781 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) { in scsi_debug_ioctl()
817 bool debug = !!(SCSI_DEBUG_OPT_NOISE & scsi_debug_opts); in check_readiness()
1892 if (SCSI_DEBUG_OPT_N_WCE & scsi_debug_opts) in resp_caching_pg()
2182 (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)) in resp_mode_select()
2625 if ((SCSI_DEBUG_OPT_MEDIUM_ERR & scsi_debug_opts) && in resp_read_dt0()
2958 (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)) in resp_write_dt0()
3015 (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)) in resp_write_same()
3197 (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)) in resp_comp_write()
3617 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in scsi_debug_slave_alloc()
3628 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in scsi_debug_slave_configure()
3648 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in scsi_debug_slave_destroy()
3768 (SCSI_DEBUG_OPT_ALL_NOISE & scsi_debug_opts)) in scsi_debug_abort()
3784 if (SCSI_DEBUG_OPT_ALL_NOISE & scsi_debug_opts) in scsi_debug_device_reset()
3807 if (SCSI_DEBUG_OPT_ALL_NOISE & scsi_debug_opts) in scsi_debug_target_reset()
3822 if (SCSI_DEBUG_OPT_RESET_NOISE & scsi_debug_opts) in scsi_debug_target_reset()
3841 if (SCSI_DEBUG_OPT_ALL_NOISE & scsi_debug_opts) in scsi_debug_bus_reset()
3855 if (SCSI_DEBUG_OPT_RESET_NOISE & scsi_debug_opts) in scsi_debug_bus_reset()
3869 if ((SCpnt->device) && (SCSI_DEBUG_OPT_ALL_NOISE & scsi_debug_opts)) in scsi_debug_host_reset()
3881 if (SCSI_DEBUG_OPT_RESET_NOISE & scsi_debug_opts) in scsi_debug_host_reset()
3958 if ((scsi_result) && (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)) in schedule_resp()
3976 (SCSI_DEBUG_OPT_RARE_TSF & scsi_debug_opts) && in schedule_resp()
3992 else if (SCSI_DEBUG_OPT_ALL_TSF & scsi_debug_opts) in schedule_resp()
3994 if (SCSI_DEBUG_OPT_Q_NOISE & scsi_debug_opts) in schedule_resp()
4052 if ((SCSI_DEBUG_OPT_Q_NOISE & scsi_debug_opts) && in schedule_resp()
4097 module_param_named(opts, scsi_debug_opts, int, S_IRUGO | S_IWUSR);
4166 scsi_debug_opts); in scsi_debug_info()
4183 scsi_debug_opts = opts; in scsi_debug_write_info()
4199 ((SCSI_DEBUG_OPT_RARE_TSF & scsi_debug_opts) ? in scsi_debug_show_info()
4214 scsi_debug_num_tgts, scsi_debug_dev_size_mb, scsi_debug_opts, in scsi_debug_show_info()
4300 return scnprintf(buf, PAGE_SIZE, "0x%x\n", scsi_debug_opts); in opts_show()
4320 scsi_debug_opts = opts; in opts_store()
4955 if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts) in scsi_debug_init()
5094 if (SCSI_DEBUG_OPT_Q_NOISE & scsi_debug_opts) { in sdebug_change_qdepth()
5114 if (SCSI_DEBUG_OPT_TIMEOUT & scsi_debug_opts) in check_inject()
5116 else if (SCSI_DEBUG_OPT_MAC_TIMEOUT & scsi_debug_opts && in check_inject()
5120 int opts = scsi_debug_opts; in check_inject()
5154 bool debug = !!(SCSI_DEBUG_OPT_NOISE & scsi_debug_opts); in scsi_debug_queuecommand()
5157 if (debug && !(SCSI_DEBUG_OPT_NO_CDB_NOISE & scsi_debug_opts)) { in scsi_debug_queuecommand()
5390 opts = scsi_debug_opts; in sdebug_driver_probe()