Lines Matching refs:sdebug_opts

755 static int sdebug_opts = DEF_OPTS;  variable
2197 if (SDEBUG_OPT_N_WCE & sdebug_opts) in resp_caching_pg()
3169 if (unlikely((sdebug_opts & SDEBUG_OPT_SHORT_TRANSFER) && in resp_read_dt0()
3178 if (unlikely((SDEBUG_OPT_MEDIUM_ERR & sdebug_opts) && in resp_read_dt0()
3214 if (unlikely((sdebug_opts & SDEBUG_OPT_RECOV_DIF_DIX) && in resp_read_dt0()
3216 if (sdebug_opts & SDEBUG_OPT_RECOVERED_ERR) { in resp_read_dt0()
3220 } else if (sdebug_opts & SDEBUG_OPT_DIF_ERR) { in resp_read_dt0()
3225 } else if (SDEBUG_OPT_DIX_ERR & sdebug_opts) { in resp_read_dt0()
3506 if (unlikely((sdebug_opts & SDEBUG_OPT_RECOV_DIF_DIX) && in resp_write_dt0()
3508 if (sdebug_opts & SDEBUG_OPT_RECOVERED_ERR) { in resp_write_dt0()
3512 } else if (sdebug_opts & SDEBUG_OPT_DIF_ERR) { in resp_write_dt0()
3517 } else if (sdebug_opts & SDEBUG_OPT_DIX_ERR) { in resp_write_dt0()
3662 if (unlikely((sdebug_opts & SDEBUG_OPT_RECOV_DIF_DIX) && in resp_write_scat()
3664 if (sdebug_opts & SDEBUG_OPT_RECOVERED_ERR) { in resp_write_scat()
3669 } else if (sdebug_opts & SDEBUG_OPT_DIF_ERR) { in resp_write_scat()
3675 } else if (sdebug_opts & SDEBUG_OPT_DIX_ERR) { in resp_write_scat()
5140 if (SCpnt->device && (SDEBUG_OPT_ALL_NOISE & sdebug_opts)) in scsi_debug_abort()
5156 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_device_reset()
5178 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_target_reset()
5193 if (SDEBUG_OPT_RESET_NOISE & sdebug_opts) in scsi_debug_target_reset()
5212 if (SDEBUG_OPT_ALL_NOISE & sdebug_opts) in scsi_debug_bus_reset()
5226 if (SDEBUG_OPT_RESET_NOISE & sdebug_opts) in scsi_debug_bus_reset()
5240 if ((SCpnt->device) && (SDEBUG_OPT_ALL_NOISE & sdebug_opts)) in scsi_debug_host_reset()
5252 if (SDEBUG_OPT_RESET_NOISE & sdebug_opts) in scsi_debug_host_reset()
5399 (SDEBUG_OPT_RARE_TSF & sdebug_opts) && in schedule_resp()
5415 else if (SDEBUG_OPT_ALL_TSF & sdebug_opts) in schedule_resp()
5417 if (SDEBUG_OPT_Q_NOISE & sdebug_opts) in schedule_resp()
5462 if (cmnd->result == 0 && unlikely(sdebug_opts & SDEBUG_OPT_TRANSPORT_ERR)) { in schedule_resp()
5536 if (unlikely((sdebug_opts & SDEBUG_OPT_CMD_ABORT) && in schedule_resp()
5540 if (unlikely((sdebug_opts & SDEBUG_OPT_CMD_ABORT) && in schedule_resp()
5547 if (unlikely((SDEBUG_OPT_Q_NOISE & sdebug_opts) && scsi_result == device_qfull_result)) in schedule_resp()
5606 module_param_named(opts, sdebug_opts, int, S_IRUGO | S_IWUSR);
5717 sdebug_dev_size_mb, sdebug_opts, submit_queues, in scsi_debug_info()
5736 sdebug_opts = opts; in scsi_debug_write_info()
5757 sdebug_opts, sdebug_every_nth); in scsi_debug_show_info()
5901 return scnprintf(buf, PAGE_SIZE, "0x%x\n", sdebug_opts); in opts_show()
5921 sdebug_opts = opts; in opts_store()
7138 if (SDEBUG_OPT_Q_NOISE & sdebug_opts) { in sdebug_change_qdepth()
7151 if (SDEBUG_OPT_TIMEOUT & sdebug_opts) in fake_timeout()
7153 else if (SDEBUG_OPT_MAC_TIMEOUT & sdebug_opts && in fake_timeout()
7231 !(SDEBUG_OPT_NO_CDB_NOISE & sdebug_opts))) { in scsi_debug_queuecommand()
7247 if (unlikely(inject_now && (sdebug_opts & SDEBUG_OPT_HOST_BUSY))) in scsi_debug_queuecommand()
7483 sdebug_verbose = !!(SDEBUG_OPT_NOISE & sdebug_opts); in sdebug_driver_probe()
7484 sdebug_any_injecting_opt = !!(SDEBUG_OPT_ALL_INJECTING & sdebug_opts); in sdebug_driver_probe()