Lines Matching refs:sdebug_fake_rw
833 static int sdebug_fake_rw = DEF_FAKE_RW; variable
1225 return 0 == sdebug_fake_rw && in scsi_debug_lbp()
1231 return sdebug_fake_rw == 0 && sdebug_atomic_wr; in scsi_debug_atomic_write()
3423 if (sdebug_fake_rw) { in devip2sip()
6580 module_param_named(fake_rw, sdebug_fake_rw, int, S_IRUGO | S_IWUSR);
7029 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_fake_rw); in fake_rw_show()
7041 sdebug_fake_rw = (sdebug_fake_rw > 0); in fake_rw_store()
7042 if (sdebug_fake_rw == n) in fake_rw_store()
7068 sdebug_fake_rw = n; in fake_rw_store()
7367 bool want_phs = (sdebug_fake_rw == 0) && sdebug_per_host_store; in add_host_store()
7482 if (sdebug_fake_rw == 0 && !xa_empty(per_store_ap)) { in map_show()
7715 bool want_store = (sdebug_fake_rw == 0); in scsi_debug_init()
8665 if (sdebug_fake_rw && (F_FAKE_RW & flags)) in scsi_debug_queuecommand()