Searched refs:sdebug_lun_am (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_debug.c | 794 static enum sam_lun_addr_method sdebug_lun_am = SAM_LUN_AM_PERIPHERAL; variable 4215 if (lun > 1 && sdebug_lun_am == SAM_LUN_AM_FLAT) in resp_report_luns() 6155 return scnprintf(buf, PAGE_SIZE, "%d\n", (int)sdebug_lun_am); in lun_format_show() 6170 changed = ((int)sdebug_lun_am != n); in lun_format_store() 6171 sdebug_lun_am = n; in lun_format_store() 6722 sdebug_lun_am = sdebug_lun_am_i; in scsi_debug_init() 6723 if (sdebug_lun_am > SAM_LUN_AM_FLAT) { in scsi_debug_init() 6724 pr_warn("Invalid LUN format %u, using default\n", (int)sdebug_lun_am); in scsi_debug_init() 6725 sdebug_lun_am = SAM_LUN_AM_PERIPHERAL; in scsi_debug_init() 6733 sdebug_lun_am in scsi_debug_init() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_debug.c | 803 static enum sam_lun_addr_method sdebug_lun_am = SAM_LUN_AM_PERIPHERAL; variable 4365 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 in scsi_debug_init() [all...] |
Completed in 20 milliseconds