Searched refs:inq_result (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/scsi/ |
D | scsi_scan.c | 644 static int scsi_probe_lun(struct scsi_device *sdev, unsigned char *inq_result, in scsi_probe_lun() argument 675 memset(inq_result, 0, try_inquiry_len); in scsi_probe_lun() 678 inq_result, try_inquiry_len, &sshdr, in scsi_probe_lun() 714 scsi_sanitize_inquiry_string(&inq_result[8], 8); in scsi_probe_lun() 715 scsi_sanitize_inquiry_string(&inq_result[16], 16); in scsi_probe_lun() 716 scsi_sanitize_inquiry_string(&inq_result[32], 4); in scsi_probe_lun() 718 response_len = inq_result[4] + 5; in scsi_probe_lun() 729 *bflags = scsi_get_device_flags(sdev, &inq_result[8], in scsi_probe_lun() 730 &inq_result[16]); in scsi_probe_lun() 747 (inq_result[2] & 0x7) < 6) /* SPC-4 */ in scsi_probe_lun() [all …]
|
D | virtio_scsi.c | 339 char *inq_result = kmalloc(inq_result_len, GFP_KERNEL); in virtscsi_rescan_hotunplug() local 348 memset(inq_result, 0, inq_result_len); in virtscsi_rescan_hotunplug() 351 inq_result, inquiry_len, NULL, in virtscsi_rescan_hotunplug() 354 if (result == 0 && inq_result[0] >> 5) { in virtscsi_rescan_hotunplug() 368 kfree(inq_result); in virtscsi_rescan_hotunplug()
|