Searched refs:sdebug_ptype (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_debug.c | 758 static int sdebug_ptype = DEF_PTYPE; /* SCSI peripheral device type */ variable 1572 is_disk = (sdebug_ptype == TYPE_DISK); in resp_inquiry() 1581 pq_pdt = (sdebug_ptype & 0x1f); in resp_inquiry() 1709 } else if (sdebug_ptype == TYPE_TAPE) { /* SSC-4 rev 3 */ in resp_inquiry() 2337 is_disk = (sdebug_ptype == TYPE_DISK); in resp_mode_sense() 5649 module_param_named(ptype, sdebug_ptype, int, S_IRUGO | S_IWUSR); 5970 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_ptype); in ptype_show() 5978 if (sdebug_ptype == TYPE_ZBC) in ptype_store() 5984 sdebug_ptype = n; in ptype_store() 6776 if (sdebug_ptype in scsi_debug_init() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_debug.c | 766 static int sdebug_ptype = DEF_PTYPE; /* SCSI peripheral device type */ variable 1581 is_disk = (sdebug_ptype == TYPE_DISK); in resp_inquiry() 1590 pq_pdt = (sdebug_ptype & 0x1f); in resp_inquiry() 1718 } else if (sdebug_ptype == TYPE_TAPE) { /* SSC-4 rev 3 */ in resp_inquiry() 2346 is_disk = (sdebug_ptype == TYPE_DISK); in resp_mode_sense() 5749 module_param_named(ptype, sdebug_ptype, int, S_IRUGO | S_IWUSR); 6110 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_ptype); in ptype_show() 6118 if (sdebug_ptype == TYPE_ZBC) in ptype_store() 6124 sdebug_ptype = n; in ptype_store() 6914 if (sdebug_ptype in scsi_debug_init() [all...] |
Completed in 19 milliseconds