Lines Matching refs:sdebug_opts
649 static int sdebug_opts = DEF_OPTS; variable
2006 if (SDEBUG_OPT_N_WCE & sdebug_opts) in resp_caching_pg()
2743 if (unlikely((SDEBUG_OPT_MEDIUM_ERR & sdebug_opts) && in resp_read_dt0()
4117 if (SCpnt->device && (SDEBUG_OPT_ALL_NOISE & sdebug_opts)) in scsi_debug_abort()
4133 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_device_reset()
4155 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_target_reset()
4170 if (SDEBUG_OPT_RESET_NOISE & sdebug_opts) in scsi_debug_target_reset()
4189 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_bus_reset()
4203 if (SDEBUG_OPT_RESET_NOISE & sdebug_opts) in scsi_debug_bus_reset()
4217 if ((SCpnt->device) && (SDEBUG_OPT_ALL_NOISE & sdebug_opts)) in scsi_debug_host_reset()
4229 if (SDEBUG_OPT_RESET_NOISE & sdebug_opts) in scsi_debug_host_reset()
4329 sqcp->inj_recovered = !!(SDEBUG_OPT_RECOVERED_ERR & sdebug_opts); in setup_inject()
4330 sqcp->inj_transport = !!(SDEBUG_OPT_TRANSPORT_ERR & sdebug_opts); in setup_inject()
4331 sqcp->inj_dif = !!(SDEBUG_OPT_DIF_ERR & sdebug_opts); in setup_inject()
4332 sqcp->inj_dix = !!(SDEBUG_OPT_DIX_ERR & sdebug_opts); in setup_inject()
4333 sqcp->inj_short = !!(SDEBUG_OPT_SHORT_TRANSFER & sdebug_opts); in setup_inject()
4334 sqcp->inj_host_busy = !!(SDEBUG_OPT_HOST_BUSY & sdebug_opts); in setup_inject()
4335 sqcp->inj_cmd_abort = !!(SDEBUG_OPT_CMD_ABORT & sdebug_opts); in setup_inject()
4383 (SDEBUG_OPT_RARE_TSF & sdebug_opts) && in schedule_resp()
4399 else if (SDEBUG_OPT_ALL_TSF & sdebug_opts) in schedule_resp()
4401 if (SDEBUG_OPT_Q_NOISE & sdebug_opts) in schedule_resp()
4482 if (unlikely((SDEBUG_OPT_Q_NOISE & sdebug_opts) && in schedule_resp()
4539 module_param_named(opts, sdebug_opts, int, S_IRUGO | S_IWUSR);
4631 sdebug_dev_size_mb, sdebug_opts, submit_queues, in scsi_debug_info()
4650 sdebug_opts = opts; in scsi_debug_write_info()
4670 sdebug_opts, sdebug_every_nth); in scsi_debug_show_info()
4786 return scnprintf(buf, PAGE_SIZE, "0x%x\n", sdebug_opts); in opts_show()
4806 sdebug_opts = opts; in opts_store()
5643 if (SDEBUG_OPT_Q_NOISE & sdebug_opts) { in sdebug_change_qdepth()
5656 if (SDEBUG_OPT_TIMEOUT & sdebug_opts) in fake_timeout()
5658 else if (SDEBUG_OPT_MAC_TIMEOUT & sdebug_opts && in fake_timeout()
5667 return (sdebug_opts & SDEBUG_OPT_HOST_BUSY) && in fake_host_busy()
5693 !(SDEBUG_OPT_NO_CDB_NOISE & sdebug_opts))) { in scsi_debug_queuecommand()
5941 sdebug_verbose = !!(SDEBUG_OPT_NOISE & sdebug_opts); in sdebug_driver_probe()
5942 sdebug_any_injecting_opt = !!(SDEBUG_OPT_ALL_INJECTING & sdebug_opts); in sdebug_driver_probe()