Searched refs:sdebug_lun_am (Results 1 – 1 of 1) sorted by relevance
804 static enum sam_lun_addr_method sdebug_lun_am = SAM_LUN_AM_PERIPHERAL; variable4377 if (lun > 1 && sdebug_lun_am == SAM_LUN_AM_FLAT) in resp_report_luns()6374 return scnprintf(buf, PAGE_SIZE, "%d\n", (int)sdebug_lun_am); in lun_format_show()6389 changed = ((int)sdebug_lun_am != n); in lun_format_store()6390 sdebug_lun_am = n; in lun_format_store()6959 sdebug_lun_am = sdebug_lun_am_i; in scsi_debug_init()6960 if (sdebug_lun_am > SAM_LUN_AM_FLAT) { in scsi_debug_init()6961 pr_warn("Invalid LUN format %u, using default\n", (int)sdebug_lun_am); in scsi_debug_init()6962 sdebug_lun_am = SAM_LUN_AM_PERIPHERAL; in scsi_debug_init()6970 sdebug_lun_am = SAM_LUN_AM_FLAT; in scsi_debug_init()