Searched refs:sdebug_lun_am (Results 1 – 1 of 1) sorted by relevance
803 static enum sam_lun_addr_method sdebug_lun_am = SAM_LUN_AM_PERIPHERAL; variable4365 if (lun > 1 && sdebug_lun_am == SAM_LUN_AM_FLAT) in resp_report_luns()6295 return scnprintf(buf, PAGE_SIZE, "%d\n", (int)sdebug_lun_am); in lun_format_show()6310 changed = ((int)sdebug_lun_am != n); in lun_format_store()6311 sdebug_lun_am = n; in lun_format_store()6867 sdebug_lun_am = sdebug_lun_am_i; in scsi_debug_init()6868 if (sdebug_lun_am > SAM_LUN_AM_FLAT) { in scsi_debug_init()6869 pr_warn("Invalid LUN format %u, using default\n", (int)sdebug_lun_am); in scsi_debug_init()6870 sdebug_lun_am = SAM_LUN_AM_PERIPHERAL; in scsi_debug_init()6878 sdebug_lun_am = SAM_LUN_AM_FLAT; in scsi_debug_init()