Searched refs:sdebug_lun_am (Results 1 – 1 of 1) sorted by relevance
898 static enum sam_lun_addr_method sdebug_lun_am = SAM_LUN_AM_PERIPHERAL; variable5048 if (lun > 1 && sdebug_lun_am == SAM_LUN_AM_FLAT) in resp_report_luns()7174 return scnprintf(buf, PAGE_SIZE, "%d\n", (int)sdebug_lun_am); in lun_format_show()7189 changed = ((int)sdebug_lun_am != n); in lun_format_store()7190 sdebug_lun_am = n; in lun_format_store()7771 sdebug_lun_am = sdebug_lun_am_i; in scsi_debug_init()7772 if (sdebug_lun_am > SAM_LUN_AM_FLAT) { in scsi_debug_init()7773 pr_warn("Invalid LUN format %u, using default\n", (int)sdebug_lun_am); in scsi_debug_init()7774 sdebug_lun_am = SAM_LUN_AM_PERIPHERAL; in scsi_debug_init()7782 sdebug_lun_am = SAM_LUN_AM_FLAT; in scsi_debug_init()