Lines Matching refs:sdebug_opts
847 static int sdebug_opts = DEF_OPTS; variable
2588 if (SDEBUG_OPT_N_WCE & sdebug_opts) in resp_caching_pg()
3936 if (unlikely((sdebug_opts & SDEBUG_OPT_SHORT_TRANSFER) && in resp_read_dt0()
3949 if (unlikely((SDEBUG_OPT_MEDIUM_ERR & sdebug_opts) && in resp_read_dt0()
4007 if (unlikely((sdebug_opts & SDEBUG_OPT_RECOV_DIF_DIX) && in resp_read_dt0()
4009 if (sdebug_opts & SDEBUG_OPT_RECOVERED_ERR) { in resp_read_dt0()
4013 } else if (sdebug_opts & SDEBUG_OPT_DIF_ERR) { in resp_read_dt0()
4018 } else if (SDEBUG_OPT_DIX_ERR & sdebug_opts) { in resp_read_dt0()
4310 if (unlikely((sdebug_opts & SDEBUG_OPT_RECOV_DIF_DIX) && in resp_write_dt0()
4312 if (sdebug_opts & SDEBUG_OPT_RECOVERED_ERR) { in resp_write_dt0()
4316 } else if (sdebug_opts & SDEBUG_OPT_DIF_ERR) { in resp_write_dt0()
4321 } else if (sdebug_opts & SDEBUG_OPT_DIX_ERR) { in resp_write_dt0()
4473 if (unlikely((sdebug_opts & SDEBUG_OPT_RECOV_DIF_DIX) && in resp_write_scat()
4475 if (sdebug_opts & SDEBUG_OPT_RECOVERED_ERR) { in resp_write_scat()
4480 } else if (sdebug_opts & SDEBUG_OPT_DIF_ERR) { in resp_write_scat()
4486 } else if (sdebug_opts & SDEBUG_OPT_DIX_ERR) { in resp_write_scat()
6085 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_abort()
6156 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_device_reset()
6193 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_target_reset()
6203 if (SDEBUG_OPT_RESET_NOISE & sdebug_opts) in scsi_debug_target_reset()
6225 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_bus_reset()
6233 if (SDEBUG_OPT_RESET_NOISE & sdebug_opts) in scsi_debug_bus_reset()
6246 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_host_reset()
6258 if (SDEBUG_OPT_RESET_NOISE & sdebug_opts) in scsi_debug_host_reset()
6427 if (unlikely(sdebug_every_nth && (SDEBUG_OPT_RARE_TSF & sdebug_opts) && in schedule_resp()
6438 if (unlikely(SDEBUG_OPT_Q_NOISE & sdebug_opts)) in schedule_resp()
6462 if (cmnd->result == 0 && unlikely(sdebug_opts & SDEBUG_OPT_TRANSPORT_ERR)) { in schedule_resp()
6528 if (unlikely((sdebug_opts & SDEBUG_OPT_CMD_ABORT) && in schedule_resp()
6611 module_param_named(opts, sdebug_opts, int, S_IRUGO | S_IWUSR);
6740 sdebug_dev_size_mb, sdebug_opts, submit_queues, in scsi_debug_info()
6759 sdebug_opts = opts; in scsi_debug_write_info()
6805 sdebug_opts, sdebug_every_nth); in scsi_debug_show_info()
6959 return scnprintf(buf, PAGE_SIZE, "0x%x\n", sdebug_opts); in opts_show()
6979 sdebug_opts = opts; in opts_store()
8237 if (SDEBUG_OPT_Q_NOISE & sdebug_opts) in sdebug_change_qdepth()
8248 if (SDEBUG_OPT_TIMEOUT & sdebug_opts) in fake_timeout()
8250 else if (SDEBUG_OPT_MAC_TIMEOUT & sdebug_opts && in fake_timeout()
8539 !(SDEBUG_OPT_NO_CDB_NOISE & sdebug_opts))) { in scsi_debug_queuecommand()
8555 if (unlikely(inject_now && (sdebug_opts & SDEBUG_OPT_HOST_BUSY))) in scsi_debug_queuecommand()
8853 sdebug_verbose = !!(SDEBUG_OPT_NOISE & sdebug_opts); in sdebug_driver_probe()
8854 sdebug_any_injecting_opt = !!(SDEBUG_OPT_ALL_INJECTING & sdebug_opts); in sdebug_driver_probe()