Searched refs:sdebug_every_nth (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_debug.c | 739 static int sdebug_every_nth = DEF_EVERY_NTH; variable 5366 modulo = abs(sdebug_every_nth); in tweak_cmnd_count() 5385 if (sdebug_every_nth == 0) in inject_on_this_cmd() 5387 return (atomic_read(&sdebug_cmnd_count) % abs(sdebug_every_nth)) == 0; in inject_on_this_cmd() 5437 } else if (unlikely(sdebug_every_nth && in schedule_resp() 5442 abs(sdebug_every_nth))) { in schedule_resp() 5615 module_param_named(every_nth, sdebug_every_nth, int, S_IRUGO | S_IWUSR); 5778 if (sdebug_every_nth != 0) in scsi_debug_write_info() 5796 sdebug_opts, sdebug_every_nth); in scsi_debug_show_info() 6123 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_every_nth); in every_nth_show() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_debug.c | 748 static int sdebug_every_nth = DEF_EVERY_NTH; variable 5475 modulo = abs(sdebug_every_nth); in tweak_cmnd_count() 5497 if (sdebug_every_nth == 0) in inject_on_this_cmd() 5499 return (atomic_read(&sdebug_cmnd_count) % abs(sdebug_every_nth)) == 0; in inject_on_this_cmd() 5562 if (unlikely(sdebug_every_nth && (SDEBUG_OPT_RARE_TSF & sdebug_opts) && in schedule_resp() 5569 abs(sdebug_every_nth))) { in schedule_resp() 5714 module_param_named(every_nth, sdebug_every_nth, int, S_IRUGO | S_IWUSR); 5883 if (sdebug_every_nth != 0) in scsi_debug_write_info() 5926 sdebug_opts, sdebug_every_nth); in scsi_debug_show_info() 6263 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_every_nth); in every_nth_show() [all...] |
Completed in 19 milliseconds