Lines Matching refs:sdebug_num_tgts
638 static int sdebug_num_tgts = DEF_NUM_TGTS; /* targets per host */ variable
753 (sdebug_num_tgts > hpnt->this_id)) in sdebug_max_tgts_luns()
754 hpnt->max_id = sdebug_num_tgts + 1; in sdebug_max_tgts_luns()
756 hpnt->max_id = sdebug_num_tgts; in sdebug_max_tgts_luns()
4448 module_param_named(num_tgts, sdebug_num_tgts, int, S_IRUGO | S_IWUSR);
4582 sdebug_num_tgts, "shared (ram) ", sdebug_dev_size_mb, in scsi_debug_show_info()
4812 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_num_tgts); in num_tgts_show()
4820 sdebug_num_tgts = n; in num_tgts_store()
5479 devs_per_host = sdebug_num_tgts * sdebug_max_luns; in sdebug_add_adapter()
5802 if ((hpnt->this_id >= 0) && (sdebug_num_tgts > hpnt->this_id)) in sdebug_driver_probe()
5803 hpnt->max_id = sdebug_num_tgts + 1; in sdebug_driver_probe()
5805 hpnt->max_id = sdebug_num_tgts; in sdebug_driver_probe()